-
Notifications
You must be signed in to change notification settings - Fork 3
Environment Configurations
dwivedi-ankita edited this page Sep 8, 2021
·
5 revisions
ASPNETCORE_ENVIRONMENT is an environment variable, which ASP.NET Core uses to identify the runtime environment. ASP.NET Core configuration system uses it to load different configurations for different stages of application like Development, Staging & Production, etc.
To run in Development mode make changes as shown below,
To run in Production mode make changes as shown below,
The Environment Variable used is visible on Swagger UI :