What is "per session" instance mode in wcf?



What is "per session" instance mode in wcf?..

Answer / Dayan Singh

In WCF, Per Session Instance Mode creates a new instance of the service class for each client that starts a session. A session is established when the client sends the first message to the service and ends when either the client or the service closes the session. During the lifetime of a session, the same instance of the service will be used to handle messages from that particular client.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More WCF Interview Questions

What is DataContract and ServiceContract?Explain

3 Answers   TCS, Tech Mahindra, Wipro,


Why do we use wcf services?

1 Answers  


Define the term policy binding?

1 Answers  


Describe the wcf architecture?

1 Answers  


What is ConcurrencyMode in WCF?

1 Answers  


What is the "address" property of endpoint in wcf?

1 Answers  


Which are the different isolation levels in wcf?

1 Answers  


What is the basic difference between creating WCF service or WEB services?

1 Answers   Petranics Solutions,


What are the transport schemas does WCF supports?

1 Answers  


How you can hosting a WCF service?

1 Answers   Viscus Infotech,


What are the transport schemes supported by wcf?

1 Answers  


What is "singleton" instance mode in wcf?

1 Answers  


Categories