.NET version 8 application manually created with the help of ChatGPT4.
Run the setup script to install SQL Server (Docker or native Linux):
./setup.shIf you chose Docker in ./setup.sh, use these commands to manage the SQL Server container:
make db-start
make db-stop
make db-logsdotnet tool install --global dotnet-ef --version 8.*
make check
make migrateIf you're using native SQL Server (not Docker), ensure your connection string is set via User Secrets or an environment variable before running make migrate. See SECRETS.md.
make build
make docker-buildmake test
For active development (with hot reload):
make dev
For production-like testing (without hot reload):
make run
docker run -d \
-p 8080:80 \
--name dotnetwebapp \
dotnetwebapp:latestmake migrate