At the very least, most web applications will need the database connection string to be set as an environment variable. If you've used ASP.NET Core before, you'll know that it is incredibly easy to include environment-specific configuration settings using the appsettings.json and appsettings.{EnvironmentName}.json files. However, I wouldn't recommend storing sensitive variables such as connection strings and third-party API credentials in these configuration files. Instead, we can add them as environment variables directly within Azure, keeping them well away from source control and the eyes of developers who perhaps shouldn't have access to these settings.
First, we need to find out what our Azure connection ...