Update areas.md (#2985)

pull/2990/head
Daniel Roth 2017-03-16 08:48:49 -07:00 committed by Tom Dykstra
parent dab8f692c0
commit 3f10b16fe6
1 changed files with 2 additions and 2 deletions

View File

@ -124,7 +124,7 @@ Once you've defined the folder hierarchy, you need to tell MVC that each control
}
```
Set up a route definition that works with your newly created areas. The [🔧 Routing to Controller Actions](routing.md) article goes into detail about how to create route definitions, including using conventional routes versus attribute routes. In this example, we'll use a conventional route. To do so, open the *Startup.cs* file and modify it by adding the `areaRoute` named route definition below.
Set up a route definition that works with your newly created areas. The [Routing to Controller Actions](routing.md) article goes into detail about how to create route definitions, including using conventional routes versus attribute routes. In this example, we'll use a conventional route. To do so, open the *Startup.cs* file and modify it by adding the `areaRoute` named route definition below.
<!-- literal_block {"ids": [], "linenos": false, "xml:space": "preserve", "language": "csharp", "highlight_args": {"hl_lines": [4, 5, 6]}} -->
@ -185,4 +185,4 @@ Browsing to `http://<yourApp>/products`, the `Index` action method of the `HomeC
## Publishing Areas
All `*.cshtml` and `wwwroot/**` files are published to output when `<Project Sdk="Microsoft.NET.Sdk.Web">` is included in the *.csproj* file.
All `*.cshtml` and `wwwroot/**` files are published to output when `<Project Sdk="Microsoft.NET.Sdk.Web">` is included in the *.csproj* file.