views:

172

answers:

1

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
Forms authentication is not for web services.
Lex Li