This is one of them ââ?¬Å? coming of age ââ?¬Â stories about how a lowly method becomes a full fledged Action in ASP.NET MVC. You might think the two things are the same thing, but thatââ?¬â?¢s not the case. It is not just any method gets to take the mantle of being an Action method. Routing Like any good story, it all begins at the beginning with Routing. By default, one of the routes defined in the MVC project template has the following URL pattern: {id}/ {action} /{id} When a request comes in and matches that route, we populate a dictionary of route values (accessible via the RequestContext ) based on this route. For example, if a request comes in for: /home/ list /123 We add the key ââ?¬Å?actionââ?¬Â with the value ââ?¬Å?listââ?¬Â to the route values dictionary ( Weââ?¬â?¢ve...(read more) ...
Go to the complete details ...