How can I use the title instead of displaying the ID at the end of the URL?
I have developed a website using .NET 6 and Razor Page. In this website, there is a blog section which can be accessed by clicking on it to display a list of articles. By selecting an article, the details of the article can be displayed using the ID address of the article. Consider the following URL: https://localhost:44398/blog-details/4 The number 4 indicates an article with ID 4. According to SEO principles, I would prefer to display the title in the URL instead of the ID address. What can I do to resolve this issue?