开发者

Load assemblies into new app domain and forward page requests to that domain

开发者 https://www.devze.com 2023-03-25 08:49 出处:网络
I want to know if it is possible to forward all page requests within a sub directory of 开发者_Python百科an ASP.NET web application to a new application domain.This way I can dynamically load assembli

I want to know if it is possible to forward all page requests within a sub directory of 开发者_Python百科an ASP.NET web application to a new application domain. This way I can dynamically load assemblies and new pages without dropping them into the BIN directory of the web application and potentially taking down the entire web app.


if you have a subforlder (in your IIS) configured to be an independent application, there will be a different app domain for the execution, different web.config and so on... if you navigate to another page of the same application, everything will run and be loaded in the same app domain.

This to my knowledge is the default behavior of IIS.

0

精彩评论

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