asp.net hosting outside of IIS, provide specific webservice instance?

  • Thread starter Thread starter EP
  • Start date Start date
E

EP

I'd like to host web services outside of IIS, which is working fine.

Is there a way to make IIS use a particular instance of a webservice object
instead of creating a new one when it loads the asmx?
 
It should load them based on request it gets - as each session should get an
instance of the webservice and are typically stateless - thus each request
triggers a new instance.

If you want to use the same instance you can probably only use it within the
same session - you might get away with changing these rules if your using
the application host - but I aint never tried it. You will need to make
your host webservice reside with state - and handle the cookie dialogue
required to maintain that state between the client you are using and the
hosted service.

--
Regards

John Timney
Microsoft Regional Director
Microsoft MVP
 
I see in another post that you know how to use CreateApplicationHost to host .net page outside IIS
Could you help me ? I allway get a FileNotFoundException

thank
 
Back
Top