A playground project that runs with docker-compose 2 containers:
- a .Net Core WebApi project using Entity Framework Core
- Sql Server 2019
docker pull mcr.microsoft.com/mssql/server:2019-latest
docker run -d --name sql_server -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=Pa55w0rd!' -p 1433:1433 mcr.microsoft.com/mssql/server:2019-latest
dotnet tool install --global dotnet-ef
export ConnectionStrings__WeatherForecastDb='Server=.;Initial Catalog=WeatherForecast;User ID=WeatherForecastUser;Password=Pa55w0rd!'
dotnet run