开发者

control bandwidth in wcf file upload

开发者 https://www.devze.com 2023-03-09 01:41 出处:网络
I have a wcf application to upload files from cl开发者_运维百科ients to my server. I am using NetTcpbinding and WSHttpBinding but I need to control the bandwidth, how can I accomplish this??AFAIK, the

I have a wcf application to upload files from cl开发者_运维百科ients to my server. I am using NetTcpbinding and WSHttpBinding but I need to control the bandwidth, how can I accomplish this??


AFAIK, there is no built-in throughput throttling at the WCF level. You might be able to leverage the QoS features built into Windows for that, but honestly, I've never tried it. I guess you could always write your own transport channel that supports it, though.

0

精彩评论

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