Chapter 1: An Introduction To ASP.NET Web Programming

Slides:



Advertisements
Similar presentations
The Web Wizards Guide to HTML Chapter One World Wide Web Basics.
Advertisements

4.01 How Web Pages Work.
Web Forms and ASP.NET Programming Right from the Start with Visual Basic.NET 1/e 12.
Building Applications using ASP.NET and C# / Session 1 / 1 of 21 Session 1.
Introduction to ASP.NET. 2 © UW Business School, University of Washington 2004 Outline Static vs. Dynamic Web Pages.NET Framework Installing ASP.NET First.
Web Development Using ASP.NET CA – 240 Kashif Jalal Welcome to week – 1.1 of…
Introduction to Web Database Processing
Web-Based Applications
World Wide Web1 Applications World Wide Web. 2 Introduction What is hypertext model? Use of hypertext in World Wide Web (WWW) – HTML. WWW client-server.
Introduction to Web Interface Technology (CSE2030)
Introduction to ASP.NET, Second Edition2 Chapter Objectives.
1 Software Testing and Quality Assurance Lecture 32 – SWE 205 Course Objective: Basics of Programming Languages & Software Construction Techniques.
Creating your website Using Plain HTML. What is HTML? ► Web pages are authored in HyperText Markup Language (HTML) ► Plain text is marked up with tags,
Computer Science 101 Web Access to Databases Overview of Web Access to Databases.
1 Chapter 20 — Creating Web Projects Microsoft Visual Basic.NET, Introduction to Programming.
Christopher M. Pascucci Basic Structural Concepts of.NET Browser – Server Interaction.
Joe Hummel, PhD Dept of Mathematics and Computer Science Lake Forest College Lecture 8: WebForms — Web-based.
1 Web Servers (IIS and Apache) Outline 9.1 Introduction 9.2 HTTP Request Types 9.3 System Architecture 9.4 Client-Side Scripting versus Server-Side Scripting.
1 Introduction to Web Development. Web Basics The Web consists of computers on the Internet connected to each other in a specific way Used in all levels.
ASP.Net, Web Forms and Web Controls 1 Outline Introduction Simple HTTP Transaction System Architecture Creating and Running a Simple Web Form Example Web.
Chapter 9 Web Applications Copyright © 2011 by The McGraw-Hill Companies, Inc. All Rights Reserved. McGraw-Hill.
1 Web Database Processing. Web Database Applications Static Report Publishing a report is prepared from a database application and exported to HTML DB.
INTRODUCTION TO WEB DATABASE PROGRAMMING
Introduction to.Net and ASP.Net Course Introduction Build Your Own ASP.Net Website: Chapter 1 Microsoft ASP.Net Walkthrough: Creating a Basic Web Forms.
9-1 aslkjdhfalskhjfgalsdkfhalskdhjfglaskdhjflaskdhjfglaksjdhflakshflaksdhjfglaksjhflaksjhf.
Tutorial: Introduction to ASP.NET Internet Technologies and Web Application 4 th February 2010.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
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.
Object-Oriented Application Development Using VB.NET 1 Chapter 12 Web Forms, HTML, and ASP.NET.
An Introduction to ASP.NET Ed Dunhill blogs.msdn.com/edunhill SLIDE7.
With your friendly Web Developer, Chris.. Terminology  HTML - > Hypertext Markup Language  CSS -> Cascading Style Sheet  open tag  close tag  HTTP->Hypertext.
VS.NET Syllabus By Peter Huang.
ASP.NET The.NET Framework. The.NET Framework is Microsoft’s distributed run-time environment for creating, deploying, and using applications over the.
© 2008 Dr. Paul Walcott – The University of the West Indies: Cave Hill CampusDr. Paul Walcott COMP6325 Advanced Web Technologies Dr. Paul Walcott The University.
Beginning Web Site Development Module 1 – Dynamic Web Site Development Fundamentals of building dynamic Web sites with ASP.NET 2.0 and C# Version.
Chapter 6 The World Wide Web. Web Pages Each page is an interactive multimedia publication It can include: text, graphics, music and videos Pages are.
Advanced Web Forms with Databases Programming Right from the Start with Visual Basic.NET 1/e 13.
Creating Web Applications Using ASP.NET Chapter Microsoft Visual Basic.NET: Reloaded 1.
Web Programming: Client/Server Applications Server sends the web pages to the client. –built into Visual Studio for development purposes Client displays.
McGraw-Hill © 2009 The McGraw-Hill Companies, Inc. All rights reserved. Programming with Visual Web Developer Chapter 9.
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.
Murach’s ASP.NET 4.0/VB, C1© 2006, Mike Murach & Associates, Inc.Slide 1.
1 CS 3870/CS 5870 Note04 Session Variables and Post Back.
ELECTRONIC COMMERCE- Framework, Technologies and Applications © Tata McGraw-Hill 1 Electronic Commerce: Information Distribution and Messaging.
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.
Introducing ASP.NET 2.0. Internet Technologies WWW Architecture Web Server Client Server Request Response Network HTTP TCP/IP PC/Mac/Unix + Browser (IE,
C# AND ASP.NET What will I do in this course?. MAJOR TOPICS Learn to program in the C# language with the Visual Studio IDE (Interactive Development Environment)
The Web and Web Services Jim Graham NR 621 Spring 2009.
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,
The Problem of State. We will look at… Sometimes web development is just plain weird! Internet / World Wide Web Aspects of their operation The role of.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
ASP.NET (Active Server Page) SNU OOPSLA Lab. October 2005.
IS-907 Java EE World Wide Web - Overview. World Wide Web - History Tim Berners-Lee, CERN, 1990 Enable researchers to share information: Remote Access.
Web Server.
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.
Chapter 2: Develop A One Page Web Application Liu, Jie Professor Department of Computer Science Western Oregon University
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.
ASP.NET – Active Server Pages ASP.NET is a server-side technology for developing web applications based on the.NET Framework.
Java Programming: Advanced Topics 1 Building Web Applications Chapter 13.
1 Chapter 22 World Wide Web (HTTP) Chapter 22 World Wide Web (HTTP) Mi-Jung Choi Dept. of Computer Science and Engineering
ASP.NET WEB Applications. ASP.NET  Web application framework developed by Microsoft  Build dynamic data driven web applications and web services  Subset.
Chapter 1 Getting Started with ASP.NET Objectives Why ASP? To get familiar with our IDE (Integrated Development Environment ), Visual Studio. Understand.
Computing with C# and the .NET Framework
Protocols and networks in the TCP/IP model initially.
Chapter 23 – ASP.NET Outline 23.1 Introduction NET Overview
Chapter 27 WWW and HTTP.
Presentation transcript:

Chapter 1: An Introduction To ASP.NET Web Programming Liu, Jie Professor Department of Computer Science Western Oregon University Liuj@wou.edu

Web Applications The Client/Server model -- a computation model for PCs to connect to other computers, like the monitor and mainframe architecture model. Client –sends a request Thin client Thick client Server – answers the requests For Web based applications Communication are through HTTP (hypertext Transfer Protocol) What is a protocol Client is a browser such as IE (Internet Explorer) A browser displays pages defined using HTML tags (Hypertext, Markup Language) Static pages – not going to change Dynamic pages – formed dynamically according to the requests The application itself is defined on a web server such as IIS (Internet Information Services), with in turn may interact with other server such as a Database Management System (DBMS) that is hosted on a database server

Web Applications http://sundown.wou.edu:81/en/mail.html?lang=en&laurel=on&cal=1 Port Domain name Page/file Parameter #1 Protocol Path Start of parameters Parameter #2

Dynamic Pages A dynamic page is generated each time it is called The same page may be posted back to the server for processing. Nevertheless, the page itself is stateless, i.e., it will not maintain the value of a variable between each loading of the page

More About State “State” refers to the values of a variable or object Variables in a web page is stateless meaning that they do not “remember” their previous values Methods used to maintain a variable’s state include Use view state Use session or application state object Using static variable (C# feature) Use cookie Use database (show Website 3 example and Visual Studio)

A Closer Look at the example The .ASPX page Page directives <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> AutoEventWireup allows Page_Load linked with page load event and called when the page is loaded The .ASPX.CS page using System.Web.UI.HtmlControls; public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) … … if (IsPostBack)

A Closer Look at the example More about the Visual Studio in coming chapters A page and a page behind it (separation of presentation and business logic) Controls, properties, and events If I change nTemp to be a static variable, what will happen? Different between design view and source view

The .Net Framework Structure Remote users over Internet Any Browser Remote Systems Over Internet Any Hardware/OS Local users Traditional Window application This picture is to show the architecture of the technology at a conceptual level. Some language compilers are included in the .Net framework. Others such as Cobol would have to be purchased. Java and or J## (Microsoft’s Java Language) would have to be installed separately. .Net Framework ASP.NET Application Services Windows Forms Controls Windows Application Services Web Forms Web Services .Net Compliant Programming Languages ** VB.NET, C++, C#, J++, etc .Net Framework Class Library Common Language Runtime Operating System Windows 2000/2003/NT/98/ME/XP and may be other OSs

VB, C#, and J++ // Declare and initialize a string.string strFruit = "oranges,apples,peaches,kumquats,nectarines,mangos"; // Declare an array. string[] arrFruit; // Place each word in an array element. arrFruit = strFruit.Split(new Char [] {',', '.', ':'}); // Sort the array. System.Array.Sort(arrFruit); // Put the sorted array back in the string. strFruit = System.String.Join(" ", arrFruit);

Summary Have general understanding about the following Web applications Web page Stateless ASP.NET components (IIS, frame work, CLR, etc) Client/Server Dynamic pages URL Helpful web sites www.msdn.microsoft.com www.Asp.net