OnionAPI - VS Template to Scaffold Clean Architecture NetCore WebAPI, EF, CQRS, MediatR, AutoMapper

Опубликовано: 07 Октябрь 2024
на канале: Fuji Nguyen
917
10

Visual Studio template to generate a Clean Architecture ASP.NET Core REST API solution with boilerplate code for advanced features such as data filtering, sorting, paging, and shaping.

The template can be downloaded from https://marketplace.visualstudio.com/...

For detailed instructions to scaffold a new ASP.NET Core WebAPI project and the location of sample source code repo in Github, visit my blog on the Medium
  / rapid-prototype-asp-net-core-rest-api-usin...  

The Visual Studio template creates loosely-coupled and inverted-dependency architecture with good design patterns and practices.

ASP.NET CORE 3.1 — a framework for creating RESTful services, also known as web APIs, using C#

Repository Pattern — abstraction layer between the data access layer and the controller

CQRS (Command and Query Responsibility Segregation) Pattern — separating read and update operations for a data store to maximize performance, scalability, and security

Entity Framework Core —a lightweight, extensible, open-source, and cross-platform version of the popular Entity Framework data access technology

Swagger — industry standard for REST API documentation and testing

Bogus — providing realistic, easy to use mock data .NET library for rapid REST API design and testing