asp.net-mvc Route value binding


Example

Given some default routing such as {controller=Home}/{action=Index}/{id?} if you had the url https://stackoverflow.com/questions/1558902

This would go to the QuestionsController and the value 1558902 would be mapped to an id parameter of an index action, i.e.

public ActionResult Index(int? id){
     //id would be bound to id of the route
}