Configuring Windows Authentication

Let's implement Windows authentication to an ASP.NET MVC application following the given steps:

  1. Create New Project from the Start page in Visual Studio.
  2. Select Visual C# Installed Template named Web.
  3. Choose ASP.NET Web Application in the center panel.
  4. Name the project Chapter06.WindowsAuthentication and click OK:
    Configuring Windows Authentication

    Fig 5 – We have named the ASP.NET Web Application "Chapter06.WindowsAuthentication"

  5. Change the Authentication mode to Windows Authentication:
    Configuring Windows Authentication

    Fig 6 – Select Windows Authentication in Change Authentication window ...

Get ASP.NET Web API Security Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.