Wcf Basic authentication

前端 未结 4 1693
小蘑菇
小蘑菇 2021-02-18 16:28

Having some trouble using basic authentication with a simple test Wcf service. I am getting an exception:

The requested service, \'http://qld-tgower/test/

4条回答
  •  天命终不由人
    2021-02-18 17:12

    Try for both client and server configs

    
        
            
                
            
        
    
    

    Install/Enable basic authentication

    You may also need to install and apply basic authentication in IIS.

    Goto "Programs and Features" / "Turn windows features on/off ". Enable "basic authentication" somewhere under IIS and security.

    I closed and opened the IIS console and was able to enable it under authentication settings.

    This of course if for a development testing and it warns you about not having an SSL certificate.

提交回复
热议问题