Cassini.Server hosted .asmx calling into parent app ???http://forums.asp.net/t/465517.aspx/1?Cassini+Server+hosted+asmx+calling+into+parent+app+Thu, 05 Feb 2004 17:27:25 -0500465517465517http://forums.asp.net/p/465517/465517.aspx/1?Cassini+Server+hosted+asmx+calling+into+parent+app+Cassini.Server hosted .asmx calling into parent app ??? I am using the Cassini.Server class directly in my windows form app like this... server = new Cassini.Server(8080,&quot;/&quot;,@&quot;C:\web1&quot;); server.Start(); I can now connect to the url http://localhost:8080/ and receive a response (directory listing) from the Cassini.Server that is running nicely in my windows form app. Now, what I really want to do is expose a few webservices from my windows form app to get and set data that is needed in this windows form app. This means that the dll that contains the .asmx implementation needs to call into my windows form app's main AppDomain...right ??? Which means that the .asmx implementation needs to be able to get a handle to this AppDomain, and then use something like DoCallback() to call into the AppDomain...right ??? How do I get the AppDomain handle, or am I off in the weeds here. Any nice examples of this already out there ? -- THanks, Andrew 2004-02-05T15:20:09-05:00465648http://forums.asp.net/p/465517/465648.aspx/1?Re+Cassini+Server+hosted+asmx+calling+into+parent+app+Re: Cassini.Server hosted .asmx calling into parent app ??? Try this article. <b>Hosting the ASP.Net runtime in desktop applications</b> <a href="http://www.west-wind.com/presentations/aspnetruntime/aspnetruntime.asp"> http://www.west-wind.com/presentations/aspnetruntime/aspnetruntime.asp</a> Kiliman 2004-02-05T16:37:28-05:00