This will be use as a webapi template using a clean architecture.
- .Net 8
Installation
dotnet tool install --global dotnet-ef --version 8.0.2
Creation of the Migrations
dotnet ef migrations add InitialCreate -s API -p Persistence
- Microsoft.AspNetCore.OpenApi
- Microsoft.EntityFrameworkCore.Design
- Microsoft.AspNetCore.Authentication.JwtBearer
- AutoMapper.Extensions.Microsoft.DependencyInjection
- FluentValidation.AspNetCore
- MediatR.Extensions.Microsoft.DependencyInjection
- Microsoft.EntityFrameworkCore.Sqlite
- Microsoft.AspNetCore.Identity.EntityFrameworkCore
- Microsoft.EntityFrameworkCore.InMemory
- Moq
Watch the API
dotnet watch --no-hot-reload