>I have run into an issue with a web service I am working on that uses
> an object defined in a COM Wrapper. There can be only once instance
[quoted text clipped - 6 lines]
> I'm a bit new to Web Services, so I really would appreciate any help
> available.
I wouldn't host the wrapper in ASP.NET, for reasons you've already seen.
Instead, host it inside of a Windows Service, and use .NET remoting between
the Web Service and the Windows Service.
John
Latish Sehgal - 05 Apr 2007 21:56 GMT
Can't the wrapper be hosted in ASP.NET by using the Singleton pattern
for implementation and keeping the object in the Application or Cache
object depending on the requirements?
Brian - 06 Apr 2007 00:45 GMT
> Can't the wrapper be hosted in ASP.NET by using the Singleton pattern
> for implementation and keeping the object in the Application or Cache
> object depending on the requirements?
That's an interesting idea, Latish. I had the singleton pattern set
up, but was unsure how to proceed. I hadn't heard of the Application
or Cache until now, so I will be doing some research on it. Does
anyone else know if this is an effective option?