J
John Granade
I have a 3rd party .dll that makes and keeps a connection to their server.
They offer a web service but for high volume transactions they offer this
..dll where you initially open the connection and then just keep using that
connection for all subsequent calls. I'm trying to leverage that in our web
service but I can't figure out how to have that 'shared' instance of their
dll. I thought I might could put it in the global.asax and just load it in
the application_start but I'm missing how to expose that instance of the
object to my web service and asp.net pages that need to access it.
What's the right way to initiate this object once and then have subsequent
web services and web pages use that object going forward?
Thanks,
John
They offer a web service but for high volume transactions they offer this
..dll where you initially open the connection and then just keep using that
connection for all subsequent calls. I'm trying to leverage that in our web
service but I can't figure out how to have that 'shared' instance of their
dll. I thought I might could put it in the global.asax and just load it in
the application_start but I'm missing how to expose that instance of the
object to my web service and asp.net pages that need to access it.
What's the right way to initiate this object once and then have subsequent
web services and web pages use that object going forward?
Thanks,
John