开发者

Change Web.config depending on URL

开发者 https://www.devze.com 2023-03-10 06:19 出处:网络
I have a net mvc website and I want to change the web.config file dynamically depending 开发者_开发问答on the incoming url. Can anyone help me?

I have a net mvc website and I want to change the web.config file dynamically depending 开发者_开发问答on the incoming url. Can anyone help me?

Thanks, Chris


You could create your own config files and branch it based on the URL but you will have to read as a XML file and will not be able to exploit the configuration namespace.

0

精彩评论

暂无评论...
验证码 换一张
取 消