I have created a web api through dotnet core 2.1.
I have used ASPNETCORE_ENVIRONMENT variables in launchsettings.json file. my launchsettings.json file is as below. I