We have CoreWCF service (CoreWCF.Http 1.1.0) with configuration:
NetTcpBinding
"MaxReceivedMessageSize": 214748364,
"MaxBufferSize": 524288,
"MaxBufferPoolSize": 524288
Wcf client call CoreWCF service method with parameters:
NetTcpBinding
"MaxReceivedMessageSize": 214748364,
"MaxBufferSize": 524288,
"MaxBufferPoolSize": 524288
In results we got error:
QuotaExceededException: Maximum message size quota for incoming messages has been exceeded (524288). To increase the quota, use the MaxReceivedMessageSize property of the corresponding binding element.
When i change client with configuration to:
NetTcpBinding
"MaxReceivedMessageSize": 524288,
"MaxBufferSize": 214748364,
"MaxBufferPoolSize": 524288
In result we got success response.
It seems parameters MaxReceivedMessageSize and MaxBufferSize mixed up in CoreWCF service request validation.
We have CoreWCF service (CoreWCF.Http 1.1.0) with configuration:
NetTcpBinding
"MaxReceivedMessageSize": 214748364,
"MaxBufferSize": 524288,
"MaxBufferPoolSize": 524288
Wcf client call CoreWCF service method with parameters:
NetTcpBinding
"MaxReceivedMessageSize": 214748364,
"MaxBufferSize": 524288,
"MaxBufferPoolSize": 524288
In results we got error:
QuotaExceededException: Maximum message size quota for incoming messages has been exceeded (524288). To increase the quota, use the MaxReceivedMessageSize property of the corresponding binding element.
When i change client with configuration to:
NetTcpBinding
"MaxReceivedMessageSize": 524288,
"MaxBufferSize": 214748364,
"MaxBufferPoolSize": 524288
In result we got success response.
It seems parameters MaxReceivedMessageSize and MaxBufferSize mixed up in CoreWCF service request validation.