Make a WCF Service Accept JSON Data from jQuery.AJAX()

后端 未结 2 1703
伪装坚强ぢ
伪装坚强ぢ 2021-01-13 12:49

I have been searching around for hours and trying different things to get this to work. I have tried so many articles on stackoverflow and either I am too stupid to get thin

2条回答
  •  无人及你
    2021-01-13 13:30

    I'm coming in late, but you still have some issues you'll need to resolve to get it to work. You need to change the binding for your endpoint to support the HTTP operations.

    
        
            
        
    
    
        
            
              
            
        
    
    
      
        
        
      
    
    

    The maxBufferSize and maxReceivedMessageSize is optional.

    EDIT: Oops, forgot to add your behaviorConfiguration in.

提交回复
热议问题