title: How do I connect to an existing database in ASP.NET MVC?
body: <p>I'm just starting to learn C# and ASP.NETMVC, but every example I've found puts the database in the <code>App_Data</code> folder. I don't want to do this.</p>
  
  <p>I'd like to create a new version of Nerd Dinner and move the connection string to the <code>web.config</code>, but I can't find any examples on how to do it. My database is called NerdDinner and I'm using SQL Server Express.</p>
  
  <p>What's the correct syntax to add the new connection string to my web config? Does this have any effect on creating LINQ to SQL classes?</p>