WCF ServiceContract ServiceBehavior
Hi
I have a few basic questions regarding WCF. If this is not the correct
newsgroup please advise me where to ask.
In a WCF service, if no [ServiceBehavior] attribute is supplied, does that
mean that the service is "per call"?
And does "per call" mean that a new instance of the ServiceContract class
is created for every call to each and every method in the ServiceContract
class?
And do these service instances run in their own application domain - which
is then torn down again when the service method exits? Can I risk that two
Service objects would be instantiated in the same application domain?
Furthermore, does SessionMode.Allowed mean that a "session" is maintained
between the calls to the service class (much the same as a http-session
object in a web-application)?
Thanks,
Peter
Date:Thu, 09 Aug 2007 06:08:49 -0700
Author:
|