I’m very new to ASP.NET and making an attempt to construct an internet site to checklist a number of hundred thousand merchandise. It is like an e-commerce web site however no promoting. It should simply checklist the merchandise and have superior filtering options.
When the person selects filters and clicks apply, URL turns into this :
I question the db and return the merchandise primarily based on the choice, I additionally question the db to see if there’s a slug for these explicit filters. Assume there’s, and it is : short-sleeve-mini-dresses-below-100-dollars
How do i modify the URL so it appears like
I’m a bit confused. The place do I implement this? Within the OnGet methodology? Do I’ve to configure something first?
I'm utilizing ASP.NET Core 3.1 Razor Pages