Entity Framework DbContext Generic Repository Implementation Is Now On Nuget and GitHub
Couple of weeks ago, I have done two blog post on Generic Repository Pattern - Entity Framework, ASP.NET MVC and Unit Testing Triangle and How to Work With Generic Repositories on ASP.NET MVC and Unit Testing Them By Mocking and I have put up the https://github.com/tugberkugurlu/GenericRepoWebApp up on GitHub as well.
Now, the Generic Repository implementation has its own project separately: https://github.com/tugberkugurlu/GenericRepository. This is a simple project and has not much inside it but it is nice to have something static so that it can be improved along the way.
Here is a brief intro:
This little project contains a Generic Repository infrastructure for .NET applications and also a DbContext Implementation of that.
You can find more information about the main idea of this pattern and the usage on ASP.NET MVC along with Unit Testing by visiting the below links:
Generic Repository Pattern - Entity Framework, ASP.NET MVC and Unit Testing Triangle How to Work With Generic Repositories on ASP.NET MVC and Unit Testing Them By Mocking
How to Install
You can directly install this little project from Nuget. There are two packages:
Generic Repository Infrastructure For .NET Applications
Generic Repository DbContext Implementation
Under the master branch, you can find the latest stable release of this project.
Also, you can see the most up-to-date project under develop branch. Repository under develop branch is possibly the unstable version of the project.
You can also find all the releases under Tags section.
I await for your PRs :)