David_Ford
Member
- Joined
- Apr 23, 2017
- Messages
- 12
- Programming Experience
- 10+
I have a search form, and the submit button calls another web page with results that were entered. I need to grab that string from the url request and parse it to create a where statement to send to my database. I've looked online for an answer and keep reaching dead ends. At one time there was a "Current" property that was accessible in one of these modules, but it seems to be gone now:
@using Microsoft.AspNetCore.Http.Extensions;
@using System.Web;
@using System.Net.Http;
I'm using Blazor Server, C# 10, ASP.NET 6. I'm using all C#. No JS. I'm not doing an MVC project or Web API (just to circumvent some answers I got in another group).
I need to know what modules to access with a using statement, and some code that will feed me the URL. If it will parse the URL for me too, that would be great. Otherwise I can do that.
Any help appreciated.
@using Microsoft.AspNetCore.Http.Extensions;
@using System.Web;
@using System.Net.Http;
I'm using Blazor Server, C# 10, ASP.NET 6. I'm using all C#. No JS. I'm not doing an MVC project or Web API (just to circumvent some answers I got in another group).
I need to know what modules to access with a using statement, and some code that will feed me the URL. If it will parse the URL for me too, that would be great. Otherwise I can do that.
Any help appreciated.
Last edited: