- ASP.NET Core 6
- Entity Framework Core 6
- ASP.NET Core Identity with JWT
- ASP.NET Core web API documentation with Swagger / OpenAPI
- Localization (English/Myanmar)
- AutoMapper
- FluentValidation
- NUnit, FluentAssertions, Moq & Respawn
- REST API Responses Consistent
- Tests Projects for All Layers
This will contain all entities, enums, exceptions, interfaces, types and logic specific to the domain layer.
This layer contains all application logic. It is dependent on the domain layer, but has no dependencies on any other layer or project. This layer defines interfaces that are implemented by outside layers. For example, if the application need to access a notification service, a new interface would be added to application and an implementation would be created within infrastructure.
This layer contains classes for accessing external resources such as file systems, web services, smtp, and so on. These classes should be based on interfaces defined within the application layer.
dotnet ef migrations add initmigration --context ApplicationDbContext --project .\Infrastructure\Infrastructure.csproj --startup-project .\WebAPI\WebAPI.csproj
dotnet ef database update --context ApplicationDbContext --project .\Infrastructure\Infrastructure.csproj --startup-project .\WebAPI\WebAPI.csproj