From 155123a8052a6323bdf7fa3fc4dd18d08fe4ed81 Mon Sep 17 00:00:00 2001 From: Kiran Shahi Date: Sun, 18 Feb 2018 00:26:41 +0545 Subject: [PATCH] Typo error updated (#5504) Mvc Movie changed to Movie App, since anchor text on layout was change from MvcMovie to Movie App on Index.cshtml file --- aspnetcore/includes/mvc-intro/adding_view2.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aspnetcore/includes/mvc-intro/adding_view2.md b/aspnetcore/includes/mvc-intro/adding_view2.md index b18bc3c875..937e51b798 100644 --- a/aspnetcore/includes/mvc-intro/adding_view2.md +++ b/aspnetcore/includes/mvc-intro/adding_view2.md @@ -18,7 +18,7 @@ Tap the menu links (**MvcMovie**, **Home**, **About**). Each page shows the same ## Change the title and menu link in the layout file -In the title element, change `MvcMovie` to `Movie App`. Change the anchor text in the layout template from `MvcMovie` to `Mvc Movie` and the controller from `Home` to `Movies` as highlighted below: +In the title element, change `MvcMovie` to `Movie App`. Change the anchor text in the layout template from `MvcMovie` to `Movie App` and the controller from `Home` to `Movies` as highlighted below: Note: The ASP.NET Core 2.0 version is slightly different. It doesn't contain `@inject ApplicationInsights` and `@Html.Raw(JavaScriptSnippet.FullScript)`. @@ -109,4 +109,4 @@ Data is taken from the URL and passed to the controller using the [MVC model bin In the sample above, we used the `ViewData` dictionary to pass data from the controller to a view. Later in the tutorial, we will use a view model to pass data from a controller to a view. The view model approach to passing data is generally much preferred over the `ViewData` dictionary approach. See [ViewModel vs ViewData vs ViewBag vs TempData vs Session in MVC](http://www.mytecbits.com/microsoft/dot-net/viewmodel-viewdata-viewbag-tempdata-mvc) for more information. -Well, that was a kind of an "M" for model, but not the database kind. Let's take what we've learned and create a database of movies. \ No newline at end of file +Well, that was a kind of an "M" for model, but not the database kind. Let's take what we've learned and create a database of movies.