I want to know the logic behind the request pass from view to controller?how controller understand to which ActionMethod has to invoke for a particular click?"
Asked
Active
Viewed 59 times
1
-
http://msdn.microsoft.com/en-us/library/cc668201.ASPX or http://weblogs.asp.net/scottgu/archive/2007/12/03/asp-net-mvc-framework-part-2-url-routing.aspx – Satpal Oct 21 '13 at 15:55
-
FYI, unless you narrow the scope of your question, this is probably going to end up getting closed for being either too broad or off topic. – valverij Oct 21 '13 at 15:56
-
for example @Html.ActionLink("MyLink", "Index", "Home", null, new { @class = "shadowborder"}), is saying go to the HomeController and do the code under Index, by the way can you add this css for aesthetics. The question is I might agree with valverij a little broad. – Animus Miles-Militis Oct 21 '13 at 16:15
2 Answers
0
MVC uses Front Controller Pattern
Refer
ASP.Net MVC - Request Life Cycle and Asp.Net MVC Life cycle
and lot more can be found in google. Its already explained in lot of places

Community
- 1
- 1

Murali Murugesan
- 22,423
- 17
- 73
- 120
0
Here is the short anwser -
Controller factory - responsible for creating instances of controllers to service a request
Action invoker - responsible for finding and invoking the action method in the controller class.
If you want to know more details, you want to read Pro ASP.NET MVC 4 - Controller Extensibility - Chapter 17.

Win
- 61,100
- 13
- 102
- 181