Introduction to ASP.NET MVC

Slides:



Advertisements
Similar presentations
Svetlin Nakov Director Training and Consulting Activities National Academy for Software Development (NASD) ASP.NET 3.5 New Features.
Advertisements

3 Copyright © 2005, Oracle. All rights reserved. Designing J2EE Applications.
Bob German Principal Architect Introduction to Cloud Hosted Apps Your apps here!
12 October 2011 Andrew Brown IMu Technology EMu Global Users Group 12 October 2011 IMu Technology.
How are we CREATING Your Web and Global Presence.
Microsoft Office SharePoint Portal Server 2007 Introduction to InfoPath Forms Services Daryl L. Rudolph.
Introduction to .NET Framework
Tahir Nawaz Introduction to.NET Framework. .NET – What Is It? Software platform Language neutral In other words:.NET is not a language (Runtime and a.
.NET 3.5 SP1 New features Enhancements Visual Studio 2008 SP1 New features Enhancements Additional features/enhancements.
Microsoft SharePoint 2010 technology for Developers
Lecture 12: Web Services MicrosoftIntroducing CS using.NETJ# in Visual Studio.NET Objectives “Web Services are objects callable across a network.
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.
ASP.NET Web Forms vs. MVC Choosing the right one for web development Harish Ranganathan Senior Evangelist Microsoft Corporation.
Fabian Vilers Hands on ASP.NET MVC.
ASP MVC s/mvc-4/getting-started-with- aspnet-mvc4/intro-to-aspnet- mvc-4.
1 CS6320 – Why Servlets? L. Grewe 2 What is a Servlet? Servlets are Java programs that can be run dynamically from a Web Server Servlets are Java programs.
User Group 2015 Version 5 Features & Infrastructure Enhancements.
Punit Shah Technical Lead | Microsoft
By Bob Bunson  Simulation of software development project  Fictitious system from Concept to Code  Oriented around the.
UNIT-V The MVC architecture and Struts Framework.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
Ori Calvo, 2010 Hi-Tech College
Ori Calvo, 2010 “If people want to have maximum reach across *all* devices then HTML will provide the broadest reach” Scott Guthrie,
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
An Introduction to ASP.NET Ed Dunhill blogs.msdn.com/edunhill SLIDE7.
ASP. Net is a rich web framework that leverages well known patterns and JavaScript frameworks to build great web experiences quickly.
ASP.NET and Model View Control Jesper Tørresø ITNET2 F08.
Building Web Sites with ASP.NET MVC Framework Noam King CTO Sela College
ASP.NET Web Application and Development Digital Media Department Unit Credit Value : 4 Essential Learning time : 120 hours Digital.
COLD FUSION Deepak Sethi. What is it…. Cold fusion is a complete web application server mainly used for developing e-business applications. It allows.
JSF Introduction Copyright © Liferay, Inc. All Rights Reserved. No material may be reproduced electronically or in print without written permission.
Jean-Claude Trachsel Senior Consultant Trivadis AG Building a Website with ASP.NET MVC.
Jonathan Canfield Mavin Lisa Giss Professor Kenytt D. Avery
Active Server Pages (ASP), also known as Classic ASP or ASP Classic, was Microsoft's first server-side script engine for dynamically generated web pages.
HTML5 AND THE FUTURE JAVASCRIPT PLATFORM Marcelo Lopez Ruiz Senior Software Design Engineer Microsoft Corporation.
Getting Started with ASP.NET MVC BRIJ BHUSHAN MISHRA.
Microsoft ASP.NET Beginning Object-Oriented Web Design Bryan Jenks © Integrated Ideas 2005.
Trunica Inc. 500 East Kennedy Blvd #300 Tampa, FL Cross Platform Mobile Apps With Cordova and Visual Studio 2015 © Copyright 2015.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
ASP.NET MVC Telerik Academy
UNDERSTANDING YOUR OPTIONS FOR CLIENT-SIDE DEVELOPMENT IN OFFICE 365 Mark Rackley
IE Developer Tools Jonathan Seitel Program Manager.
ASP.NET MVC An Introduction. What is MVC The Model-View-Controller (MVC) is an architectural pattern separates an application into three main components:
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.
APACHE STRUTS ASHISH SINGH TOMAR ast2124. OUTLINE Introduction The Model-View-Controller Design Pattern Struts’ implementation of the MVC Pattern Additional.
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.
Modern Development Technologies in SharePoint SHAREPOINT SATURDAY OMAHA APRIL, 2016.
Bob German Principal Architect Developing SharePoint Applications with MVC and Entity Framework.
A S P. Outline  The introduction of ASP  Why we choose ASP  How ASP works  Basic syntax rule of ASP  ASP’S object model  Limitations of ASP  Summary.
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
Chapter 1 Getting Started with ASP.NET Objectives Why ASP? To get familiar with our IDE (Integrated Development Environment ), Visual Studio. Understand.
ASP.NET MVC Introduction
Data Virtualization Tutorial… CORS and CIS
The Modern ASP.NET Tech Stack!
GeneXus 9.0: Web applications at their higher power
Haritha Dasari Josue Balandrano Coronel -
Unit 6-Chapter 2 Struts.
ASP.NET Web Forms Vs. ASP.NET MVC ASP.NET is Microsoft’s big leap after Active Server Pages (ASP), ASP.NET provides flexible and unified web development.
Top Reasons to Choose Angular. Angular is well known for developing robust and adaptable Single Page Applications (SPA). The Application structure is.
Introduction to ASP.NET MVC
Beginning Object-Oriented Web Design
ASP.NET Roadmap Mike Ormond Developer & Platform Group Microsoft Ltd
ASP.NEXT The ASP.NET 3.5 Extensions
ASP.NET Module Subtitle.
#01# ASP.NET Core Overview Design by: TEDU Trainer: Bach Ngoc Toan
Running C# in the browser
Blazor A new framework for browser-based .NET apps Ryan Nowak
Presentation transcript:

Introduction to ASP.NET MVC Chapter 1 ASP.NET MVC Development

Introduction to ASP.NET MVC Contents Introduction to ASP.NET MVC The case for ASP.NET MVC Tooling up 2

Introduction to ASP.NET MVC 1. The Case for ASP.NET MVC Introduction to ASP.NET MVC What is ASP.NET MVC? ASP.NET Web Forms – issues Web development – state of play ASP.NET MVC architecture ASP.NET MVC benefits ASP.NET Web Forms or MVC? 3

Introduction to ASP.NET MVC What is ASP.NET MVC? Introduction to ASP.NET MVC ASP.NET MVC is a web development platform from Microsoft A significant evolution for web developers using the Microsoft platform ASP.NET MVC emphasises the best of the ASP.NET platform and agile development: Clean architecture Design patterns Testability 4

ASP.NET Web Forms – Issues Introduction to ASP.NET MVC Traditional ASP.NET Web Forms were a great step forward when they first emerged Much better than classic Active Server Pages (ASP) Simple, especially for relatively small applications However, there are some significant issues with ASP.NET Web Forms ViewState transmission can be onerous The ASP.NET page life cycle is complicated and subtle The ASP.NET code-behind model encourages developers to mix presentation logic and application logic Web Forms attempt to encapsulate the intricacies of HTML and HTTP, but this can sometimes be an obstacle It's difficult to automate unit testing for ASP.NET Web Forms 5

Web Development – State of Play Introduction to ASP.NET MVC Key features of Web development today: Ajax Web standards REST (Representational State Transfer) Agile and test-driven development 6

ASP.NET MVC Architecture Introduction to ASP.NET MVC The controller is probably the most interesting player Processes user input Works with the model to handle the request Manages application logic E.g. navigating a multi-step process, authentication, etc. Prepares the data to be displayed This is known as "view data" in ASP.NET MVC Controller Model HTTP Request View Response HTML View data 7

Introduction to ASP.NET MVC ASP.NET MVC Benefits Introduction to ASP.NET MVC Here are the key benefits of ASP.NET MVC: Model-View-Controller architecture Extensibility (ASP.NET MVC components are pluggable) Reusable and consistent model classes Testability Flexible routing system Tight control over HTML (standards-compliant) Leverages strengths of the ASP.NET platform Simplified JavaScript/Ajax integration 8

Introduction to ASP.NET MVC ASP.NET Web Forms or MVC? Introduction to ASP.NET MVC ASP.NET Web Forms is still appropriate for: Small Web applications MVC would be overkill Simple Intranet-style Web applications Fast networks, so you don't care about ViewState transmission overheads Quick-to-market apps Maybe you don't really care about unit testing or long-term maintenance Web apps where you have a lot of corporate data Where you just want to display the data in data grids Scenarios where the drag-and-drop simplicity of Web Forms outweighs its weaknesses A word about migration… You can mix ASP.NET WebForms and MVC in the same Web app Allows you to migrate WebForms to MVC piecemeal, if you want to 9

Introduction to ASP.NET MVC 2. Tooling Up Introduction to ASP.NET MVC Core development tools MVC4 Downloading and installing MVC 4 10

Core Development Tools Introduction to ASP.NET MVC The following tools include ASP.NET MVC by default: Visual Studio 2010 (any edition) Visual Web Developer 2010 Express (free) The following tools don't include ASP.NET MVC by default (you must download ASP.NET MVC separately from http://www.asp.net/mvc/) Visual Studio 2008 with SP1 (any edition) Visual Web Developer 2008 Express with SP1 (free) 11

Introduction to ASP.NET MVC ASP.NET MVC 4 builds on ASP.NET MVC 1, 2, and 3 Adds features to simplify code and support deeper extensibility Installs side-by-side with ASP.NET MVC 2 Key new features: Expressive views, including the new Razor view engine Internet and Intranet project templates HTML 5 support Extensible scaffolding with MvcScaffold integration Hooks for Dependency Injection and global action filters JavaScript and Ajax improvements Model validation improvements Controller improvements Page caching and data caching 12

Downloading and Installing MVC 4 Introduction to ASP.NET MVC Download available from MVC 4 home page http://www.asp.net/mvc/mvc4 We'll install via installer executable C:\AspNetMvc4\Products\AspNetMVC4ToolsUpdateSetup.exe Effect: Adds new ASP.NET MVC 4 project templates Extends existing APIs, adds new APIs 13

Introduction to ASP.NET MVC Summary Introduction to ASP.NET MVC The case for ASP.NET MVC Tooling up 14