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

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?
 
J

John Timney \(Microsoft MVP\)

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
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top