Reputation: 2799
I try to use MVC6 and I want to use new feature "Changing configs by environment" in my apps
So as far as I understand I can choose proper config by changing environment variable ASPNET_ENV. I know two ways to change value of this variable
1) I change variable at Debug tab at Project Properties
2) I change variable at Azure Portal for my Azure Web Site
But how can I specify this variable in IIS after publishing website?
Upvotes: 0
Views: 98
Reputation: 51
You can set specific user for the AppPool of your website, and then set environment variable for the user.
Upvotes: 1