↓ Skip to main content

Repository Pattern

ASP.NET Core – MongoDB Repository Pattern & Unit Of Work

ASP.NET Core – MongoDB Repository Pattern & Unit Of Work

·5 mins
The implementation of generic repositories and Unit Of Work are complex tasks in MongoDB. The lack of mechanisms in the component hinders its adoption. See how to implement this article. Unit of Work Unit Of Work is a standard used to group one or more operations (usually database operations) into a single transaction or “unit of work”, so that all operations are approved or disapproved as one.

Repository Pattern – for the REST API

·7 mins
The Repository Pattern used to be the next big thing when it was used, but over time it got replaced by frameworks such as the Entity Framework and LINQ, which provided much more functionality and flexibility.