This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Sunday, September 19, 2010 4:48:03 AM(UTC)
Groups: Registered
Posts: 1
Hi,
We use leadtool API in several methods of our WCF services.
As these services are called by several clients we have decided to start the RasterCodecs engine (Rastercodecs.Startup()) in our global.asax to start only once, when IIS is starting up. We shut it down when IIS process is stopped.
We would like to know if that way is the right way, or if we should start the engine at the begin of each method which uses leadtool API and make a shutdown at the end.
Kind regards,
Sebastien.
#2
Posted
:
Sunday, September 19, 2010 11:48:55 PM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Sebastien,
If you are using V17 you do not need to call Rastercodecs.Startup()/Shutdown() as LEADTOOLS V17 (and the latest build of 16.5) no longer need it.
If you are using a previous version, you might to call Rastercodecs.Startup()/Shutdown() on each new web request, because the Startup()/Shutdown() pair should be called for each thread, and a web request normally executes in its own thread.
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.