Month: February 2020
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.
We will follow CQRS (Command Query Responsibility Segregation) approach in handling our data. We will use MediatR to handle the mappings of request to response and FluentValidation for validation.
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.