AspDotNetAtoms.com provides daily updates on ASP.NET Tutorials, Programming Resources, .NET Articles, Authors and more.

Categories

Recent Posts

How to make any WebService Method "Timeout"-able : Peter Bromberg

Wednesday, July 02 2008

A common issue for developers is having to make blocking remote method calls on objects over which you have no control. Here is a simple way to make such methods "timeout" - able so your app doesn't hang with no return. Developers often run into this problem, particularly with WebServices: You have a WebService with one or more methods that make calls to external objects which, for one reason or another, are beyond your control. These are blocking calls. What happens when the remote object is not operational, in a "hung" state, or whatever? You have made a blocking method call that never returns, and this leaves you in a sorry state indeed. Certainly the consumer of your WebService isn't going to be happy. They're sitting around, wondering what the hell happened, and why nothing is coming back...



Read More:
How to make any WebService Method "Timeout"-able : Peter Bromberg
Also See:
Look What You Can Do with Silverlight 2 (Part 4 of 6): Web Services Support : ASP.NET Webcasts
Testing Web Sites with HttpWebRequest : Eric Smith
Using CLR to access .NET functions in SQL Server : Mark Smith
Cross-Site Scripting in ASP.NET : SandeepReddy Pasham
Keyboard Shortcut in ASP.NET : Richard Bean

Post your comment

Comment