Tuesday, June 07, 2011

Passing ASP.NET Session Variables to WCF Service

There are multiple ways of passing the Session variables to WCF service. We will pass the session variables to WCF service using SOAP Message header. So let’s open Visual Studio 2010 and create a Blank solution with the name ‘SessionStateSharingExample’. Once the solution is created, add a WCF Serivce library with the name ‘TestWCFService’ as shown below –

clip_image002.jpg

Read more: dot net curry