Problem exclusively using Windows Authentication in ASP.NET MVC 3 Beta

后端 未结 3 932
悲&欢浪女
悲&欢浪女 2020-12-25 12:01

I\'m creating an Intranet site in ASP.NET MVC 3 Beta and would like to use Windows Authentication exclusively. In addition, I\'d like to use the Visual Studio Development Se

3条回答
  •  清酒与你
    2020-12-25 12:20

    I had exactly the same problem. Turns out there was a change in MVC 3 (fairly well hidden, too) that has Forms authentication automatically enabled by default, in order to disable it add the following line to your root Web.config file, under the appSettings key...

    
    

    Hope that helps!

提交回复
热议问题