Last active
April 12, 2021 19:06
-
-
Save manoj-choudhari-git/232f4aa8759a964e5ff1b46c254017c7 to your computer and use it in GitHub Desktop.
Set environment variable in web.config file
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
<configuration> | |
<system.webServer> | |
<handlers> | |
<remove name="aspNetCore" /> | |
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" /> | |
</handlers> | |
<aspNetCore processPath="dotnet" arguments=".\SampleNetCoreApp.dll"> | |
<environmentVariables> | |
<environmentVariable name="ASPNETCORE_ENVIRONMENT" value="Development" /> | |
</environmentVariables> | |
</aspNetCore> | |
</system.webServer> | |
</configuration> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment