I am developing a SOAP client using C#. The web service requires HTTP Basic Authentication. Can I configure the username and password in app.config? Can u provide a sample?
A:
Basic authentication is a function of the web server not the application. You configure it in IIS.
If you need to control users through your app use forms Authentication.
Doobi
2010-05-18 11:41:15
Forms authentication is not for web services.
Lex Li
2010-05-18 12:26:25