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:
State Management in ASP.NET : DSV Ramana
Support Voice: Using Virtual Path Providers : Parag Agarwal
Updated: Implement Kerberos Delegation for Windows 2000 : ASP.NET Whitepapers
Keyboard Shortcut in ASP.NET : Richard Bean
Using CLR to access .NET functions in SQL Server : Mark Smith

Post your comment

Comment