WCFを使用して、あるアプリケーションから別のアプリケーションにデータを渡します。実行中に私は受け取りSystem.ServiceModel.Dispatcher.NetDispatcherFaultException
ます。その内部で、.NETはMaxStringContentLengthを増やす必要があると主張しています(デフォルト値は8192です)。
名前付きパイプのMaxStringContentLengthを増やすにはどうすればよいですか?
WCFを使用して、あるアプリケーションから別のアプリケーションにデータを渡します。実行中に私は受け取りSystem.ServiceModel.Dispatcher.NetDispatcherFaultException
ます。その内部で、.NETはMaxStringContentLengthを増やす必要があると主張しています(デフォルト値は8192です)。
名前付きパイプのMaxStringContentLengthを増やすにはどうすればよいですか?
これは、バインディング構成の下の設定です
<bindings>
<netNamedPipeBinding>
<binding name="binding1" ...>
<readerQuotas
maxDepth="2147483647"
maxStringContentLength="2147483646"
maxArrayLength="2147483647"
maxBytesPerRead="2147483647"
maxNameTableCharCount="2147483647"/>
</binding>