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 filepull/5508/head
parent
740fa8e0c3
commit
155123a805
|
@ -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.
|
||||
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.
|
||||
|
|
Loading…
Reference in New Issue