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身份验证是如何工作的?

  • 如何在web.config文件中正确实现Windows身份验证?

  • 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.NETMVC网站实现和测试Windows身份验证.所以,我结束这个问题.

来自一张非常友好的海报的视频:

100

Asp.net相关问答推荐

在Docker Windows中,ASP.NET核心容器在自定义端口8080上运行,但ASP.NET容器在固定端口80上运行

目前不支持超过 65534 个段的跨区存档

我们可以在一个网页中使用多个表单吗?

如何以编程方式设置单元格 colored颜色 epplus?

log4net 记录所有未处理的应用程序错误

Azure 自定义控制器/API .Net 后端

httpCompression 和 urlCompression 有什么区别?

iframe.readyState 在 chrome 中不起作用

ASP.NET - AppDomain.CurrentDomain.GetAssemblies() - AppDomain 重新启动后缺少程序集

Directory.Exists 不适用于网络路径

Response.Redirect 使用 ~ 路径

__doPostBack 未定义

来自 IP 地址的经度和纬度值

IIS 会话超时与 ASP.NET 会话超时

显示 ModalPopupExtender 时如何指定要运行的 javascript

错误请求 - 无效的主机名 ASP.net Visual Studio 2015

如何从 ASP.NET 中的数据表/数据视图中 Select 前 n 行

IIS 8.0 ASP.NET 和错误 500.19

验证请求事件

System.Threading.Tasks - 限制并发任务的数量