Re: WCF instance

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



=?Utf-8?B?S0hlcnppZw==?= <KHerzig@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in
news:1FB4CD30-13C5-493A-B4F4-5C74B49D25B6@xxxxxxxxxxxxx:

Is it possible to prevent WCF from destorying the service object when
the threading model is set to single, instance mode to percall, and
having a max number of instances configured. In effect I'd like to
have 50 service instances single threading but not created / destroyed
per call.

Single Call by definition is to create and destory and object for each
call.

You could use Per-Session or Singleton if you wish to keep the session
alive. Or a multi-tier service with a combination of per-call on the front
end and single on the backend for state management.

More information on instancing can be found here:

http://msdn.microsoft.com/msdnmag/issues/06/06/wcfessentials/default.aspx


--
spamhoneypot@xxxxxxxxxx (Do not e-mail)
.