开发者

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

开发者 https://www.devze.com 2023-01-28 08:04 出处:网络
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.

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

精彩评论

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