WCF Error : Relative end point addresses

前端 未结 3 2065
死守一世寂寞
死守一世寂寞 2021-02-19 15:40

Um quite new to WCF . I think I have messed up a bit. So this is what I did so far and I ve hosted my WCF service in IIS

First the Contracts

using System         


        
3条回答
  •  长发绾君心
    2021-02-19 16:16

    This works for me:

    1. Insert this lines inside service:

     
          
            
          
        
    

    2. Set the value of address as bellow:

    address=""

    The full code:

    
            
              
                
              
            
            
            
          
    

提交回复
热议问题