Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Sunday, September 19, 2010 4:48:03 AM(UTC)
sebastien

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.
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Sunday, September 19, 2010 11:48:55 PM(UTC)

Basel  
Guest

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.

Powered by YAF.NET | YAF.NET © 2003-2020, Yet Another Forum.NET
This page was generated in 0.048 seconds.