From 1570038c174a56509d425a1a5bbf55125de2716b Mon Sep 17 00:00:00 2001 From: Scott Addie Date: Thu, 12 Oct 2017 13:03:03 -0500 Subject: [PATCH] Change html code snippet types to cshtml --- aspnetcore/data/ef-mvc/intro.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aspnetcore/data/ef-mvc/intro.md b/aspnetcore/data/ef-mvc/intro.md index 9bb77461e5..9782b46dfb 100644 --- a/aspnetcore/data/ef-mvc/intro.md +++ b/aspnetcore/data/ef-mvc/intro.md @@ -89,11 +89,11 @@ Open *Views/Shared/_Layout.cshtml* and make the following changes: The changes are highlighted. -[!code-html[](intro/samples/cu/Views/Shared/_Layout.cshtml?highlight=6,30,36-39,48)] +[!code-cshtml[](intro/samples/cu/Views/Shared/_Layout.cshtml?highlight=6,30,36-39,48)] In *Views/Home/Index.cshtml*, replace the contents of the file with the following code to replace the text about ASP.NET and MVC with text about this application: -[!code-html[](intro/samples/cu/Views/Home/Index.cshtml)] +[!code-cshtml[](intro/samples/cu/Views/Home/Index.cshtml)] Press CTRL+F5 to run the project or choose **Debug > Start Without Debugging** from the menu. You see the home page with tabs for the pages you'll create in these tutorials. @@ -283,7 +283,7 @@ You'll learn about the asynchronous programming elements in this code later in t The *Views/Students/Index.cshtml* view displays this list in a table: -[!code-html[](intro/samples/cu/Views/Students/Index1.cshtml)] +[!code-cshtml[](intro/samples/cu/Views/Students/Index1.cshtml)] Press CTRL+F5 to run the project or choose **Debug > Start Without Debugging** from the menu.