LoginSignup
1
3

More than 5 years have passed since last update.

WCFのhttp通信で動的圧縮に対応する。(.Net3.5 / IIS8.5)

Posted at

.Net4.0からは簡単だけど.Net3.5ではめんどくさかった。

クライアントサイド
https://code.msdn.microsoft.com/WCF-Compression-Example-9ffab49c
直接ServiceClientとかをカスタムするのではなくWebRequestに介入すればよいっていうのは盲点だった。

サーバーサイド
http://www.hanselman.com/blog/EnablingDynamicCompressionGzipDeflateForWCFDataFeedsODataAndOtherCustomServicesInIIS7.aspx
動的圧縮の細かい設定はサーバに対して行う。
サイトに対してはできない。
DynamicTypeは環境的に特に問題なければapplication/*が楽。

1
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
3