Genesys Source Framework for MVC is a pre-setup full-stack .NET Solution to house your reusable business objects, such as CustomerInfo. Add reusability to your software stack without the cost and uncertainty.
Switch branches/tags
Nothing to show
Clone or download
goodtocode 2018.09 Iteration – Genesys Source Framework 4
Please join us in welcoming Genesys Source Framework 4 which adds .NET
Core, EF Core and DDD-centric designs and patterns! Simultaneously
supports .NET Core and Standard PLUS .NET 4 and PCL. Genesys Source
Framework shares the same C# classes in both .NET Core and .NET “Full”
projects, reusing 80% of your code base.

Genesys Framework 4 is now available for download (genesyssource.com) or
in Visual Studio (Tools->Extensions-and-Updates.) Open-source,
cross-platform, full-stack business and domain object reusability made
easy!

What’s new in this release?
* Extensions
- Upgraded to .NET Core 2.1.2
- Nuget packages disallow trailing zeros in revision
- All projects now point to DatabaseServer.test.genesyssource.com

* Framework
- Upgraded to .NET Core 2.1.2
- IEntity<T> is no longer dependent on ISerializable<T>
- IEntitySerializable<T> now includes IEntity<T> : ISerializable<T>
combo
- IValue<T> is no longer dependent on ISerializable<T>
- IValueSerializable<T> now includes IValue<T> : ISerializable<T> combo
- IReadOperation, ICreateOperation, IUpdateOperation and
IDeleteOperation decoupled from ISerializable<T>
- Nuget packages disallow trailing zeros in revision
- All projects now point to DatabaseServer.test.genesyssource.com

* Framework for Core, MVC, Web API, UWP, WPF
- Upgraded to .NET Core 2.1.2
- Added Welcome.html welcome page
- All projects now point to DatabaseServer.test.genesyssource.com

What’s new in Genesys Source Framework 4?
* .NET Core and .NET 4.x fully supported in all projects
* EF Core 2 and EF 6 fully supported
* Simultaneous support for .NET Core and .NET “Full", without
multi-targeting!
* Re-org into DDD-centric layers and organization, including Domain
Objects and Models, Entity and Value objects.
* Inheritance approach replace by composition design patterns
* Repository design pattern formalized into Genesys.Framework.Repository
namespace
* Database Adapters created for EF to Table, to View and Stored
Procedure data access
Important: This is an interface-breaking release from Genesys Framework
3, bumping the version from 3.x to 4.x.

* eBook:
https://docs.genesyssource.com/products/Genesys-Framework/Genesys-Framework-eBook.pdf
* Welcome: https://www.genesyssource.com/Genesys-Framework/Welcome.html
* Release Notes: https://cloud.genesyssource.com/news

If you have any problems with your new cross-platform full-stack
business object reusability framework, feel free to contact us at
developers@genesyssource.com.

We’re here to help!
- Rob Good and the Dev Team

Other sites of interest...
* Genesys Source Framework:
http://cloud.genesyssource.com/genesys-framework
* Genesys Cloud Web Environment:
http://cloud.genesyssource.com/genesys-environments
* Quick-Start Guide:
http://docs.genesyssource.com/products/Genesys-Framework/Start-your-Genesys-Framework.pdf
* What is the Framework?
http://docs.genesyssource.com/products/Genesys-Framework/What-is-the-genesys-source-framework.pdf
* Docs and API Reference: http://docs.genesyssource.com
* Genesys Source on GitHub: http://www.github.com/GenesysSource
* Genesys Source in Visual Studio: http://bit.ly/2mHpFkf
Latest commit 259d81f Sep 27, 2018

README.md

Your Genesys Source Framework

Genesys Source Framework

One Framework - Your Data - Any Platform

Features & Benefits

Genesys Source Framework helps you create your business-object framework with standard C# knowledge and minimal plumbing. Your objects can migrate full-stack, and be consumed in MVC, Web API, WPF, UWP and Xamarin iOS/Android. Works with your existing SQL tables, and allows you to incrementally build your reusable Framework one object, one page at a time.

Projects included in the Genesys Source Framework

Framework.WebApp - MVC Web App project. Small starter MVC web app that creates, reads, updates and deletes your reusable Framework objects in this solution.

Framework.WebServices - Web API Web Services project. Small starter web service that creates, reads, updates and deletes your reusable Framework objects in this solution.

Framework.UniversalApp - UWP Universal App project. Small starter cross-platform app that creates, reads, updates and deletes your reusable Framework objects in this solution.

Framework.DesktopApp - WPF Desktop App project. Small starter desktop native app that creates, reads, updates and deletes your reusable Framework objects in this solution.

Framework.Models - Cross-Platform View Models project. Contains the Framework-level view models for http transport and .Serialize() built-in.

Framework.Interop - Cross-Platform Interface project. All projects reference this project so that interfaces are enforced in all tiers, and on mobile device as well.

Framework.DataAccess - Entity Framework (EF)/Data Access Object (DAO) project. Contains EF (database first), Data Access Objects, CRUDEntity, ModelEntity, EntityReader and EntityWriter.

Framework.Database - SQL Server Data Tools (SSDT) project. Contains view/SP layer for the Framework.DataAccess to consume.


More information

Critical Next Steps

❶ Install .NET Core SDK [download]
❷ Update Visual Studio [download]
❸ Build solution to verify .NET Core


Developer Next Steps

❶ Right-click -> Set as Startup Project

❷ Press F5 to run debugger

❸ Click Search to lookup a customer

Frequently Asked Questions

Where is the DB connection string?

  1. Open \App_Data\ConnectionStrings.json
  2. Change DefaultConnection to match your DB

Where is the Web Service Url?

  1. Open \App_Data\AppSettings.json
  2. Change MyWebService to match your Url

How to read from my database?

  1. Open Framework.Database\ CustomerCode\ Views\ CustomerInfo.sql
  2. Change this view to join to your "Person" table

How to write to my database?

  1. Open Framework.Database\ CustomerCode\ Stored Procedures\ CustomerInsert.sql
  2. Change this SP to insert to your "Person" table

How to publish the database?

  1. Open Framework.Database\Publish\PublishToDev.publish.xml (Ensure database connection is correct)
  2. Click Generate Script and review
  3. Click Publish to push changes to SQL

How to publish to a web server?

  1. In Solution Explorer, right-click Framework.WebApp
  2. Click Publish, the Publish window will display
  3. Click the Settings... link in the Publish window
  4. Change Target Location to the dev web site folder path, click Save
  5. Click Publish to publish the project to your development web server
GENESYSSOURCE

22431 Antonio, Suite B160-843
Rancho Santa Margarita, CA 92688
+1 949.544.1900

genesyssource.com | @genesyssource