开发者

How to avoid ASP.Net creating a new WorkerAppDomain, or starting a (console) app in the WorkerAppDomain?

What can I do to avoid ASP.Net creating a new WorkerAppDomain for my Custom IHttpHandler. As far I know the problem is the SimpleHttpworkerRequest which runs a new Appdomain.

I have an embedded cassini webserver, with this webserver I want to create a webinterface for my app. but I 开发者_如何转开发can't access the objects of my app, because the webrequests are created in a new Appdomain. If possible I want to avoid any kind of remoting.

Maybe I have a wrong perspective on the problem. What else is possible to create a web interface for an application?


Not sure you can configure the way cassini works this deeply, but you can find the sources here if you want to change it: Cassini for Framework 3.5

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜