Back
I have an ASP.NET MVC web application deployed to Azure. I'm reading my setting using the GetEnvironmentVariable(...) method.
The problem is that I can't find a way to define this environment variable in the Azure Portal. Where can I do that?
I don't want to have this stuff in a file. Data that will be there are credentials.
1. Go to your site in Azure Portal
2. Navigate to All settings
3. Go to Application settings
4. Include the new appsetting.{env}.json
5. Save your configurations.
31k questions
32.8k answers
501 comments
693 users