Search
Get Started
C
C#
•
3y ago
Tim
❔ Blazor Client Side: Get Query-Parameters
Is there any way to get the Query
-Parameters with Blazor Client Side
?
C#
Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,010
Members
View on Discord
Was this page helpful?
Yes
No
T
Tim
OP
•
9/9/23, 2:16 PM
(I want to get
/use it in the
)
A
Anu6is
•
9/9/23, 2:39 PM
has
T
Tim
OP
•
9/9/23, 3:26 PM
Yeah
, but I need the Query
-Parameter
-String for that
. Is there any way to get that without JS
-Interop
?
A
Anu6is
•
9/9/23, 4:23 PM
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
A
Anu6is
•
9/9/23, 4:23 PM
you were kinda light on details
T
Tim
Yeah, but I need the Query-Parameter-String for that. Is there any way to get th...
M
Monsieur Snowholesome
•
9/9/23, 8:13 PM
There is no other way
M
Monsieur Snowholesome
•
9/9/23, 8:13 PM
And you can get the query string via the NavigationManager which you can simply inject
A
Accord
•
9/10/23, 8:23 PM
Was this issue resolved
? If so
, run
/close
/close
otherwise I will mark this as stale and this post will be archived until there is new activity
.
`Program.cs
`Program.cs
Microsoft.AspNetCore.WebUtilities
Microsoft.AspNetCore.WebUtilities
QueryHelpers.ParseQuery
QueryHelpers.ParseQuery