2. Agenda About Me What is MVC? How to Install ASP.NET MVC? ASP.NET MVC Overview Framework & Application Structure Application Execution Controllers & Routing Understanding Views, Models & Controllers New Features in ASP.NET MVC 4 11-Oct-2011 Presented By : Senthamil Selvan 2
4. What is MVC? 11-Oct-2011 Presented By : Senthamil Selvan 4
5. Features of MVC 11-Oct-2011 Presented By : Senthamil Selvan 5
6. How to Install MVC? Can be downloaded from the below site http://www.asp.net/mvc/mvc3 http://www.asp.net/mvc/mvc4 Also can be installed through Web Platform Installer (Recommended) Can side by side install MVC 3 and MVC 4. Both will have a project template installed for Visual Studio 2010 11-Oct-2011 Presented By : Senthamil Selvan 6
11. Asynchronous Support Is now able to use the Async CTP Task support for asynchronous 11-Oct-2011 Presented By : Senthamil Selvan 11 public async Task<ActionResult> Index(string city) { varnewsService = new NewsService(); varsportsService = new SportsService(); return View("Common", new PortalViewModel { NewsHeadlines = await newsService.GetHeadlinesAsync(), SportsScores= await sportsService.GetScoresAsync() }); }
12. Demo Mobile Support Demo Questions? 11-Oct-2011 Presented By : Senthamil Selvan 12