Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


WCF:Why we need the sessions?



WCF:Why we need the sessions?..

Answer / bhuwanesh

To co-relate all the messages sent between two endpoints.

WCF sessions have the following main conceptual features:

* They are explicitly initiated and terminated by the
calling application.

* Messages delivered during a session are processed in
the order in which they are received.

* Sessions correlate a group of messages into a
conversation. The meaning of that correlation is an
abstraction. For instance, one session-based channel may
correlate messages based on a shared network connection
while another session-based channel may correlate messages
based on a shared tag in the message body. The features that
can be derived from the session depend on the nature of the
correlation.

* There is no general data store associated with a WCF
session.

When a service contract specifies that it requires a
session, that contract is specifying that all calls (that
is, the underlying message exchanges that support the calls)
must be part of the same conversation. If a contract
specifies that it allows sessions but does not require one,
clients can connect and either establish a session or not
establish a session. If the session ends and a message is
sent through the same channel an exception is thrown.

Except basichttpbinding, wsHttpBinding and NetTcpBinding
supports session.

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More WCF Interview Questions

Please explain briefly different instance modes in wcf?

0 Answers  


Describe the wcf architecture?

0 Answers  


What is the service?

0 Answers  


What are the types of messaging patterns?

0 Answers  


explain wcf? : Wcf data services

0 Answers  


explain service contracts? : Wcf data services

0 Answers  


What is wcf api?

0 Answers  


How does a wcf function?

0 Answers  


do you know what is the address formats of the wcf transport schemas? : Wcf data services

0 Answers  


Why to use wcf? Or what are the advantages of using wcf?

0 Answers  


Give the address format of all the bindings in wcf.

0 Answers  


What are the types of messaging programs?

0 Answers  


Categories