开发者

Wcf webservice execution timeout

开发者 https://www.devze.com 2023-02-12 21:50 出处:网络
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 s

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

精彩评论

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