How do I configure app.config for basic HTTP authentication?

I am developing a SOAP client using C #. The web service requires HTTP Basic Authentication. Can I customize username and password in app.config? Can you provide a sample?

+2


a source to share


1 answer


Basic authentication is a function of the web server, not an application. You configure it in IIS.



If you need to manage users through your applications, use the Authentication forms.

0


a source







All Articles