ASP.NET MVC 2.0 2009-12-23. Intro class MainContoller { function Index() {... raw data HTML CSS JavaScript REQUEST RESPONSE.

Slides:



Advertisements
Similar presentations
INTRODUCTION TO ASP.NET MVC AND EXAMPLE WALKTHROUGH RAJAT ARYA EFECS - OIM DAWG – 4/21/2009 ASP.NET MVC.
Advertisements

Introduction to MVC Adding a View Page NTPCUG Tom Perkins, Ph.D.
Introduction to MVC Action Methods, Edit View, and a Search Feature NTPCUG Dr. Tom Perkins.
Practical ASP.NET MVC 2 Rasmus Kromann-Larsen. This talk Introduction to ASP.NET MVC 2 Observations from my current project.
{ Model View Controller ASP.NET By Scott Crooks & Maggie Wettergreen.
Building Modern Websites with ASP.NET Rachel Appel
Fabian Vilers Hands on ASP.NET MVC.
ASP.NET MVC Wisdom Building a Real-World Application in 60 minutes Maarten Balliauw
Introducing Mapbuilder Michael Adair Natural Resources Canada.
ASP MVC s/mvc-4/getting-started-with- aspnet-mvc4/intro-to-aspnet- mvc-4.
IS 360 Course Introduction. Slide 2 What you will Learn (1) The role of Web servers and clients How to create HTML, XHTML, and HTML 5 pages suitable for.
1 The World Wide Web Architectural Overview Static Web Documents Dynamic Web Documents HTTP – The HyperText Transfer Protocol Performance Enhancements.
Website Development with PHP and MySQL Introduction.
Direct Congress Dan Skorupski Dan Vingo. Inner workings Reminder: MVC design pattern Procedural view: From request to response o Request passed to a view.
Virtual techdays INDIA │ November 2010 ASP.Net MVC Deep Dive Sundararajan S │ Associate Tech Architect, Aditi Technologies.
Struts 2.0 an Overview ( )
Agenda What is AJAX? What is jQuery? Demonstration/Tutorial Resources Q&A.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
Ori Calvo, 2010 “If people want to have maximum reach across *all* devices then HTML will provide the broadest reach” Scott Guthrie,
ASP.NET 5 Visual Studio 2015 Templates Bill Wolff Rob Keiser June 10, 2015.
Joomla! Reborn: coding in version 1.5. It finally works the way you always wanted Completely overhauled codebase Improved security Better menu and URL.
Standalone Java Application vs. Java Web Application
Introduction to ASP.NET MVC Information for this presentation was taken from Pluralsight Building Applications with ASP.NET MVC 4.
CS 415 N-Tier Application Development By Umair Ashraf June 28,2013 National University of Computer and Emerging Sciences Lecture # 5 Microsoft MVC3 Architecture.
Website Design Lecture 1. Outline Introduction to the module Outline of the Assessment Schedule Lecture Static XHTML, client side and server side Why.
Murach’s ASP.NET 4.0/VB, C1© 2006, Mike Murach & Associates, Inc.Slide 1.
Arnold Geraldo Designing and Making of The Online Auction Website Using CakePHP Framework.
Introduction to MVC Controllers NTPCUG Tom Perkins, Ph.D.
Getting Started with ASP.NET MVC BRIJ BHUSHAN MISHRA.
Getting started with ASP.NET MVC Dhananjay
Nested componentization for advanced Web portal solutions Svebor Prstačić, dipl. ing., Dr. sc. Ivan Voras, Dr. sc. Mario Žagar.
ASP.Net MVC Extensibility, scalability and testability Andrew Locatelli Woodcock.
Web Design and Development. World Wide Web  World Wide Web (WWW or W3), collection of globally distributed text and multimedia documents and files 
 Previous lessons have focused on client-side scripts  Programs embedded in the page’s HTML code  Can also execute scripts on the server  Server-side.
Date : 3/04/2010 Web Technology Solutions Class: PHP Web Application Frameworks.
 Pages within our Framework  Categories within Framework  Products within Framework  Model-View-Controller description of Page, category and products.
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.
ASP.NET MVC An Introduction. What is MVC The Model-View-Controller (MVC) is an architectural pattern separates an application into three main components:
Virtual techdays INDIA │ 9-11 February 2011 SESSION TITLE Kamala Rajan S │ Technical Manager, Marlabs.
Jean-Claude Trachsel Senior Consultant, Trivadis AG The good news.
Nivo 300 ASP.NET MVC 4 Danijel Malik Artifis Danijel Malik s.p.
The New Face of ASP.NET ASP.NET MVC, Razor, and jQuery Ido Flatow | Senior Architect | Sela | This session is.
BIT 286: Web Applications Lecture 04 : Thursday, January 15, 2015 ASP.Net MVC -
Power BI for Developers Rui Romano SQLSaturday.com
BIT 286: Web Applications ASP.Net MVC. Objectives Applied MVC overview Controllers Intro to Routing Views ‘Convention over configuration’ Layout files.
© Copyright SELA software & Education Labs Ltd Baruch Hirsch St.Bnei Brak Israel
Technologies and Characteristics Outline Description –Architecture –ER Model –Pages Template Reasons of some choices Problems Encountered Some.
1 Using MVC 6. MVC vs. ASP Web Forms Both run under ASP.NET Can coexist In Web Forms, browser requests page. xxx.aspx and xxx.aspx.cs on the server Page.
Introduction to MVC Slavomír Moroz. Revision from Previous Lesson o ASP.NET WebForms applications Abstract away HTTP (similar to desktop app development)
Build Data Driven Apps with ASP.NET Core Rachel Appel.
Web Technology Solutions
Jim Fawcett CSE686 – Internet Programming Summer 2010
Jim Fawcett CSE686 – Internet Programming Spring 2014
Jim Fawcett CSE686 – Internet Programming Spring 2012
ASP MVP Web applications and Razor
C#: ASP.NET MVC Overview
Play Framework: Introduction
Web Software Model CS 4640 Programming Languages for Web Applications
Haritha Dasari Josue Balandrano Coronel -
IS 360 Course Introduction
DotnetConf 11/17/ :06 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE.
Web Browser server client 3-Tier Architecture Apache web server PHP
Web Systems Development (CSC-215)
ASP.NET Core* MVC and Web API Shahed Chowdhuri
Back end Development CS Programming Languages for Web Applications
MVC Controllers.
ASP.NET MVC Web Development
Client-Server Model: Requesting a Web Page
Back end Development CS Programming Languages for Web Applications
Introduction to ASP.NET MVC
Presentation transcript:

ASP.NET MVC

Intro class MainContoller { function Index() {... raw data HTML CSS JavaScript REQUEST RESPONSE CONTROLLER MODELVIEW

Sample public class MainController : Controller { public ActionResult Index(int id) { var model = new MainModel(id); return View(“Index”, model); } public class MainModel { public int Id; public string Title; public string Content; } MainController.cs MainModel.csIndex.aspx

ASPX vs PHP public class MainController : Controller { public ActionResult Index(int id) { var model = new MainModel(id); return View(“Index”, model); } ” /> MainController.cs Index.aspx class MainController implements Controller { public function Index($id) { $model = new MainModel($id); return $this->View(“Index”, model); } MainController.php Title ?> Content ?> FindFile(“image.jpg”) ?>” /> Index.php

ASP.NET MVC 1.0 community (ms-pl) MVC frame url rewriting and routing basic validation helpers (html generators) page caching

ASP.NET MVC 2.0 templated helpers areas support for Data Annotations client validation AsyncController strongly-typed input helpers bug fixes, minor features

Sample 1 public class ProductViewModel { [Price(MinPrice = 1.99)] public double Price { get; set; } [Required] public string Title { get; set; } }

Sample 2 [ChildActionOnly] public ActionResult Menu() { var menu =... return PartialView(menu); } Partial rendering - builds a string and then sends to output - direct outtput

Community developers extra helpers T4 templates localization programming techniques blogs, tutorials partial caching (donut caching) webshop (cart, order, PayPal) Oxite

Road map MVC (pattern) – 1979 ASP.NET MVC 1.0 – 17th mar 2009 ASP.NET MVC 2.0 RC – 17th dec 2009 ASP.NET MVC 2.0 – ?, integrated in VS2010

Links Wikipedia: MVC