0 votes
1 view
in Azure by (19.8k points)

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 Answer

0 votes
by (9.5k points)

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. 

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...