Windows authentication works good when I host my ASP.NET MVC project on IIS. But if I run it from Visual Studio - it doesn\'t.
Here is my Web.config:
I couldn't quite get the @Darin Dimitrov solution to work (mainly as I couldn't find the IIS Express setting described in Visual Studio!).
I found I had to edit the IIS Express application.config file:
%userprofile%\documents\iisexpress\configconfig folder in the hidden .vs folder in the solution (just add \.vs\config in Windows explorer to get there).and amend:
to: