Environment Configuration in ASP.NET Core — a practical guide to ASP.NET Core environments with clear examples you can reuse in real projects.
ASP & ASP.NET Tutorial Series (131/247). Prefer one article? Read the complete ASP.NET tutorial.
Short description
ASPNETCORE_ENVIRONMENT selects the environment.
Env tip
set ASPNETCORE_ENVIRONMENT=Development
dotnet run