I have an asp.net MVC project where I need to define some custom routes. Similar to what you see for posts in Wordpress, where the route has the form postid-postname:
12-i-am-post
I know how to do something like postid/postname:
12/i-am-post.
But how do I make a route that combines two, for example:
mywebsite.com/12-postname-is-her
user605334
source
share