I created a Web API project under VS 2010. After I switched to VS 2012, I always get a warning:
The Web project \'xxx\' requires SQL Server Express, whcih
Change this part of the connection string "Data Source=.\SQLEXPRESS" to
"Data Source=localhost\SQLEXPRESS"