An Implementation of Onion Architecture with ASP.NET Core 5 Web API. 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.
git clone https://github.com/raihanM95/OnionArchitecture.git
Your Solution Template is Ready!
Next, open up WebApi/appsettings.json to change the connection strings and Run these commands to update the database.
update-database
- ASP.NET Core 5 Web API
- .NET Core 3.1 Libraries
- Visual Studio 2019 Community and above
- .NET Core 5 SDK and above
- Basic Understanding of Architectures and Clean Code Principles
- Facebook Page - Raihan Mahmud RAM
- Facebook - Raihan Mahmud RAM
- Twitter - Raihan Mahmud RAM
- Linkedin - Raihan Mahmud RAM
raihanM95/OnionArchitecture Project is licensed with the MIT License.