【发布时间】:2015-02-07 03:55:12
【问题描述】:
我在 Windows 8 上的 Visual Studio 2013 中创建了一个“WCF 服务应用程序”,然后将 .svc 文件设置为默认页面。当我按 F5 进行调试时,WCF 测试客户端告诉我 The authentication schemes configured on the host ('Anonymous') do not allow those configured on the binding 'BasicHttpBinding' ('Basic')
我已进入控制面板并在身份验证类型上启用了 IIS 的 Basic,但这似乎不是必需的。
任何有关如何解决此问题的指示将不胜感激!
【问题讨论】:
-
您使用的是 IIS 还是 IIS express?
-
我正在使用 IIS express
标签: wcf iis basic-authentication