Windows身份验证的ASP.NET MVC 4-如何工作,如何对其进行测试 [英] Windows Authentication for ASP.NET MVC 4 - how it works, how to test it
问题描述
我以前从未对 ASP.NET MVC Web应用程序使用Windows身份验证,但是表单身份验证.最近,我有一个ASP.NET MVC 4 Web应用程序,要求被授予登录我的公司Web服务器的用户的Windows身份验证实现.因此,我对Windows身份验证有一些疑问.我正在使用Visual Studio 2012.
I have never used Windows Authentication for ASP.NET MVC web applications before, but Forms Authentication. Recently, I have had an ASP.NET MVC 4 web application that requires a Windows Authentication implementation for users who are granted to log in my company web server. So, I have some questions regarding Windows Authentication. I am using Visual Studio 2012.
-
Windows身份验证如何工作?
How does Windows Authentication work?
如何在web.config文件中正确实施Windows身份验证?
How do I implement Windows Authentication correctly in the web.config file?
如何测试Windows身份验证是否真的适用于我的ASP.NET MVC 4网站?换句话说,如何在本地开发PC上使用本地 IIS (版本8)对其进行测试,以及在我公司的带有IIS版本7的真实Web服务器上?
How do I test if the Windows Authentication really works for my ASP.NET MVC 4 web site? In other words, how do I test it on my local development PC with local IIS (version 8), and on my company real web server with IIS version 7?
推荐答案
我通过逐步展示如何实现和测试ASP.NET MVC网站的Windows身份验证,发现了一个对我非常有用的有用视频.因此,我关闭了这个问题.
I found out a helpful video that was very useful to me by showing step by step to implement and test Windows authentication for an ASP.NET MVC web site. So, I close this question.
来自非常善良的海报的视频:
Video from a very kind poster:
如何在ASP.NET MVC 3(模型视图控制器)应用程序中实现Windows身份验证?
这篇关于Windows身份验证的ASP.NET MVC 4-如何工作,如何对其进行测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!