Another way to specify the storage account for storing application-specific diagnostic data is by specifying the storage account in the ServiceConfiguration.cscfg file. This is also convenient as during the development time itself, you can specify the storage account. It is also possible to specify an altogether different storage account during development and production. The Azure storage account might also be configured as one of the dynamic environment variables during the deployment process.
The account information is defined as a connection string in a configuration setting. The following example shows the default connection string created for a new microservice project in Visual Studio:
<ConfigurationSettings ...