title: How does an ASP.net MVC 3 Forms Authentication project connect to a database?
body: <p>I currently have a populated database, a .NET 1.1 website and the task of re-writing it in MVC 3. I've created the MVC project with Forms Authentication, connected my database to the project, but don't know the best way to gain access to the information within it.</p>
  
  <p>I came across this link: <a href="http://msdn.microsoft.com/en-us/library/f1kyba5e(v=vs.100).aspx?ppud=4" rel="nofollow">http://msdn.microsoft.com/en-us/library/f1kyba5e(v=vs.100).aspx?ppud=4</a>, but I'm not sure if this is what I'm looking for in this case.</p>
  
  <p>My goal for today is to get the login page working, so that I can use the admin account to login and see the main page of the site. I'm still very much a rookie with MVC and tend to search too broadly for answers. Hopefully there is something obvious that I'm missing.</p>