开发者

Wcf webservice execution timeout

How can I increase timeout for the wcf web service operation as my wcf service may take more than 5-10 hours to execute 开发者_如何学运维function and update inside database?


Redesign your WCF service so that instead of providing a service operation spanning the entire 5-10 hour process, it exposes an operation which starts the long-running process asynchronously and then returns immediately.

You can add further service operations to check the status of the long running process, or cancel it, etc.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜