HighTechTalks DotNet Forums  

WCF ServiceContract ServiceBehavior

Dotnet Framework (Remoting) microsoft.public.dotnet.framework.remoting


Discuss WCF ServiceContract ServiceBehavior in the Dotnet Framework (Remoting) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Peter K
 
Posts: n/a

Default WCF ServiceContract ServiceBehavior - 08-09-2007 , 09:08 AM






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

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.