--- lang: ja-jp breaks: true --- # WCF `DuplexChannel` に チャネル/コネクション プーリング機構を導入する 2022-03-24 ## Pooling https://docs.microsoft.com/ja-jp/dotnet/framework/wcf/samples/pooling https://github.com/dotnet/samples/tree/main/framework/wcf ## `<channelPoolSettings>` https://docs.microsoft.com/ja-jp/dotnet/framework/configure-apps/file-schema/wcf/channelpoolsettings Fun and Headaches with Custom Duplex Bindings for your WCF Services http://www.mtelligent.com/home/2008/11/25/fun-and-headaches-with-custom-duplex-bindings-for-your-wcf-s.html ## TcpConnectionPoolSettings https://docs.microsoft.com/ja-jp/dotnet/framework/wcf/diagnostics/wmi/tcpconnectionpoolsettings ## コネクションプールを使用する場合のチャネルの`Close`は必要?? how to set max connections per endpoint with nettcpbinding #1603 https://github.com/dotnet/wcf/issues/1603 ###### tags: `WCF` `DuplexChannel` `プーリング`