I would like to know how to configure routing in asp.net mvc so that I have similar urls for stackoverflows urls?
Do you think ASP.Net MVC is ready for production?
I assume that there is a helper class to create the urls that creates the urls of the question.
The part that I am wondering is how this is implemented on the controller side. I think that most likely the home controller has questions, and the identifier is 115634. Then the name of the question appears - I think this is for search engine optimization. My problem is what the controller signature will look like.
Is it a question (int? Id) or Question (string? Param) that contains both id and title?
How to implement this?
source
share