ASP.NET MVC An Introduction. What is MVC The Model-View-Controller (MVC) is an architectural pattern separates an application into three main components:

Slides:



Advertisements
Similar presentations
Introduction to ASP.NET MVC
Advertisements

Apache Struts Technology
INTRODUCTION TO ASP.NET MVC AND EXAMPLE WALKTHROUGH RAJAT ARYA EFECS - OIM DAWG – 4/21/2009 ASP.NET MVC.
{ Model View Controller ASP.NET By Scott Crooks & Maggie Wettergreen.
Fabian Vilers Hands on ASP.NET MVC.
Building Applications using ASP.NET and C# / Session 1 / 1 of 21 Session 1.
ASP MVC s/mvc-4/getting-started-with- aspnet-mvc4/intro-to-aspnet- mvc-4.
Web Servers How do our requests for resources on the Internet get handled? Can they be located anywhere? Global?
Performed by:Gidi Getter Svetlana Klinovsky Supervised by:Viktor Kulikov 08/03/2009.
On-Line Video Store Vitaly Panor Tal Joffe September, 2009 Project Supervisor: Victor Kulikov VTVS.
Session-01. Layers Struts 2 Framework The struts 2 framework is used to develop MVC-based web application. Struts 1.0 was released in June The.
Tutorial -01. Objective In this session we will discuss about : 1.What is MVC? 2.Why MVC? 3.Advantages of MVC over ASP.NET 4.ASP.NET development models.
Who am I? ● Catalin Comanici ● QA for 10 years, doing test automation for about 6 years ● fun guy and rock star wannabe.
Web Application Architecture: multi-tier (2-tier, 3-tier) & mvc
Christopher M. Pascucci Basic Structural Concepts of.NET Browser – Server Interaction.
UNIT-V The MVC architecture and Struts Framework.
Storm-The-Castle an introduction to MVC, AR design pattern using Castle MonoRail and ActiveRecord rev 2 Date: 2009/10/04.
Ori Calvo, 2010 “If people want to have maximum reach across *all* devices then HTML will provide the broadest reach” Scott Guthrie,
Ivan Marković MSP Lead Software Developer at SPAN d.o.o. m.
MVC pattern and implementation in java
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
ABSTRACT Zirous Inc. is a growing company and they need a new way to track who their employees working on various different projects. To solve the issue.
5/5/2005Toni Räikkönen Internet based data collection from enterprises using XML questionnaires and XCola engine CoRD Meeting May 11th 2005.
An Introduction to ASP.NET Ed Dunhill blogs.msdn.com/edunhill SLIDE7.
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
ASP.NET and Model View Control Jesper Tørresø ITNET2 F08.
Building Web Sites with ASP.NET MVC Framework Noam King CTO Sela College
CS 415 N-Tier Application Development By Umair Ashraf June 28,2013 National University of Computer and Emerging Sciences Lecture # 5 Microsoft MVC3 Architecture.
JSF Introduction Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
The Web Architecture and ASP.NET. Slide 2 Review of the Web (1) It began with HTTP and HTML, which delivers static Web pages to browsers which would render.
Pemrograman Web MVC Programming and Design Pattern in PHP 5.
Alcatel-Lucent CDC Workshop, Coaching & Knowledge Transfer Architecture.
Jonathan Canfield Mavin Lisa Giss Professor Kenytt D. Avery
Architectural Patterns Support Lecture. Software Architecture l Architecture is OVERLOADED System architecture Application architecture l Architecture.
Introducing ASP.NET MVC Alan Dean. Model-View-Controller (MVC) is a well-known design pattern The original 1978 implementation is described in depth in.
Module 4: Creating a Microsoft ASP.NET Web Form. Overview Creating Web Forms Using Server Controls.
ASP NET MVC Soup-to-Nuts Peter
MVC Greg Phelps Trent Spangler. AGENDA  What is MVC  Web Forms vs MVC  Example  Learn More!
Model View Controller Architecture of Java Web Applications Dr. M V S Peri Sastry, Ph.D.[BITS-Pilani]
Getting Started with ASP.NET MVC BRIJ BHUSHAN MISHRA.
Model View Controller MVC Web Software Architecture.
Getting started with ASP.NET MVC Dhananjay
XFormsDB An XForms - Based Framework for Simplifying Web Application Development Markku Laine Master’s Thesis Presentation March 9, 2010.
MVC WITH CODEIGNITER Presented By Bhanu Priya.
ADO.NET FUNDAMENTALS BEGINNING ASP.NET 3.5 IN C#.
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.
Text INTRODUCTION TO ASP.NET. InterComm Campaign Guidelines CONFIDENTIAL Simply Server side language Simplified page development model Modular, well-factored,
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
Intro to MVC5 Bryan Soltis Bit-Wizards - Director of Technology & Research.
The New Face of ASP.NET ASP.NET MVC, Razor, and jQuery Ido Flatow | Senior Architect | Sela | This session is.
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.
Presented by Alexey Vedishchev Developing Web-applications with Grails framework American University of Nigeria, 2016 Intro To MVC Architecture.
© Copyright SELA software & Education Labs Ltd Baruch Hirsch St.Bnei Brak Israel
Introduction to ASP.NET MVC [Name] [ Address] [Blog URL]
Introduction to MVC Slavomír Moroz. Revision from Previous Lesson o ASP.NET WebForms applications Abstract away HTTP (similar to desktop app development)
Introduction The concept of a web framework originates from the basic idea that every web application obtains its foundations from a similar set of guidelines.
Avraham Leff James T. Rayfield IBM T.J. Watson Research Center
Haritha Dasari Josue Balandrano Coronel -
CO6025 Advanced Programming
SharePoint Cloud hosted Apps
Top Reasons to Choose Angular. Angular is well known for developing robust and adaptable Single Page Applications (SPA). The Application structure is.
…and web frameworks in general
Model-View-Controller Patterns and Frameworks
Model-View-Controller (MVC) Pattern
ASP.NET Module Subtitle.
…and web frameworks in general
Web Technologies Computing Science Thompson Rivers University
ASP.NET MVC Imran Rashid CTO at ManiWeber Technologies.
ASP.NET and Model View Control
Presentation transcript:

ASP.NET MVC An Introduction

What is MVC The Model-View-Controller (MVC) is an architectural pattern separates an application into three main components: the model, the view, and the controller. The ASP.NET MVC framework provides an alternative to the ASP.NET Web Forms pattern for creating MVC-based Web applications. The ASP.NET MVC framework is a lightweight, highly testable presentation framework that (as with Web Forms-based applications) is integrated with existing ASP.NET features, such as master pages and membership-based authentication. The MVC framework is defined in the System.Web.Mvc namespace and is a fundamental, supported part of the System.Web namespace. Cont....

ASP.NET Webforms Pros Robust foundation Can scale well Drag and Drop for speed Easy to get started Very large user base

ASP.NET Webforms Cons Viewstate makes pages heavy Very complex page life cycle 3 ID fields (ID, ClientID, UniqueID)‏ Business logic tends to end up in codebehind No Applications structure guidance View and Controller are mushed together

Why ASP.NET MVC Easier to test without IIS Page life cycle is greatly simplified Builds on top of ASP.NET – Caching – Authentication – Master Pages Viewstate is gone Cleaner urls by default

Model Domain objects

Model Model objects are the parts of the application that implement the logic for the application's data domain. Often, model objects retrieve and store model state in a database. For example, a Product object might retrieve information from a database, operate on it, and then write updated information back to a Products table in SQL Server.

View Transforms objects to presentation

View Should be relatively “dumb” No business logic Only Display logic / Transformation JavaScript is valid for client side - jQuery

Controller Well, it’s in control

Controller Controller has ‘Actions’ Decides what data is needed Tells which View to render Tells the View what to render The view only displays information, the controller handles and responds to user input and interaction.

Webforms vs MVC ASP.Net Webforms – faster starting point – drag and drop ASP.NET MVC – Unnecessary abstractions are gone – Easier to Unit Test components Can write bad or good code in both Either can be complex or simple

Thank you