WCF and JSON binding

后端 未结 3 1520
说谎
说谎 2021-01-06 12:32

I am trying to create a wcf service that returns json. I have some problems with my config file and i also don\'t know how to test it.



        
3条回答
  •  一整个雨季
    2021-01-06 12:47

    I think you missed bindings here you have to add webHttpBinding and basichttpbing under the bindings tab in system.serviceModel tag.

        
      
        
        
          
          
            
          
        
      
      
        
      
    
    
      
        
          
        
      
      
        
          
        
        
        
          
          
            
            
          
        
      
      
    
    

提交回复
热议问题