3
我已经看到这张贴了很多解决问题,如果您在IIS 7.5中运行ASP.Net应用程序而不是MVC 2。同样的解决方案是否使用web.config中的位置和2个独立的登录页面(如asp.net中的位置)工作?你需要注册一个新的路线来做到这一点?如何在IIS 7.5中的MVC 2中混合使用Forms身份验证和Windows身份验证?
我知道它可以在IIS中使用2个独立的应用程序,但我希望它们都在同一个应用程序中。有任何想法吗?
解决方案asp.net
- http://mvolo.com/blogs/serverside/archive/2008/02/11/IIS-7.0-Two_2D00_Level-Authentication-with-Forms-Authentication-and-Windows-Authentication.aspx
- Mixing Forms authentication with Windows authentication
- http://craigandera.blogspot.com/2004/07/mixing-forms-and-windows-authentication_24.html