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.

Slides:



Advertisements
Similar presentations
Introduction to .NET Framework
Advertisements

Languages for Dynamic Web Documents
ASP.NET and AJAX. Agenda What is ASP.NET? ASP.NET Versions Difference Between ASP and ASP.NET ASP.NET Architecture Overview ASP.NET IIS life cycle Overview.
Building Applications using ASP.NET and C# / Session 1 / 1 of 21 Session 1.
Web Development in Microsoft Visual Studio Slide 2 Lecture Overview Introduce Visual Studio 2013 Create a first ASP.NET application.
ISYS 546 Client/Server Database Application Development.
Introduction to ASP.NET. 2 © UW Business School, University of Washington 2004 Outline Static vs. Dynamic Web Pages.NET Framework Installing ASP.NET First.
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.
Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 1.1 of…
Introduction to ASP.NET What is.NET What is ASP.NET and how is different from ASP –ASP: server side technology for creating dynamic web pages using scripting.
Kashif Jalal CA-240 (072) Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 2 of…
1 Classic ASP vs. ASP.NET Technical Information and Market Adoption Lance Welker University of San Diego Dr. Rebman MSIT 526 December 20, 2005.
Chapter 1: An Introduction To ASP.NET Web Programming
Cloud Computing Lecture #7 Introduction to Ajax Jimmy Lin The iSchool University of Maryland Wednesday, October 15, 2008 This work is licensed under a.
ISYS 512 Business Application Design and Development with.Net David Chao.
Copyright © 2002 Pearson Education, Inc. Slide 4-1 Choosing the Hardware for an E-commerce Site  Hardware platform  Refers to all the underlying computing.
Chapter 11 ASP.NET JavaScript, Third Edition. 2 Objectives Learn about client/server architecture Study server-side scripting Create ASP.NET applications.
ASP &.NET Microsoft's Solution for Dynamic Web Development Mohammad Ali Choudhry Milad Armeen Husain Zeerapurwala Campbell Ma Seul Kee Yoon.
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.
It’s World Wide! I NTRODUCTION TO T HE WEB 1 Photo courtesy:
Christopher M. Pascucci Basic Structural Concepts of.NET Browser – Server Interaction.
Windows.Net Programming Series Preview. Course Schedule CourseDate Microsoft.Net Fundamentals 01/13/2014 Microsoft Windows/Web Fundamentals 01/20/2014.
INTRODUCTION TO WEB DATABASE PROGRAMMING
Introduction to.NET Content : – Introduction to.NET Technology – Introduction to Web Based Applications – Introduction to ASP.NET 1 By : Amrendra Sharan.
© 2004 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill/Irwin Programming the Web Using ASP.Net Chapter 2: The ASP.Net Template Dave.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Introduction to ASP.NET. Prehistory of ASP.NET Original Internet – text based WWW – static graphical content  HTML (client-side) Need for interactive.
Copyright © cs-tutorial.com. Introduction to Web Development In 1990 and 1991,Tim Berners-Lee created the World Wide Web at the European Laboratory for.
ASP.NET INTRODUCTION INTO وزارة التربية و التعليم العالي كلية العلوم و التكنولوجيا قسم علوم الحاسوب و تكنولوجيا المعلومات اعداد الاستاذ: عبد الله محمد.
An Introduction to ASP.NET Ed Dunhill blogs.msdn.com/edunhill SLIDE7.
ISYS 512 Business Application Design and Development with.Net David Chao.
Basics of Web Databases With the advent of Web database technology, Web pages are no longer static, but dynamic with connection to a back-end database.
ASP.NET + Ajax Jesper Tørresø ITNET2 F08. Ajax Ajax (Asynchronous JavaScript and XML) A group of interrelated web development techniques used for creating.
Introduction to Silverlight. Slide 2 What is Silverlight? It’s part of a Microsoft Web platform called Rich Internet Applications (RIA) There is a service.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Meir Botner David Ben-David. Project Goal Build a messenger that allows a customer to communicate with a service provider for a fee.
Introduction to.NET Framework. .NET – What Is It? Software platform Language neutral In other words:.NET is not a language (Runtime and a library for.
ASP.NET  ASP.NET is a web development platform, which provides a programming model, a comprehensive software infrastructure and various services required.
Introduction to ASP.NET 1www.tech.findforinfo.com.
® IBM Software Group © 2007 IBM Corporation J2EE Web Component Introduction
ASP.NET application. Roadmap ASP.NET file types Bin directory Application updates Simple application from start to finish using a virtual directory Behind.
McGraw-Hill © 2009 The McGraw-Hill Companies, Inc. All rights reserved. Programming with Visual Web Developer Chapter 9.
Murach’s ASP.NET 4.0/VB, C1© 2006, Mike Murach & Associates, Inc.Slide 1.
NOTE: To change the image on this slide, select the picture and delete it. Then click the Pictures icon in the placeholder to insert your own image. WEB.
Introduction to ASP.NET1. 2 Web applications in general Web applications are divided into two parts –The server part –The client part The server part.
1 Geospatial and Business Intelligence Jean-Sébastien Turcotte Executive VP San Francisco - April 2007 Streamlining web mapping applications.
Introducing ASP.NET 2.0. Internet Technologies WWW Architecture Web Server Client Server Request Response Network HTTP TCP/IP PC/Mac/Unix + Browser (IE,
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.
Web Development in Microsoft Visual Studio Slide 2 Lecture Overview How to create a first ASP.NET application.
INTRODUCTION TO WEB APPLICATION Chapter 1. In this chapter, you will learn about:  The evolution of the Internet  The beginning of the World Wide Web,
Web Architecture Introduction
ASP.NET in Definition: 1.ASP.NET is a web application framework developed and marketed by Microsoft to allow programmers to build dynamic web sites,
Introduction to ASP.NET What is ASP.NET and how is different from ASP –ASP: server side technology for creating dynamic web pages using scripting languages.
Introduction and Principles Web Server Scripting.
 Web pages originally static  Page is delivered exactly as stored on server  Same information displayed for all users, from all contexts  Dynamic.
Introduction to ASP.NET What is.NET What is ASP.NET and how is different from ASP –ASP: server side technology for creating dynamic web pages using scripting.
ISYS 512 Business Application Design and Development with.Net David Chao.
Svetlin Nakov Telerik Corporation
Overview Web Technologies Computing Science Thompson Rivers University.
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.
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.
A Detailed Introduction To Visual Studio.NET CRB Tech ReviewsCRB Tech Reviews introduces you to the world of Visual.
ASP – Web Programming Class  Ravi Anand. ASP – Active Server Pages What is ASP? - Microsoft Technology - Can Run using IIS/PWS/Others - Helps us create.
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
Introducing the Microsoft® .NET Framework
Web Development in Microsoft Visual Studio 2013
IS 360 Course Introduction
ASP.NET Module Subtitle.
Introducing the .NET Framework
ASP.NET Imran Rashid CTO at ManiWeber Technologies.
Presentation transcript:

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 those pages Browser Web Server HTTP Request HTTP Response (Web page)

Slide 3 Review of the Web (2) Scripting languages were created to execute client code within the context of a browser Browser Web Server HTTP Request HTTP Response (Web page / code) Client code (JavaScript) (VBScript)

Slide 4 Review of the Web (3) Server-side applications were created to execute code and dynamically generate Web pages based on a particular request Browser Web Server HTTP Request HTTP Response (Web page / code) Client code (script) Interpret request Generate HTML and script

Slide 5 Review of the Web (4) And now we have AJAX / JSON making partial page requests Browser Web Server HTTP Request HTTP Response (Web page / code) Client code (script) Interpret request Generate HTML and script Execute AJAX Request Client code (Silverlight)

Slide 6 The Great Client/Server Debate Where do we process? Client or server What get’s processed where? And the interaction between client and server Where does bandwidth fit into this equation? Where does processing power (and latency) fit into this equation?

Slide 7 And all the Related Technologies jQuery – yes it works with ASP AJAX – ASP has some interesting AJAX libraries We can (AND WILL) write our own handlers for those AJAX requests Silverlight is a well-used client-side framework part of RIA ( us/library/ee707344(v=vs.91).aspx) us/library/ee707344(v=vs.91).aspx Azure?

Slide 8 Current Client Technologies And what browser (and version) do you use? Scripting details vary from browser to browser DOM objects can vary a bit too HTML5 and CSS3 support varies but is pretty good

Slide 9 Current Server Technologies Apache WebSphere (IBM) Oracle / Sun (doing ASP.NET, CGI and PHP) Microsoft and IIS HP and others have offerings Largely based on Apache In summary, there are quite a few

Slide 10 ASP.NET (History) Introduced with the.NET Framework in 2002 It made Web development look like traditional Windows development ASP.NET 2.0 introduced in 2005 gave developers enhanced database tools This included desktop improvements too MVC was introduced / much more later ASP.NET 3.0 released with 2008

Slide 11 ASP.NET (History) ASP.NET 4 released with Visual Studio 2010 and version 4 of the Framework Razor was introduced along with ASP.NET Web pages Web pages and Web Forms are different There is an open-source movement (We will see how this pans out) Support for HTML 5 and CSS 3 is very good

Slide 12 ASP.NET (History) Current version is Visual Studio 2013 and Framework version 4.5.1

Slide 13 ASP.NET (Architecture)

Slide 14 What is a.NET Application (1)? It looks and works surprisingly like Java Source code (VB, C#, etc.) is compiled into a machine independent assembly language (MSIL or IL) The executable file is called an assembly IL can be disassembled using the IL Disassembler (ILDASM)

Slide 15 What is a.NET Application (2)? MSIL is translated into native executable code via the Just-in-Time (JIT) compiler It’s possible to precompile an application using the Native Image Generator (Ngen) All.NET applications run under the control of the Common Language Runtime (CLR) We call this managed code

Slide 16 What is a.NET Application (3)? On the desktop, the application runs under the control of the Common Language Runtime With Respect to Web applications, all execution is handled on the server (IIS) us/library/bb aspx us/library/bb aspx

Slide 17 The ASP.NET Runtime When IIS sees an.aspx file, it loads aspnet_isapi.dll to create the Page object Application behavior is controlled by configuration files Machine.config is the global machine configuration file Web.config allows you to override default configuration items Both are XML documents

Slide 18 Programming ASP.NET Conceptually it’s much like the VB programming you are used to You create procedures in event handlers and general procedures You declare variables Instead of a form, the primary user interface is the WebForm

Slide 19 Current ASP Technologies ASP Web Forms Have been around for a while and have continued to evolve ASP.NET MVC It stands for Model-View-Controller It’s an alternative to Web Forms ASP.NET Web Pages (Razor) A more lightweight processing model Looks a bit like PHP Silverlight and RIA

Slide 20 ASP.NET Web Forms Provides server-side tools for site navigation Menus, Drill-down toolbars, breadcrumbs, etc. Authentication tools Database connections Client and server executable code State management and caching Authentication and role management Deployment tools Robust development tools (Visual Studio)

Slide 21 ASP.NET Web Forms (Introduction) Client (browser) HTTP Server (IIS) ASP Worker Process request Generate client page (HTML) request response

Slide 22 Web Forms and Stateful Web Programming Remember that the Web is stateless Web servers to not persist state from one request to the next ASP.NET does allow stateful programming though various hidden fields and serialized data server side session objects Much more on state management later

Slide 23 Web Forms and Event-Driven programming ASP.NET, though serialization, simulates event-driven programming ASP.NET events differ significantly from Windows Forms events

Slide 24 Introduction to the Web Forms Component Model Remember that.NET is an OOP environment and ASP.NET is no exception As the developer, you create.aspx pages that make up a Web application When executed, the.aspx page is compiled into a custom class that inherits from System.Web.UI.Page As the developer, you can program against this class just as you would program against any class It all happens on the server!

Slide 25 ASP.NET MVC MVC is the acronym form Model-View- Controller It’s a design pattern coined by the GOF It requires version 4 of the.NET Framework It’s an alternative to traditional ASP.NET Web forms

Slide 26 Web Matrix and Razor A “lightweight” technology to create simple Web sites Requires version 4.0 of the.NET Framework and a few add-ins

Slide 27 Silverlight It run on a client (browser) and communicates with a server via RIA services Netflix?