开发者

WCF service timeout on asp.net page

开发者_StackOverflow中文版

I'm calling a WCF service on my asp.net site. sometimes this service is down and it takes 30seconds to timeout, which slows down my page as I'm calling syncronously.

What's the best way around this? decrease timeout? is there a way to see if the service is down before calling?

Thanks


If you are talking about usablity point of view, I'd suggest loading up a "loading page" first, and do long polling on that page to the page you are loading WCF services with.

That way user can see that the server has responded, just that this particular page takes a while to load.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜