ASP.NET Architecture Mike Taulty Developer & Platform Group Microsoft Ltd

Slides:



Advertisements
Similar presentations
Malek Kemmou Technology Architect, Application Platform Microsoft Middle East and Africa Overview of ASP.NET 2.0.
Advertisements

Unit 02. ASP.NET Introduction HTML & Server controls Postbacks Page Lifecycle.
11 ASP.NET Slides based off:. 22 B ACKGROUND - W EB A RCHITECTURE Web Server PC/Mac/Unix/... + Browser Client Server Request:
DEV392: Extending SharePoint Products And Technologies Through Web Parts And ASP.NET Clint Covington, Program Manager Data And Developer Services - Office.
Anatomy of an ASP.NET Page. Slide 2 My Version of the Big Picture (1) ASP Worker (Engine) Your application Runs Server Other applications User 1User 2.
Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 1.1 of…
Web Platform Introduction With a focus on “free” Mike Taulty Developer & Platform Group Microsoft Ltd
Introduction to ASP.NET, Second Edition2 Chapter Objectives.
Introduction to ASP.NET
Internet Information Server (IIS)
Chapter 11 ASP.NET JavaScript, Third Edition. 2 Objectives Learn about client/server architecture Study server-side scripting Create ASP.NET applications.
IIS 7: The Next Generation Web Application Server Platform Michael Volodarsky Program Manager Web Platform and Tools Team Microsoft Corporation.
Building Scalable and Reliable Web Applications Vineet Gupta Technology Evangelist Microsoft Corporation
 Mark Friedman Architect Developer Division Microsoft Corporation.
Developing an ASP.NET Application and using the Mobile Internet Toolkit Bart Vande Ghinste Developer Consultant Microsoft Belux.
Christopher M. Pascucci Basic Structural Concepts of.NET Browser – Server Interaction.
ASP.NET
Web Forms. Agenda Web forms Web controls Code separation Dynamic compilation System.Web.UI.Page User controls.
Joe Hummel, PhD Dept of Mathematics and Computer Science Lake Forest College Lecture 8: WebForms — Web-based.
WSS 3.0 Architecture and Enhancements Ashvini Shahane Member – Synergetics Research Lab.
Tutorial: Introduction to ASP.NET Internet Technologies and Web Application 4 th February 2010.
OOP and Web Applications Michael Juřek Architect Evangelist Microsoft Corporation.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
CIS 375—Web App Dev II ASP.NET 2 Introducing Web Forms.
An Introduction to ASP.NET Ed Dunhill blogs.msdn.com/edunhill SLIDE7.
.Net is a collection of libraries, templates and services designed to make programming applications of all kinds, easier, more flexible (multi platform),
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  ASP.NET is a web development platform, which provides a programming model, a comprehensive software infrastructure and various services required.
ASP.Net Web Applications. Characteristics of a typical data driven web application Web Server HTML Graphics Active-X Java Applets HTTP Request ADO / JDBC.
© Minder Chen, ASP.NET 2.0: Introduction - 1 ASP.NET 2.0 Minder Chen, Ph.D. Framework Base Class Library ADO.NET: Data & XML.
ASP.NET Controls. Slide 2 Lecture Overview Identify the types of controls supported by ASP.NET and the differences between them.
Introduction to ASP.NET 1www.tech.findforinfo.com.
DEV402 Extending the ASP.NET Runtime Jurgen Postelmans Microsoft Regional Director BeLux U2U.
ASP.NET.. ASP.NET Environment ASP.NET is Microsoft's programming framework that enables the development of Web applications and services. It is an easy.
Murach’s ASP.NET 4.0/VB, C1© 2006, Mike Murach & Associates, Inc.Slide 1.
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.
Christopher M. Pascucci Basic Structural Concepts of.NET Managing State & Scope.
Overview of Previous Lesson(s) Over View  SDI programs  The Application Wizard can generate single-document interface (SDI) applications that work.
Introducing ASP.NET 2.0. Internet Technologies WWW Architecture Web Server Client Server Request Response Network HTTP TCP/IP PC/Mac/Unix + Browser (IE,
Server Control Tips & Tricks Presented by: Patrick Hynds Microsoft Regional Director CriticalSites CTO MCSD, MCSE+I, MCDBA, MCSA, MCP+Site Builder, MCT.
Anatomy of an ASP.NET Page. Slide 2 Compiling an ASP.NET Page An ASP.NET page is compiled when it is rendered for the first time A page is compiled to.
ASP.NET Architecture Internals Mike Shaw Developer & Platform Group Microsoft Ltd.
Module 4: Creating a Microsoft ASP.NET Web Form. Overview Creating Web Forms Using Server Controls.
Module 1: Working with ASP.NET. Overview Introducing ASP.NET Creating Web Forms Adding ASP.NET Code to a Page Handling Page Events Discussion: ASP vs.
Beginning ASP.NET (Part 3).NET 2.0 Core Libraries Tuc Goodwin.
PAGE DIRECTIVES. Page Directives  They are instructions, inserted at the top of an ASP.NET page, to control the behavior of ASP.NET pages.  So it is.
Christopher M. Pascucci.NET Programming CodeBehind.
ASP.NET 4 Unleashed Chapter 1. .aspx page: contains C# script and HTML code including tags. Listing 1.1 FirstPage.aspx.
ASP.NET (Active Server Page) SNU OOPSLA Lab. October 2005.
Module 4: Creating a Web Application with Web Forms
Understanding Web Applications Lesson 4. Objective Domain Matrix Skills/ConceptsMTA Exam Objectives Understanding Web Page Development Understand Web.
Overview of Previous Lesson(s) Over View  ASP is a technology that enables scripts in web pages to be executed by an Internet server.  ASP.NET is a.
Introduction to.NET Building.NET Applications Mike Taulty Developer & Platform Group Microsoft Ltd
Svetlin Nakov Telerik Corporation
PostBack  When an initial request for a page (a Web Form) is received by ASP.NET, it locates and loads the requested Web Form (and if necessary compiles.
Building Custom Controls with ASP.NET and the Microsoft ®.NET Framework Rames Gantanant Microsoft Regional Director, Thailand
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.
Sergey Sidorov PhD student, computer software chair Computer Science department.
Building More Powerful ASP.NET Applications with IIS7 Michael Volodarsky COM303 Program Manager Microsoft Corporation.
ASP.NET Overview Brian Hitney Developer Evangelist Microsoft Corporation
Module 4: Troubleshooting Web Servers. Overview Use IIS 7.0 troubleshooting features to gather troubleshooting information Use the Runtime Control and.
Computing with C# and the .NET Framework
ASP.NET Forms.
Web Application Web Application are programs that can be executed either on a Web server or in a Web browser. An Online store accessed through a browser.
Chapter 8 User Controls.
ASP.NET Web Forms and Web Services
Anatomy of an ASP.NET Page
ASP.NET
ASP.NET 4.0 State Management Improvements – Deep Dive
ASP.NET Imran Rashid CTO at ManiWeber Technologies.
Presentation transcript:

ASP.NET Architecture Mike Taulty Developer & Platform Group Microsoft Ltd

HTTP.sys Serving up HTTP Internet Information Server WWW Service Config Mgr Process Mgr INETINFO metabase Worker Process ISAPI Extension ISAPI Extension ISAPI Filter Worker Process ASP.NET ISAPI ASP.NET ISAPI CLR Application Domain Configure/Monitor

ASP.NET ISAPI HTTP.sys ASP.NET Bridging IIS to the world of.NET code HttpModule HttpHandler Web Services (.asmx) Web Services (.asmx) Web Pages (.aspx) Web Pages (.aspx) Web Controls (.ascx) Web Controls (.ascx) Custom (.?) Custom (.?)

Writing Http Handlers

ASP.NET Web Forms Server controls encapsulate behaviour Provide VB-Like Model Support compiled languages VB, C#, JScript, COBOL, etc. Enable separation of code from content Developers and designers can work independently Support multiple clients automatically Rich DHTML, HTML 3.2, etc… Mobile controls for small devices

Web Forms: Key Concepts Server controls Encapsulate UI generation, user interaction Fire events for state changes Page execution is “staged”, not linear Page fires events for phases of processing Init, Load, Render, Unload, etc Event handler code Handles events raised by controls, page Can be located in-line, or in separate file or DLL

Web Form Server Controls Server controls encapsulate behavior Declarative, tag with runat="server" Generate HTML that is sent to the client Can support multiple client types DHTML, HTML 3.2, WML, etc. Process input sent from client Bind to data in Forms collection Fire events for notifications

Web Form Server Controls Allow look and feel to be customized Template properties allow fine grained control Templates are UI fragments (Header, Item, etc.) Are stateless on the server Controls can store needed state in a ViewState ViewState travels with the page or URL

Simple ASP.NET Pages

HTTP.sys ASP.NET Page Execution Cycle Request.aspx Code Behind Request.aspx Control <html> </html> Generate Code Generate Code Compile (VB/C#) Compile (VB/C#) Assembly Page txtform Name: Name:.ASPX Page LiteralControl Page TextBox HtmlForm

HTTP.sys ASP.NET Page Execution Cycle Request.aspx Assembly Page Ctl1Ctl2 PageChanged? Re-use Cached?

Tag-Based Persistence Tags parsed at runtime Control instance created Properties set from tag attributes & child tags first item first item second item second item third item third item Class to create Marks tag as a server control Namespace reference ID of the instance Sets the liststyle property on l1 Sets the Items property on l1

Control Processing – First Load Init Load PreRender SaveViewState Render Dispose Each control instantiated, set to initial state, added to control tree User code runs, tests !IsPostBack condition to data bind 1 st values CreateChildControls() ensures controls are ready to render Controls save current state (if different than initial values) Each control renders itself to the Response Pages and all controls are disposed

Control Processing – Post Back Init Load PreRender SaveViewState Render Dispose Last state of the controls is restored from ViewState values Posted data (in the HTTP form) is passed to its associated control Events are fired for controls in tree order, except the event that caused the post. It’s fired last. LoadViewState Postback data Postback events

ASP.NET Web Forms

ASP.NET Application Services Application & Session State Session state storage choice Caching Flexible data cache Parameterised output caching for pages and controls Data Binding Diagnostics Applicaton & Page Level tracing system Performance monitor counters Security Authentication and Authorization Configuration System

Resources Web Forms

© 2004 Microsoft Limited. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.