Quantcast
Channel: URF - Unit of Work & (extensible/generic) Repositories Framework
Viewing all articles
Browse latest Browse all 1539

Updated Wiki: Documentation

$
0
0

Quick bootstrap steps for integrating the framework into your project

  1. Download the source code, compile and run all the unit tests
  2. Review integration test e.g. Northwind.Test.IntegrationTests.CustomerRepositoryTest.cs, this is the most comprehensive tests and will run against a database, which illustrates most of the core features of the framework. If time permits review the other integration tests as well, this shouldn't take more than 15 minutes.
  3. Review Northwind.Web.Api.CustomerControllers.cs, this illustrates how to leverage the framework in ASP.NET MVC for all typical CRUD like activity.
  4. Review Northwind.Web.UnityConfig.cs, this illustrates DI/IoC configuration of the framework, most importantly Singleton like behavior that the IDataContext that is bound to the lifecycle of an HttpRequest, this is needed regardless of which brand or type of DI/IoC framework you are using.


v3.3 (docs updated - 12/2/2014)
Adding Custom Repositories
Repeatable Integration Tests with Northwind Test Db & Seed Data
Using Framework in ASP.NET MVC 5 with EF, AngularJS & Kendo UI
Find Object by Primary Key(s)
Inserting a Complex Object Graph
Deep Loading a Complex Object Graph
Performing Async Selects with Includes and Sorting
Object Graph State(s) while Disconnected or Between different DataContext(s)
Query Against Entity Framework or IQueryable Directly

v3.2 (docs updated - 9/23/2014)
Quick CRUD Samples in LINQPad
Transactions, Scope, Commits and Rollbacks
Quick Setup in ASP.NET MVC 5 (Video) Walkthrough
ASP.NET MVC Controller & DI/IoC (DbContext Singleton Behavior Registration)
Services Pattern Example (Business Layer Fascade)
Adding Custom Queries to Repository
Encapsulating Query Logic with the Query Object Pattern (Reusable Queries)
Invoking Stored Procedures with Service Pattern Examples

v2.x (docs updated - 3/12/2014)
Generic Unit of Work & Extensible Repository in ASP.NET MVC & Entity Framework

v1.x (docs updated - 1/7/2014)
Generic Unit of Work and Repository Introduction & Overview

Guidance and/or Support
Discussions
Issues
Subscribe to Updates





Viewing all articles
Browse latest Browse all 1539

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>