[Mono-dev] Mono.WebServer

Jerry Haltom wasabi at larvalstage.net
Mon Nov 7 11:37:37 EST 2005


A project of mine has required the use of the Mono embedded web server.
Kudos to those who made this, it rocks.

However, from within the ASP.Net code running in the embedded web
server, I need to be able to call a number of methods located in the
code that spawned the web server. This is presenting a problem because
Mono.WebServer seems to create a separate AppDomain for the hosted
application (expected).

To compound it, I can't figure out how to get a reference to this
AppDomain!

However, for my particular use case, I don't actually need a separate
AppDomain.

So I have two questions. 1) Is it possible for Mono.WebServer to NOT
create a separate AppDomain for the hosted application and 2) if not,
how can I get a reference to this second AppDomain from the first.

Thanks!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20051107/c84ce29a/attachment.bin 


More information about the Mono-devel-list mailing list