i can add string slug in ongetasync class. i tried also. the only problem here is routing. and i can't find a solution because they updated routing in .net core 3.
I recommend that you set aside time to learn Razor Page routing. It's a bit different than MVC. mikesdotnetting, the original responder to your question, created a wonderful guide which was linked above.
All-Star
53721 Points
24048 Posts
Re: How to create seo friendly url with category in Razor Pages Asp.Net Core 3
Nov 15, 2019 02:44 PM|mgebhard|LINK
I recommend that you set aside time to learn Razor Page routing. It's a bit different than MVC. mikesdotnetting, the original responder to your question, created a wonderful guide which was linked above.
https://www.learnrazorpages.com/razor-pages/routing
I recommend going through the link as it contains answers to your questions.