开发者

Strange WPF Behaviour With WCF Async calls

I have a WPF application calling WCF via Async calls.

The application has four tabs in which each are loaded from seperate async calls, each tab has a busy indicator.

The problem: When running within Visual Studio I can click a refresh button on each tab and each tab's busy indicator starts and the data is retrieved from the WCF service. As each tab's data comes back it is refreshed.

When I deploy the application via one click the application's UI hangs after only two 开发者_运维技巧tabs start refreshing. So in this case I press refresh on tab one, then on tab two and the application hangs until one of the two tabs data comes back.

I thought at first that it was something to do with the WCF service throtteling and that was not the case as both the Visual Studio and the One Click deployments of the application point to the same service.

Anyone have any ideas on where to look? I cannot reproduce the hang issue within Visual Studio?


The limit of 2 things at once smells like

http://msdn.microsoft.com/en-us/library/system.net.servicepointmanager.defaultconnectionlimit(v=VS.100).aspx

http://msdn.microsoft.com/en-us/library/6484zdc1.aspx

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜