This presentation is foucsed on Introduction to MVC. Aimed at .NET developers that are total beginners in the Web Applications world and want to get started using familiar Microsoft .NET technologies.
For the existing ASP.NET web form user this slides provides and idea about what are the advatages of using MVC, tradeoffs between MVC and Web Forms.
In most cases, in order to get the page to execute correctly, you need to execute it in a real HttpContext. Since many of the properties of HttpContext are not settable (like Request and Response), it is extremely difficult to construct fake requests to send to your page objects. This makes unit testing webforms pages a nightmare, since it couples all your tests to needing all kinds of context setup.
routes are configured on application start by calling a staticmethod "RegisterRoutes" in RouteConfig class.
We can find RouteConfig.cs file under App_Start folder in ASP.NET MVC 5 application.
Rapid application development go with asp.net Web Forms, Unit Testing - If automatic unit testing is most important factor for you MVC
Does your team have experience on ASP or non-Microsoft technologies such as android, ios, JSP, ROR, PHP?
Is JavaScript going to be used extensively?
Looking for good performance?
Planning to reuse the same input logic?
How to Use it?
Add a reference to three core librares System.Web.Routing,System.Web.Abstractions, System.Web.MVC
Add the controllers and view directories
Update the Web.Config to load the three assemblies at runtime and registering the URLRewriting Module
Registering the Routes in Global Asax Model.