alexbohomol / ContosoUniversity

Walkthrough the canonical tutorial on Asp.Net Mvc + Entity Framework

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Contoso University

Walkthrough the canonical tutorial

Notes on Module-1

Issue: Connection string (as of VS2015)

There was a problem when try to copy and use the connection string (versioned) from original samples. Issue caused by the new way we should treat (version-independent) connection strings as of Visual Studio 2015 (RC).

Connection string updated to switch from LocalDb to SQL Server.

Before starting the first time run PM> Update-Database in Package Manager Console.

Solution:

just replace Data Source=(LocalDb)\v11.0;...

with Data Source=(LocalDb)\MSSQLLocalDB;....

References:

About

Walkthrough the canonical tutorial on Asp.Net Mvc + Entity Framework


Languages

Language:JavaScript 71.7%Language:C# 18.0%Language:HTML 9.5%Language:CSS 0.7%Language:ASP.NET 0.0%