2

我正在尝试运行以下示例项目。

https://github.com/Wintellect/Angular-MVC-Cookbook

有 3 个解决方案,我Authentication Required在运行网站时得到。

所有解决方案都<authentication mode="None" />webconfig.

我使用默认的 IIS Express 服务器在 VS2012 中运行。

如果可能的话,谁能告诉我我需要做什么来禁用此身份验证?

4

1 回答 1

3

找到以下解决方案。

中的匿名身份验证Project properties设置为disabled

项目文件:

<IISExpressAnonymousAuthentication>enabled</IISExpressAnonymousAuthentication>
<IISExpressWindowsAuthentication>disabled</IISExpressWindowsAuthentication> 
于 2013-03-31T09:26:51.420 回答