![]() From what I gathered this is the convention, the name of the connection string key will start with one of these depending on the type of DB specified:Web App Connection Strings in the Azure Portal Once the ARM Template has been deployed, the Connection String will then show up in the Azure Portal under Application Settings for the App Service Web App. The convention depends on the Database engine the connection is aiming. As it turns out, Azure has a specific convention for naming connection strings sets from the Azure Function configuration. configuration.UseTransport().ConnectionString(CloudConfigurationManager.GetSetting("AzureServiceBusQueueConfig.ConnectionString")) Or tried to set the connection string name manually, which works again using the app.config but doesn't let the cscfg override. You can also use a connection string, but the objective was to remove the secrets. What you can also see in here that it only requires an endpoint to App Configuration because we are using Azure Identity's Default Credential to authentication. This Adds Azure App Configuration and Azure Key Vault to be able to leverage the Key Vault References. ![]() I was very surprised when he created an Azure SQL connection string named SqlConnection in his App Service and his app used it to connect to his Azure SQL database! This application was sourcing a connection string from the ConnectionStrings:SqlConnection configuration key. ![]() My colleague Dom had an ASP.NET Core web application deployed to an Azure App Service. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |