I am creating a directory of sorts with members and their profiles. I'm using the MVC framework in .net.
I have a view that allows you to find members based on some criteria so my controller has a Find() action result, then another that accepts the post verb. So, somesite.com/members/find displays the search tools, then once the form has been submitted the same url displays the results. I now want the member name to link to another actionresult method in the same controller for displaying their profile and i want the url's to follow this pattern somesite.com/members/{username}.
How do i create a controller method that will do this?
Is there more to it than that?
Do i need to map new routes in the global.asax?
Thanks for the help.