ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,158 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have razpr pages :ProductEidt
and its url will be http://localhost/ProductEdit?id=1
can i change the@page directive
to use the url like http://localhost/p-e-1 ?
ProductEidt to p-e and the parameter is 1
Can the following article help?
How to Use Routing in ASP.NET Core 3.0 Razor Pages
See the section titled "Route Templates and Segments."