WCF and JSON binding

后端 未结 3 1568
说谎
说谎 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条回答
  •  旧时难觅i
    2021-01-06 12:52

    It's not good that you have Service Contract IContact and Data Contact Contact. Rename Service Contract like IContactService.

    
      
        
        
          
            
          
        
      
    
    
    
      
        
          
        
      
    
    

    During Debug time (it looks you have WCF library), service address will be http://localhost:8732/contact

提交回复
热议问题