I've searched on here for a solution, but the remedies I've tried have failed, I think due to how old they were.
I need to access, and, if I can, parse into a list of name/value pairs, the URL generated from the GET method on a search form I'm using. This is for a Blazor Server project in ASP.NET Core 6, using C# 10. I'm not using JavaScript, or doing MVC, or Web API.
I saw several references, on here and online, to the "Current" value or method, and it no longer seems to exist.
If you can tell me a module and method for reading the query string I can be using, I'd appreciate it.
@page "/fetchdataSearch"
@namespace BlazorServerApp.Data
@inject DataAccessService ButtonResp
People Search
<form action="https://localhost:7190/FetchDataEdit" method="get">
There is a package called NavigationManager that provides "Uri" which is what I needed.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.