Silverlight & WCF: Max message size

前端 未结 3 1023
刺人心
刺人心 2021-01-13 15:37

When I pass a list of objects out of my silverlight app using WCF everything works fine until the List grows too big. It seems that when I exceed 80 items I get the error: T

3条回答
  •  独厮守ぢ
    2021-01-13 16:23

    In server side, change the config file to make the service can accept large message.

    1. Add a basicHttpBinding configuration in section:

      
      
          
             
               
                  
                     
                     
                  
               
             
      .......
      
    2. Add the configuration to the service binding.

      
      

提交回复
热议问题