February 16, 2013. Aaron Cuffman Andy Nagle Adam Schultz Web Site.

Slides:



Advertisements
Similar presentations
Unit 02. ASP.NET Introduction HTML & Server controls Postbacks Page Lifecycle.
Advertisements

ASP.NET Intro An introduction to the languages and communication of an ASP.NET system.
Modern Web Application Frameworks CSE 591 – Security and Vulnerability Analysis Spring 2015 Adam Doupé Arizona State University
11 Getting Started with ASP.NET Beginning ASP.NET 4.0 in C# 2010 Chapters 5 and 6.
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 in Microsoft Visual Studio Slide 2 Lecture Overview Introduce Visual Studio 2013 Create a first ASP.NET application.
Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 3-1 of…
Chapter 1: An Introduction To ASP.NET Web Programming
Multiple Tiers in Action
Performed by:Gidi Getter Svetlana Klinovsky Supervised by:Viktor Kulikov 08/03/2009.
1 Software Testing and Quality Assurance Lecture 32 – SWE 205 Course Objective: Basics of Programming Languages & Software Construction Techniques.
Introduction to ASP.Net ISYS 350. ASP.NET ASP.NET is a server-side technology for creating dynamic web pages. ASP.NET allows you to use a selection of.
 Mark Friedman Architect Developer Division Microsoft Corporation.
ASP.NET
Web Form Fundamentals MacDonald Ch. 5 MIS 324 MIS 324 Professor Sandvig Professor Sandvig.
Tutorial: Introduction to ASP.NET Internet Technologies and Web Application 4 th February 2010.
INTRODUCTION TO DHTML. TOPICS TO BE DISCUSSED……….  Introduction Introduction  UsesUses  ComponentsComponents  Difference between HTML and DHTMLDifference.
1 CS 3870/CS 5870 Static and Dynamic Web Pages ASP.NET and IIS.
JavaScript & jQuery the missing manual Chapter 11
T U T O R I A L  2009 Pearson Education, Inc. All rights reserved Bookstore Web Application Introducing Visual Web Developer 2008 Express and the.
CIS 375—Web App Dev II ASP.NET 2 Introducing Web Forms.
Ch6:creating consistent looking web sites. Master pages Master page defines a combination of fixed content and content place holder to hold the web page(.aspx)
Database-Driven Web Sites, Second Edition1 Chapter 8 Processing ASP.NET Web Forms and Working With Server Controls.
Dr. Azeddine Chikh IS444: Modern tools for applications development.
.Net is a collection of libraries, templates and services designed to make programming applications of all kinds, easier, more flexible (multi platform),
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.
Overview of Previous Lesson(s) Over View  ASP.NET Pages  Modular in nature and divided into the core sections  Page directives  Code Section  Page.
Beginning Web Site Development Module 1 – Dynamic Web Site Development Fundamentals of building dynamic Web sites with ASP.NET 2.0 and C# Version.
ASP.NET and Model View Control Jesper Tørresø ITNET2 F08.
Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 4-1 of…
Web Programming: Client/Server Applications Server sends the web pages to the client. –built into Visual Studio for development purposes Client displays.
ASP.NET Controls. Slide 2 Lecture Overview Identify the types of controls supported by ASP.NET and the differences between them.
1 Accelerated Web Development Course JavaScript and Client side programming Day 2 Rich Roth On The Net
HTML. Principle of Programming  Interface with PC 2 English Japanese Chinese Machine Code Compiler / Interpreter C++ Perl Assembler Machine Code.
Murach’s ASP.NET 4.0/VB, C1© 2006, Mike Murach & Associates, Inc.Slide 1.
CA Professional Web Site Development Class 2: Anatomy of a Web Site and Web Page & Intro to HTML.
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.
Overview of Previous Lesson(s) Over View  SDI programs  The Application Wizard can generate single-document interface (SDI) applications that work.
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.
Things like Textboxes, Lables, ‘n’at. ASPX page is not HTML Controls are rendered into markup that a browser can understand Some controls are rendered.
Beginning ASP.NET (Part 3).NET 2.0 Core Libraries Tuc Goodwin.
Christopher M. Pascucci.NET Programming CodeBehind.
The Module Road Map Assignment 1 Road Map We will look at… Internet / World Wide Web Aspects of their operation The role of clients and servers ASPX.
ASP.NET 4 Unleashed Chapter 1. .aspx page: contains C# script and HTML code including tags. Listing 1.1 FirstPage.aspx.
Module 4: Creating a Web Application with Web Forms
Asp.NET Core Server Controls. Slide 2 Lecture Overview Understanding the types of ASP.NET controls HTML controls ASP.NET (Web) controls.
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.
Mr. Justin “JET” Turner CSCI 3000 – Fall 2015 CRN Section A – TR 9:30-10:45 CRN – Section B – TR 5:30-6:45.
1111 Creating HTML Programatically Objectives You will be able to Invoke C# code on the server from an ASP.NET page. Write C# code to create HTML.
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.
The Jukebox is a.NET web application that plays streaming music files to it’s clients according to their favorites musical genres. Clients can rate the.
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.
ASP.NET Architecture Mike Taulty Developer & Platform Group Microsoft Ltd
ASP.NET Overview Brian Hitney Developer Evangelist Microsoft Corporation
111 State Management Beginning ASP.NET in C# and VB Chapter 4 Pages
Chapter 2 Creating Website with Web Forms. Objectives Understand the different project types and templates when building ASP.NET web sites. The different.
Chapter 1 Getting Started with ASP.NET Objectives Why ASP? To get familiar with our IDE (Integrated Development Environment ), Visual Studio. Understand.
Web Forms, HTML, and ASP.NET
Chapter 8 User Controls.
Haritha Dasari Josue Balandrano Coronel -
AJAX.
Introduction to Internet Programming
PHP + Oracle = Data-Driven Websites
04 | Web Applications Gerry O’Brien | Technical Content Development Manager Paul Pardi | Senior Content Publishing Manager.
Anatomy of an ASP.NET Page
ASP.NET
Building ASP.NET Applications 2
Web Development Using ASP .NET
ASP.NET Imran Rashid CTO at ManiWeber Technologies.
MASTER PAGES.
Presentation transcript:

February 16, 2013

Aaron Cuffman Andy Nagle Adam Schultz Web Site

Objectives Learn the fundamentals of Server-client relations and Page events Sate management Controls and Layouts Databinding JavaScript and ASP.NET

Procedures Seminar will consist of 5 Lessons & 5 Labs Labs are designed for individuals Group work will be accommodated Each Lab is self contained If you are unable to complete a lab or partial seminar attendance occurs; labs can be completed on your own Next lab will not require prior lab completion Open Conversation Object is to help you learn the material

Agenda 9:00 – 9:30 Lesson 1: Introduction to ASP.NET 9:30 – 10:00 Lab 2 10:00 – 10:30 Lesson 2: State Management 10:30 – 10:45 Break 10:45 – 11:15 Lesson 3: Standard SQL 11:15 – 11:45 Lab 2 11:45 – 12:30 Break 12:30 – 1:00 Lesson 3: Controls 1:00 – 1:30 Lab 3 1:30 – 2:00 Lesson 4: Data Binding 2:00 – 2:30 Lab 4 2:30 – 3:00 Lesson 5: JavaScript 3:00 – 3:30 Lab 5 3:30 – 4:00 Wrap Up

An adventure in TIME and SPACE!

What is ASP.NET? Web Application framework Used in building dynamic web pages Built on CLR You can write ASP.NET code in any.NET language C#, VB, etc.

What is ASP.NET? Gives the “feel” of building a WinForm/WPF style page, but with web pages Can be misleading if you haven’t seen the page life cycle [EPIC FORECHADOWING] which we will cover soon.

Design vs Code Behind ASPX (Design) and.CS/.VB (Code Behind) Separates display from business logic Makes it easy to have multiple people working on the same page Designer working on the designer page Programmer working on the Code Behind Not restricted to using Visual Studio Ex: Blend

Design vs Code Behind ASPX page The “designer” view. This describes the layout of the page Code Behind Page Responds to events from the designer view Page logic goes here Redraw the page, make new queries, show/hide page sections

Request Path Two major roles. Client and Server Client Makes requests to the server Server Turns requests into HTML pages (or files, or media)

Page Life Cycle Once a server receives a request for a page, it needs to render that page Takes the ASPX file plus the code for the events and turns them into HTML

Pre Init Raised after the start stage is complete and before the initialization stage begins. Used to: Create dynamic controls Set master page Set themes Initialize page content before Init

Init Raised after all controls have been initialized and any skin settings have been applied The Init event of individual controls occurs before the Init event of the page. Used to: Initialize controls before Load Last chance to do anything before the ViewState is loaded

Load The Page object calls the OnLoad method on the Page object, and then recursively does the same for each child control until the page and all controls are loaded. Used to: Set Properties for controls Establish Database Connections “ready” your page

Control Events Button Click, Checkbox Changed, Textbox Changed, etc. These events are processed in the order they occur

Pre Render Raised after the Page object has created all controls that are required in order to render the page Last chance to change anything before rendering the page

Render This is not an event; instead, at this stage of processing, the Page object calls this method on each control. Turns Controls into markup to send to the browser If you create a custom control, you typically override this method to output the control's markup.

Unload Raised for each control and then for the page. Used as final cleanup for controls At the end of this process, the page is destroyed. During the unload stage, the page and its controls have been rendered, so you cannot make further changes to the response stream.

Page Life Cycle Much more information on MSDN