Setting Asp.Net Core Environment Variables via web.config in IIS
Deploying Asp.Net Core apps to IIS via dotnet-publish-iis and using web.config files to setup environment variables for the dotnet process. Here's how to set them for multiple environments…