How Configure app.config for HTTP Basic Authentication?
I am developing a SOAP client using C#. The web service requires HTTP Basic Authentication. Can I configure the username and password in a开发者_如何学Cpp.config? Can u provide a sample?
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.
精彩评论