This is an example of implementing an Enhanced Generic Repository pattern in .NET. The project includes implementation of Entity Framework with generic repository including specification pattern an selector pattern.
Selector pattern is a novel approach for Type-Safe Data Selection in generic repository. Read more
- .NET 8 installed on your computer. You can download .NET 8 from the official website (https://dotnet.microsoft.com/download/dotnet/8.0).
- An integrated development environment (IDE) to write your code
- Git installed on your computer.
-
Clone the project.
git clone https://github.com/haritha99ch/GenericRepositoryPattern-Example.git
-
Install all the dependencies.
dotnet restore
-
Build the project.
dotnet build
-
Run the project.
dotnet run --project ./src/Example.Presentation/