0

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?

YakovL
  • 7,557
  • 12
  • 62
  • 102
chriszero
  • 1,311
  • 3
  • 13
  • 26
  • I have some custom IHttpHandler, these handler must run in the same appdomain as the cassini-server-runtime. – chriszero Dec 06 '10 at 08:54

1 Answers1

0

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

Simon Mourier
  • 132,049
  • 21
  • 248
  • 298