- C#
- Create Blazor Server project
dotnet new blazorserver -n RouteParameters
- Create Blazor Component
dotnet new razorcomponent -n RouteParameter
Parameters added to a component in order to populate the route value with the same name as the parameter and constraints to make sure the parameter value will be of a specific type.