In this article I will create a web api using ASP.Net Core 3.1 and instead of using the Entity Framework which I usually do. I will try to use Dapper. We will also use Repository pattern and Unit of Work to manage our data.
Tag: Asp.Net Core
How to use NSwag in ASP.Net Core 3.1 to generate API client code.
AutoMapper is a library that can map your object properties with the other object. By default, It maps the value of one object to another by looking on the properties with similar names from the source object to destination object.
Now we will create our domain entities and implement EF Core auditing by saving the user who created the record and the last user who modified the record.
If you are not familiar with clean architecture, following along this article will help you understand it. I will try create my own implementation of clean architecture based on Jason Taylor's clean architecture.