Answer Posted / 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 View All Answers
Where we can host wcf services?
What is the use of is required property in data contracts?
Explain the role of WSDL in WCF?
What is data contract equivalence?
How do we customize data contract names for generics types?
What is the main advantage of was?
What is wcf full form?
WCF:What is it the Teredo? How can we use it?
What is abc in wcf?
What are the duplex contracts in wcf?
What is difference between wpf and wcf?
do you know message contracts? : Wcf data services
We have already 2 hostings iis and self hosting. There is another hosting ie was hosting. What is the use of the was(windows activation service) compared to other hosting?
What is the usage of "maxconcurrentcalls" in throttling?
Which bindings are used for metadata configuration in wcf?