docker-compose up -d --build
copy .env.example .env(after build, inside app container)
App
docker-compose exec app bashDatabase
docker-compose exec db bash
RUN
docker-compose exec app bashRUN
dotnet run --urls http://0.0.0.0:80ordotnet watch run --urls http://0.0.0.0:80
GET /api/ping
{
"data": {
"message": "Pong!"
}
}
Entity Framework https://learn.microsoft.com/en-us/ef/core/cli/dotnet
Scaffolding https://learn.microsoft.com/en-us/aspnet/core/fundamentals/tools/dotnet-aspnet-codegenerator