【问题标题】:Implemented BasicAuth, says its missing BasicAuth?实施了 BasicAuth,说它缺少 BasicAuth?
【发布时间】:2013-02-02 11:54:18
【问题描述】:

我已经实现了...或者更确切地说是从http://www.asp.net/web-api/overview/security/authentication-and-authorization/basic-authentication 复制粘贴的代码,但是当我尝试运行该网站时出现此错误:

Could not load file or assembly 'BasicAuth' or one of its dependencies. The system cannot find the file specified.

我正在研究这个例子,所以我对这是什么知之甚少,为什么它不起作用?

【问题讨论】:

    标签: asp.net asp.net-mvc-4 basic-authentication


    【解决方案1】:

    BasicAuth 是您的应用程序集的名称,通常是您的测试应用程序的名称。您可以在项目属性中查看。

    【讨论】:

    • 感谢您的回答,我遇到了同样的问题。非常感谢。
    猜你喜欢
    • 1970-01-01
    • 2021-07-08
    • 1970-01-01
    • 2013-05-12
    • 1970-01-01
    • 1970-01-01
    • 2018-10-10
    • 2015-02-22
    相关资源
    最近更新 更多