Skip to content

raihanM95/RepositoryPattern

Repository files navigation

Repository Pattern


code-size Build Status release stars licenses


An Implementation of Repository Pattern with ASP.NET Core 3.1 Web MVC. With this Open-Source Template, we create an abstraction layer between the data access and the business logic layer of an application. By using it, we are promoting a more loosely coupled approach to access our data from the database. Also, the code is cleaner and easier to maintain and reuse. Data access logic is in a separate class, or sets of classes called a repository, with the responsibility of persisting the application’s business model.

Check out the GitHub to learn more about this Open Source Project.

Getting Started

Download the Extension

Make sure Visual Studio 2019 is installed on your machine with the latest SDK. Download from Visual Studio Marketplace. Install it on your machine.

Follow these Steps to get started.

Screen

Your Solution Template is Ready!

Screen

Next, open up Web/appsettings.json to change the connection strings and Run these commands to update the database.

update-database

Technologies

  • ASP.NET Core 3.1 Web
  • .NET Core 3.1 Libraries

Prerequisites

  • Visual Studio 2019 Community and above
  • .NET Core 3.1 SDK and above
  • Basic Understanding of Architectures and Clean Code Principles

About the Author

Raihan Mahmud

Licensing

raihanM95/RepositoryPattern Project is licensed with the MIT License.