Windows身份验证用于.NET MVC 4 - 它是如何工作,如何对它进行测试 [英] Windows Authentication for .net MVC 4 - how it works, how to test it
问题描述
我从来没有使用Windows身份验证ASP.NET MVC的Web应用程序之前,但表单验证。最近,我有需要对谁被授予登录我公司网站服务器的用户Windows身份验证实现一个ASP.NET MVC 4 Web应用程序。所以,我有一个关于Windows身份验证的一些问题。我使用VS 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 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 VS 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网站?换句话说,我怎么测试它与本地IIS(第8版)我的地方发展的PC上,并与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?
先谢谢了。
推荐答案
我发现了一个有用的视频是通过展示实施和测试Windows身份验证MVC网站一步一步对我非常有用的。所以,我关闭这个主题。
I found out a helpful video that is very useful to me by showing step by step to implement and test Windows Authentication for MVC web site. So, I close this thread.
这是一个很善良的海报@的链接,该视频
The link for that video from a very kind poster @
http://www.youtube.com/watch?v=x4hzVLZjfLM
这篇关于Windows身份验证用于.NET MVC 4 - 它是如何工作,如何对它进行测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!