In my ASP.NET 5 (core, vNext) application I have:
- appsettings.test.json
- appsettings.development.json
- appsettings.staging.json
- appsettings.production.json
- appsetings.cloud.json
Each of these include different connection strings (for different environments).
Problem
When I publish my application to Azure, it automatically uses the Production
environment.
I want to use the Cloud
environment, when I publish to Azure.
Note
I am using the one month free trial of Azure, which wont allow me to create deployment slots (I need to upgrade).
Question
So, is there anyways I can publish to Azure in my custom environment (Cloud
) by default?