Generic Unit of Work and Repositories (Lightweight Fluent) Framework with Sample Northwind ASP.NET MVC 5 Application
For questions and support please contact Le via Twitter @LeLong37.
You can stop creating a repository with all the same plumbing for every single domain entity now. :)
Live Demo Site
http://longle.azurewebsites.net/Spa/Product#/list
Unit of Work and Repository Quick-Start Video (Uploaded: 01/05/2012)
Note
Enable NuGet Package Restore on the Solution to download NuGet packages. Although this is exampled in ASP.NET MVC 5, the framework can be used with in Microsoft .NET technology stack e.g. WPF, WCF, Windows Services, etc.
Unit of Work & Repository Framework Road Map
v3.0 - Coming Soon!
- Building Object Query Pattern into Repositories
- nHibernate provider
v2.1 - Released 11/17/2013
- Mocked DbContext
- Mocked DbSet
- Sample Mocked Unit Test Project: Northind.Test
- DbContextBase API update to automatically reset Entity States after Unit Of Work Save
v2.0 - Released 10/09/2013
- Async methods Unit of Work and Repostiories - Ivan (@ifarkas)
- OData Async - Ivan (@ifarkas)
- Glimpse
- Glimpse EF6
- Northwind.Repostiory Project (layer) best practices for extending the Repositories
- Northwind.Services Project (layer), best practices for implementing business facade
- Refactored UX in Sample Application (see live demo)
v1.0 - Released 09/09/2013
- 655 downloads, 4121 views, thanks everyone for the all the feedback for v1.0, really helped with our road mapping.
Sample application
Visual Studio 2013, Entity Framework 6, Entity Framework for Sql Server CE, ASP.NET MVC 5, Kendo UI Web, OData, Entlib Unity 3. Sql Server CE was used for complete free hosting with Azure Website PaaS, you can change this to use Sql Server (Sql Server LocalDb is included) if needed.