开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜