开发者

.net 4 client to .net 3.5 server wcf issues

Is there any reason why one would see performance issues when connecting a .net4 web app to a .net3.5 windows service over net.tcp ?

The issues tend to appear during heavy load where the client is unable t开发者_如何转开发o make connections to the service, downgrading the client to .net3.5 seems to alleviate this problem.


Something to try would be to change the client implementation, I suspect that might be your issue. Use a ChannelFactory implementation instead of the Add Service Reference, which is a good idea no matter what.

You can encapsulate all of the ChannelFactory behavior if you would like so that it behaves the same way that the generated clients object behave if you want. If done correctly, there should be very little code to change on the clients.

Also, it doesn't sound like you have complete concrete evidence that downgrading DOES solve your problem. Consider performance metrics to zero in on the problem.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜