asp.net-mvc Model binding Route value binding

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

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
}


Got any asp.net-mvc Question?