You'll need a Windows Authentication action on your Home controller:
public ActionResult WindowsLogin(string returnUrl = null)
if (!string.IsNullOrEmpty(returnUrl) && Url.IsLocalUrl(returnUrl)) return Redirect(returnUrl);
Then update your
file to turn on Windows authentication for that route:
<windowsAuthentication enabled="true" />
<basicAuthentication enabled="true" />
<anonymousAuthentication enabled="false" />
You may need to "unlock" these sections:
If you're using IIS, open IIS Manager, open the "Feature Delegation" page from the Management group. Find the four "Authentication - ..." sections, and ensure that they are set to "Read/Write".
If you're using IIS Express, you'll need to edit the
file, which is located in the hidden ".vs\Project_Name\config" folder within your solution folder.