Virtual techdays INDIA │ 9 th – 11 th January 2011 ASP.Net MVC Sundararajan S │ Associate Tech Architect, Aditi Technologies.

Slides:



Advertisements
Similar presentations
Welcome to Middleware Joseph Amrithraj
Advertisements

INTRODUCTION TO ASP.NET MVC AND EXAMPLE WALKTHROUGH RAJAT ARYA EFECS - OIM DAWG – 4/21/2009 ASP.NET MVC.
Introduction to MVC Adding a View Page NTPCUG Tom Perkins, Ph.D.
Fabian Vilers Hands on ASP.NET MVC.
ASP MVC s/mvc-4/getting-started-with- aspnet-mvc4/intro-to-aspnet- mvc-4.
Product Management System Xiao Zhou. Introduction Why This project? It is an opportunity to learn new things and gain some experiences. My friend is a.
Progress Report 11/1/01 Matt Bridges. Overview Data collection and analysis tool for web site traffic Lets website administrators know who is on their.
Virtual techdays INDIA │ November 2010 ASP.Net MVC Deep Dive Sundararajan S │ Associate Tech Architect, Aditi Technologies.
AMS304: Introduction to the ASP.NET Model View Controller (MVC) Framework Scott Hanselman Eilon Lipton Microsoft Microsoft
Click to edit Master subtitle style Enterprise.NET 1 CA - presentation HENDRI FRANYOHT082210N KRISHNAMURTHY SAMANTH YADAVHT082239L CAI XIANGHT082182A KHAING.
Web Application Architecture: multi-tier (2-tier, 3-tier) & mvc
Ori Calvo, 2010 “If people want to have maximum reach across *all* devices then HTML will provide the broadest reach” Scott Guthrie,
LAYING OUT THE FOUNDATIONS. OUTLINE Analyze the project from a technical point of view Analyze and choose the architecture for your application Decide.
Configuration Management and Server Administration Mohan Bang Endeca Server.
Real World Examples – Part II 7/26/2013Miro Remias, Sr. Solution Architect.
Introduction to ASP.NET MVC Blogging Engine in 60 minutes Adnan Masood
ASP.NET and Model View Control Jesper Tørresø ITNET2 F08.
Todd Snyder Development Team Lead Infragistics Experience Design Group.
Building Web Sites with ASP.NET MVC Framework Noam King CTO Sela College
ASP.NET application. Roadmap ASP.NET file types Bin directory Application updates Simple application from start to finish using a virtual directory Behind.
CS 415 N-Tier Application Development By Umair Ashraf June 28,2013 National University of Computer and Emerging Sciences Lecture # 5 Microsoft MVC3 Architecture.
Enterprise.NET 1 CA - presentation HENDRI FRANYOHT082210N KRISHNAMURTHY SAMANTH YADAVHT082239L CAI XIANGHT082182A KHAING MYAT THWEHT082208L AUNG MOEHT082184B.
Jean-Claude Trachsel Senior Consultant Trivadis AG Building a Website with ASP.NET MVC.
Alcatel-Lucent CDC Workshop, Coaching & Knowledge Transfer Architecture.
Slide 1 ASP Authentication There are basically three authentication modes Windows Passport Forms There are others through WCF You choose an authentication.
Building Secure Web Applications With ASP.Net MVC.
Introduction to ASP.NET MVC3 & MVC4 By: Chad W. Stoker (MCTS, MCP, MCAD) President & Chief Technology Officer.
Introduction to MVC Controllers NTPCUG Tom Perkins, Ph.D.
Getting Started with ASP.NET MVC BRIJ BHUSHAN MISHRA.
Enterprise.NET 1 CA - presentation HENDRI FRANYOHT082210N KRISHNAMURTHY SAMANTH YADAVHT082239L CAI XIANGHT082182A KHAING MYAT THWEHT082208L AUNG MOEHT082184B.
ASP.NET MVC in Action Austin Code Camp, 2009 Jeffrey Palermo Chief Technology Officer Headspring Systems.
Virtual techdays INDIA │ 9-11 February 2011 Caching Enhancement in ASP.NET 4.0 Abhijit Jana │ Consultant, Microsoft
Getting started with ASP.NET MVC Dhananjay
Useful Tips Disable Custom Errors in Web.Config HTML Doctype Folder Structure.
© FPT SOFTWARE – TRAINING MATERIAL – Internal use 04e-BM/NS/HDCV/FSOFT v2/3 JSP Application Models.
CS 4720 Model-View-Controller CS 4720 – Web & Mobile Systems.
MVC WITH CODEIGNITER Presented By Bhanu Priya.
ASP.NET MVC Telerik Academy
TDD, DI, and SoC with ASP.NET MVC Presented by Jeffrey Palermo CTO, Headspring Systems Microsoft MVP, MCSD.Net
Mobile Service with.NET By – Sharad Varshney. Agenda What is it supposed to do? Goals Applications System Design Future Work / Enhancements.
Introduction  “M” “V” “C” stands for “MODEL” “VIEW” “CONTROLLER”. ASP.NET MVC is an architecture to develop ASP.NET web applications in a different manner.
Virtual techdays INDIA │ November 2010 Building Visual Studio LightSwitch Application Kunal Chowdhury │ Software Engineer, Silverlight MVP.
ASP.NET MVC An Introduction. What is MVC The Model-View-Controller (MVC) is an architectural pattern separates an application into three main components:
Scott Guthrie
Text INTRODUCTION TO ASP.NET. InterComm Campaign Guidelines CONFIDENTIAL Simply Server side language Simplified page development model Modular, well-factored,
Virtual techdays INDIA │ 9-11 February 2011 SESSION TITLE Kamala Rajan S │ Technical Manager, Marlabs.
Sundararajan Subramanian Associate Technical Architect | Aditi Technologies Ltd., |
2 Architectural Considerations for the ASP.NET MVC Framework Jeffrey Palermo Chief Technology Officer Headspring Systems Austin, TX Session Code: ARC402.
Testing WebForms w/ Model-View-Presenter Erik Peterson.
Model-View-Controller an introduction to MVC design pattern with Castle.MonoRail Presentation: v1.0 Prepared by: Chorn Sokun
Introduction to ASP.NET development. Background ASP released in 1996 ASP supported for a minimum 10 years from Windows 8 release ASP.Net 1.0 released.
Intro to MVC5 Bryan Soltis Bit-Wizards - Director of Technology & Research.
Modern Development Technologies in SharePoint SHAREPOINT SATURDAY OMAHA APRIL, 2016.
INTRODUCTION TO MVC BY SUHA MNEIMNEH. WHAT’S THE AGENDA What is MVC? MVC components MVC vs web forms vs ASP.NET vocabulary When to create MVC application.
© Copyright SELA software & Education Labs Ltd Baruch Hirsch St.Bnei Brak Israel
Introduction to ASP.NET MVC [Name] [ Address] [Blog URL]
Introduction to .NET Florin Olariu
An introduction to ASP.Net with MVC Nischal S
MVC Architecture, Symfony Framework for PHP Web Apps
DotNetNuke® Web Application Framework
ASP.NET MVC Introduction
Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek
Building Web Applications with Microsoft ASP
CO6025 Advanced Programming
02 | Developing ASP.NET MVC 4 Models
ASP.NET MVC Web Development
ASP.NET MVC Imran Rashid CTO at ManiWeber Technologies.
ASP.NET and Model View Control
Introduction to ASP.NET Parts 1 & 2
ASP.NET Core Middleware Fundamentals
Presentation transcript:

virtual techdays INDIA │ 9 th – 11 th January 2011 ASP.Net MVC Sundararajan S │ Associate Tech Architect, Aditi Technologies

 MVC  ASP.Net MVC  Hybrid Projects in Asp.Net MVC virtual techdays INDIA │ 9 th – 11 th January 2011 S E S S I O N A G E N D A

MVC Design pattern Conery, Hanselman, Haack, Guthrie define it as… – An architectural pattern used to separate an application into three main aspects Model. Set of classes that represent data and business rules for how data can be changed and manipulated View. Application’s user interface Controller. Set of classes that handles communication from user, overall application flow, and application-specific logic

Web forms issues  Web forms don’t support as precise control over “separation of concerns”  Too much of an application ends up in the “code behind”  High level of abstraction  Not as “close to the metal” as some devs want  Web forms are not as well suited for testing  Testing the “code behind” code is difficult  Search engine optimization (SEO) issues  ASP.NET 4.0 addresses this

Model View Controller  Model - Data and Business Rules  View – Presentation layer – Aspx / HTML  Controller – Classes that are responsible for application flow

virtual techdays INDIA │ 9-11 Januarty 2011 Demo – Building a Blog engine in Asp.Net MVC Sundararajan S │ Assoc. Tech Architect, Aditi

ASP.Net MVC Request Processing Architecture Incoming HTTP Request IIS / ASP.Net URL Routing Module Serve the file directly Matching file on disk RouteTable.Routes IRouteHandler IHttpHandler MVCRouteHandler ControllerFactory IController Custom controller factory ActionMethod Writes directly to http response Return ActionResult Is A ViewResult? Not A ViewResult? ActionResult.Execute Routing Controller/ Actions

ASP.Net MVC Request Processing Architecture View Engine WebForm -.Aspx Render View Custom View Engine Views

1.Add ref to System.Web.Mvc.dll - need to browse for it under C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET MVC 2\Assemblies 2.Add ref to System.Web.Routing 3.Create an Empty MVC Project a)Copy the Controllers, Models and Views directories into the Web Forms application b)Copy the RegisterRoutes method in Global.asax to the Global.asax in the Web Forms project c)Add RegisterRoutes(RouteTable.Routes); to the Application_Start in the Web Forms project d)Add using System.Web.MVC and using System.Web.Routing to Global.asax in the Web Forms project 9 Hybrid Projects

4.Add the following to the section of web.config Hybrid projects

5.Add the following to the section of web.config >

6.Enable MVC Tooling in Web Form Application a)Right-click on project and select unload b)Right-click on project and select Edit.csproj c)In section add at beginning of list of Guids: {F85E285D-A4E AB1D724D3325} d)Right-click on project and select reload 7.Close and reopen solution

Thank you