Hi, I'm developing an xml web service for use by one of our clients. There is some initialization that needs to be done when the service loads into memory, and it is a bit costly. I've read about, but never used, how MTS can be used for COM objects to keep them around in memory longer, to avoid costly re-initialization every time the object is loaded. Is there an equivalent mechanism for .net web services? The two books I have don't mention anything on issues concerning how to improve response time, and many searches on web services, transactions, etc haven't turned up anything for me. Thanks, Warren p.s. Regardless of the options available for the above problem, I'd also like to know if there is some sort of global initialize method called when the DLL for the web service first loads into memory...that way I could do the up front initialization there, and be sure it is only done once.
|