Setting Max Message and buffer size for WCF webhttp

前端 未结 3 818
长发绾君心
长发绾君心 2020-12-05 21:56

I currently have a WCF service with webHttp bindings, im attempting to increase the max size that can be inputted to the service by overriding the default settings in config

3条回答
  •  一个人的身影
    2020-12-05 22:24

    If you are using [DataContract] decorator in your model, you need to add yhe dataContractSerializer into your web.config

    Example:

      
        
          
          
          
        
      
    

提交回复
热议问题