Free Jobs
Reference


DotNet Questions: ASPNET (128) C#.NET (55) VB.NET (16) AJAX (48) Silver Light (25) WCF (70) WPF (34) WWF (17) .NET 3.5 (29) SQL SERVER (50) Other (9)

Question: What is the use of Transport Session in WCF

To get the Posted Questions details daily in your mail Click Here

Share this question on Facebook/Twitter/Orkut Bookmark and Share





User: dhiraj5079 Post Date: 21 Mar 2012 23:20

Introduction:
What is the use of Transport Session in WCF



Answer:
In WCF Transport session means all the messages coming from a particular client are sent to the

same transport channel on the host.So it is like client and channel maintain session at tranport level

and thus it is named as transport session.

The transport session is independent of any application level session.

Transport session is optional.

Transport session is mainly related to reliability,synchronization,transaction and security.

A transport session provides the ability to WCF service to indentify the client.

TCP and IPC bindings are connection full so they so all calls from one client comes to same

connection thus effectively there is Transport session by default.

But HTTP is a connection less protocol do if you are using wsHttpBinding this

will not be like transport session by default.

So we can configure the wshttpbinding to support tranport channel

in that case it will insert a unique id identifying the client in each message

so that all message with that id go to the same connection.



About Writer:
Hi,I am IT Professional From Mumbai


Writer's Link: http://

Writer's Email:







Comments:




Post Comment





Similar Questions Top QuestionsLatest Questions Other Questions by this Author







www.freejobsreference.com Copyright © 2009-2011 | All Rights Reserved
All content of this website is protected by copyright laws and should not be reproduced in any form or by any means without written permission
(Best viewed in IE 8.0+ or Firefox 3.0+ at resolution of 1024 * 768 or higher)