❔ Blazor Client Side: Get Query-Parameters
Is there any way to get the Query-Parameters with Blazor Client Side?
6 Replies
(I want to get/use it in the
`Program.cs
)Microsoft.AspNetCore.WebUtilities
has QueryHelpers.ParseQuery
Yeah, but I need the Query-Parameter-String for that. Is there any way to get that without JS-Interop?
you need the path with the query sting, not sure how else you want to get the query parameters... unless i'm misunderstanding your question
you were kinda light on details
There is no other way
And you can get the query string via the NavigationManager which you can simply inject
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.