Greetings. How can I make access to my article or post by their name?
For example: Like at stackoverflow has access to this question by the name
access to article by article name in ASP.NET MVC2access-to-article-by-article-name-in-asp-net-mvc2
Greetings. How can I make access to my article or post by their name?
Share
On StackOverflow the
namepart is completely ignored. It’s the id that is important. This works: access to article by article name in ASP.NET MVC2 and links to this question. To generate links that contain thenamein the URL you could define the following route:And then: