Created
April 12, 2021 15:23
-
-
Save manoj-choudhari-git/baaa27b6e29e6596da13fd4a7780d20c to your computer and use it in GitHub Desktop.
Set ASPNETCORE_ENVIRONMENT variable via launchSettings.json when application is running locally
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"iisSettings": { | |
"windowsAuthentication": false, | |
"anonymousAuthentication": true, | |
"iisExpress": { | |
"applicationUrl": "http://localhost:56455", | |
"sslPort": 44380 | |
} | |
}, | |
"profiles": { | |
"IIS Express": { | |
"commandName": "IISExpress", | |
"launchBrowser": true, | |
"environmentVariables": { | |
"ASPNETCORE_ENVIRONMENT": "Development" | |
} | |
}, | |
"SampleApp": { | |
"commandName": "Project", | |
"launchBrowser": true, | |
"applicationUrl": "https://localhost:5001;http://localhost:5000", | |
"environmentVariables": { | |
"ASPNETCORE_ENVIRONMENT": "Development" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment