title: Active Directory authentication using ASP.NET MVC 3 and c#
body: <p>I am currently trying to create a website that authenticates users against AD but I cannot seem to find a good resource for examples. To start with I would just like to give all AD users access to the site. I have a Windows 2008 r2 server running IIS and Active Directory roles for testing purposes.</p>
  
  <p>I know that you must add a connection string as shown in <a href="https://stackoverflow.com/questions/6147864/asp-net-mvc-authenticate-users-against-active-directory-but-require-username"><strong>ASP.NET MVC - Authenticate users against Active Directory, but require username and password to be inputted</strong></a>. But some sort of example showing models, views and controllers as well as the web.config file would help greatly.</p>
  
  <p>Thanks in advance</p>