What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 4578 |  Welcome, Guest!   Register  Login
 Home > Interview Questions > WCF Interview Questions > What is Sessionful Services in WCF One W ...

What is Sessionful Services in WCF One Way Contract ?

Interview question and answer by: Akiii | Posted on: 5/17/2012 | Category: WCF Interview questions | Views: 762 | | Points: 40


Answer:

[ServiceContract(SessionMode = SessionMode.Required)]

interface IService
{
[OperationContract(IsOneWay = true)]
void Method1();
}


If the client issues a one-way call and then closes the proxy while the method executes, the client will still be blocked until the operation completes.


Please note that the above is a bad design because clients are never meant to be blocked when using one way contract.


Thansks and Regards
Akiii

Found interesting? Add this to:


>> Write Response - Respond to this post and get points

Even more ... | Submit Interview Questions and win prizes!

More Interview Questions from Akiii

Even more ... | Submit Interview Questions and win prizes!


About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/25/2013 3:49:13 AM