C
C#13mo ago
Nemesis

❔ Pass URI Parameter when the route of a Blazor page is set using @attribute

I am trying to implement a Blazor application, and for setting up the routes for the pages, I have a constants class with the path name and I am using @attribute [Route($"/{Constant}")]. But for one page, I want to pass a value when navigating to the page using the /path/{Parameter}. But I can only see examples of doing that using the @page. Is there a way to do that using @attribute?
1 Reply
Accord
Accord13mo ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server