我有 2 个 WCF 服务一起工作。一种是类库,另一种是Web服务。
到目前为止它运行良好。但如果我尝试发送大量数据,它会抛出 413 错误......
An exception was thrown: The remote server returned an error: (413) Request Entity Too Large.
下面是 web.config 文件 -
对于类库-
Run Code Online (Sandbox Code Playgroud)<add key="SMTP" value ="dummy"/> <add key="BookingEmailFrom" value ="dummy"/> <add key="BookingEmailToWBD" value ="dummy"/> </appSettings> <connectionStrings/> <system.web> <compilation debug="true" targetFramework="4.0"/> <!-- The <authentication> section enables configuration of the security authentication mode used by ASP.NET to identify an incoming user. --> <authentication mode="Windows"/> <!-- The <customErrors> section enables configuration of what to do if/when an …