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 Insert
> Step 2: And Like the video. BONUS: You can also share it!


Given some default routing such as {controller=Home}/{action=Index}/{id?} if you had the url

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 Question?