Skip to content

Commit 2c37895

Browse files
Update adding-controller.md (#35048)
* Update adding-controller.md * Update aspnetcore/tutorials/first-mvc-app/adding-controller.md * Update date in adding-controller tutorial --------- Co-authored-by: Wade Pickett <wpickett@microsoft.com>
1 parent 442ed36 commit 2c37895

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

aspnetcore/tutorials/first-mvc-app/adding-controller.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Part 2, add a controller to an ASP.NET Core MVC app
33
author: wadepickett
44
description: Part 2 of tutorial series on ASP.NET Core MVC.
55
ms.author: wpickett
6-
ms.date: 03/02/2025
6+
ms.date: 03/26/2025
77
monikerRange: '>= aspnetcore-3.1'
88
uid: tutorials/first-mvc-app/adding-controller
99
---
@@ -145,7 +145,7 @@ In the preceding URL:
145145

146146
In the preceding example:
147147

148-
* The third URL segment matched the route parameter `id`.
148+
* The third URL segment matched the route parameter `id` as defined in the routing template in the `Program.cs` file.
149149
* The `Welcome` method contains a parameter `id` that matched the URL template in the `MapControllerRoute` method.
150150
* The trailing `?` (in `id?`) indicates the `id` parameter is optional.
151151

0 commit comments

Comments
 (0)