# Route Parameter

*noun*

say it: **“ROWT puh-RAM-ih-ter”** **/raʊt pəˈræmɪtər/**

A named placeholder in a route, such as {id}, whose value from the address is passed to the action.

## What is **Route Parameter**?

A **route parameter** is a placeholder in the route, like `{id}`, whose value is passed into your handler.

```csharp
app.MapGet("/users/{userId:guid}", (Guid userId) => $"User {userId}");
```

## In a sentence

- “The **route parameter** {id} in products/{id} receives the 7 from /products/7.”

Level: Apprentice · [More ASP.NET Core terms at this level](https://www.ask-codey.com/glossary?category=aspnet-core&level=2)

Updated: November 9, 2026

## In other subjects

- [Route Parameter in Angular](https://www.ask-codey.com/glossary/route-parameter)

Source: https://www.ask-codey.com/glossary/route-parameter-aspnet-core
