Web Forms: Web Pages with Server Controls. 2 Objectives Understand the background of the Internet, and the notions of packet switching and a stateless.

Slides:



Advertisements
Similar presentations
Basic Internet Terms Digital Design. Arpanet The first Internet prototype created in 1965 by the Department of Defense.
Advertisements

4.01 How Web Pages Work.
 To publish information for global distribution, one needs a universally understood language, a kind of publishing mother tongue that all computers may.
Project 1 Introduction to HTML.
© 2010, Robert K. Moniot Chapter 1 Introduction to Computers and the Internet 1.
CIS101 Introduction to Computing Week 05. Agenda Your questions Exam next week - Excel Introduction to the Internet & HTML Online HTML Resources Using.
Introduction to Web Interface Technology (CSE2030)
Introduction to HTML 2006 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
Introduction to HTML 2006 INT197B. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
Introduction to HTML 2004 CIS101. What is the Internet? Global network of computers that are connected and communicate via a series of Protocols Protocols.
HTML Introduction HTML
WWW and Internet The Internet Creation of the Web Languages for document description Active web pages.
© 2004, Robert K. Moniot Chapter 1 Introduction to Computers and the Internet.
Chapter 2 Introduction to HTML5 Internet & World Wide Web How to Program, 5/e Copyright © Pearson, Inc All Rights Reserved.
Web Programming Language Dr. Ken Cosh Week 1 (Introduction)
HTML 1 Introduction to HTML. 2 Objectives Describe the Internet and its associated key terms Describe the World Wide Web and its associated key terms.
Chapter ONE Introduction to HTML.
Web Design Basic Concepts.
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.
Chapter 1 Internet & Web Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D. 1.
INTRODUCTION TO WEB DATABASE PROGRAMMING
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.
Chapter 16 The World Wide Web Chapter Goals Compare and contrast the Internet and the World Wide Web Describe general Web processing Describe several.
DATA COMMUNICATION DONE BY: ALVIN SAMPATH CARLVIN SAMPATH.
Chapter 16 The World Wide Web. 2 The Web An infrastructure of information combined and the network software used to access it Web page A document that.
16-1 The World Wide Web The Web An infrastructure of distributed information combined with software that uses networks as a vehicle to exchange that information.
CPS120: Introduction to Computer Science The World Wide Web Nell Dale John Lewis.
Copyright © Curt Hill The Internet An Introduction.
Chapter 1 Internet & Web Basics Key Concepts Copyright © 2013 Terry Ann Morris, Ed.D. Revised 1/12/2015 by William Pegram 1.
Programming the Web Web = Computer Network + Hypertext.
Creating Web Applications Using ASP.NET Chapter Microsoft Visual Basic.NET: Reloaded 1.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
CIS 1310 – HTML & CSS 1 Introduction to the Internet.
1 Web Development & Design Foundations with XHTML Chapter 1 Key Concepts.
MySQL and PHP Internet and WWW. Computer Basics A Single Computer.
1 Welcome to CSC 301 Web Programming Charles Frank.
Web Design (1) Terminology. Coding ‘languages’ (1) HTML - Hypertext Markup Language - describes the content of a web page CSS - Cascading Style Sheets.
Overview Web Session 3 Matakuliah: Web Database Tahun: 2008.
JavaScript Tutorial 1 - Introduction to JavaScript1 Tutorial 1 Introduction to JavaScript Section A – Programming, HTML, and JavaScript.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
HTML Concepts and Techniques Fifth Edition Chapter 1 Introduction to HTML.
JavaScript and Ajax (Internet Background) Week 1 Web site:
Introduction to the World Wide Web & Internet CIS 101.
Web Design New Brighton High School Exploring the History of the World Wide WebWorld Wide Web.
Chapter 6.  Internet and characteristics of Internet.  Various Internet protocols  Static IP addressing and Dynamic IP addressing Prepared by Saher.
Web Design – Week 2 Introduction to website basics Website basics: How the Web Works Client / server architecture Packet switching URL components.
Web Design Terminology Unit 2 STEM. 1. Accessibility – a web page or site that address the users limitations or disabilities 2. Active server page (ASP)
Tutorial 1 Getting Started with Adobe Dreamweaver CS5.
CIS 1203 Web Technologies Introduction to the Internet and the WWW.
Finally getting to html and CSS… Tim Berners-Lee, the writer of the software program that makes him the inventor of the WWW, defines the Internet as a.
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.
4.01 How Web Pages Work.
4.01 How Web Pages Work.
Objective % Select and utilize tools to design and develop websites.
JavaScript and Ajax (Internet Background)
Exploring Microsoft Word 2000
Chapter 1 Introduction to HTML.
CNIT 131 Internet Basics & Beginning HTML
E-commerce | WWW World Wide Web - Concepts
Project 1 Introduction to HTML.
E-commerce | WWW World Wide Web - Concepts
Introduction to XHTML.
Objective % Select and utilize tools to design and develop websites.
1 Introduction to the Internet.
Chapter 27 WWW and HTTP.
COM 205 Multimedia Applications
Introduction to World Wide Web
4.01 How Web Pages Work.
COM 205 Multimedia Applications
Presentation transcript:

Web Forms: Web Pages with Server Controls

2 Objectives Understand the background of the Internet, and the notions of packet switching and a stateless medium Understand the operating principles of the World Wide Web, especially HTML, Web browser software, HTTP, and the Web’s cataloging scheme and search engines Understand the features of XML that make it the language of choice for Web-based computer applications Define and describe ASP.NET Web Forms applications Understand the basic approach to the construction and deployment of Web Forms applications, distinguishing among HTML elements and client controls, HTML server controls, and Web server controls Describe the importance of workarounds

3 The Internet Started as ARPANET, a creation of the U.S. Department of Defense’s Advanced Research Projects Agency (ARPA) Original idea –Develop a computer network linking the Defense Department’s research laboratories and the universities performing defense- related research ARPANET –Nondefense use overshadowed defense-related use –Renamed Internet MILNET –Introduced in 1983 to assume the defense-related work of ARPANET

4 The Internet (Continued) Packet-switched network –Network in which messages are transmitted from node to node in fixed-length message blocks called packets –Individual message divided into sequentially numbered packets –Each packet consists of Header identifying the origination and destination computers Date-time stamp Packet number, followed by packet body –Transmission Control Protocol/Internet Protocol Principal software supporting end-user machines Stateless –Internet does not maintain knowledge concerning The originator, recipient, or contents of messages, nor does it maintain a connection between the originator and the recipient

5 The World Wide Web Tim Berners Lee –Introduced the Web in 1989 as a means for sharing information among the world’s nuclear research centers Hypertext Markup Language (HTML) –Purpose is to describe the presentation of the data, that is, to provide formatting instructions –Markup languages Inserted into a text document in order to describe the data or provide formatting or processing instructions Tags are enclosed in angled brackets ( ) Web Browser Software –Main purpose is to properly interpret the markup language tags in a Web page and render the page on the client computer’s screen –Web browser Allows any Web page to be displayed, masking and accommodating differences among operating systems, monitors, and graphics software

6 The World Wide Web (Continued) Hypertext Transfer Protocol (HTTP) –Hypertext Refers to text that includes a hidden reference (called a hyperlink) to another Web page or Web site Cataloging Scheme and Search Engines –URL address Consists of the Internet service, the domain name, the path to the Web page (if necessary), and the title of the Web page (if necessary) –Domain name Correlates to the Internet Protocol (IP) address of the server –Domain name server (DNS) for a Web server Usually consists of www, followed by a meaningful domain name, and the top-level domain (TLD) –Search engine A software program combined with a database

7 eXtensible Markup Language (XML) May be the most significant improvement to the World Wide Web in the last decade Services include the definition of datasets and specification of processing instructions Foundation technology for implementing XML is Active Server Pages in the.NET Framework (ASP.NET) Client-based Web applications –Computer programs delivered to a local browser, and executed on the client machine –Include static Web pages, Windows Forms applications distributed to the client machine, and applets executing on the client Server-based applications –Execute on the server –Include XML documents containing or referencing servlets, applications that run on the server, applications that update a database accessed through the server

8 ASP.NET Web Forms Applications Visual Basic 6.0 –Limited support for Web-oriented applications was provided Visual Basic.NET –Extends both the simplicity and robustness of Visual Basic to the World Wide Web Visual Basic.NET Web Forms –Allows you to design XML applications that consist of ASP.NET documents materialized in a browser, XML Web services that provide data, and ASP.NET code that executes on the Web server GUI –Saved as an ASP.NET Web page (.aspx file), translating the graphical design elements into XML Code Editor –Can be used to write code for a Web page

9 Web Forms Application Support Files Global.asax.vb (along with the related Global.asax and Global.asax.resx) –Provides a common structure for all of the code necessary to maintain session state Styles.css –Provides the cascading style sheet for a Visual Basic.NET Web Forms application –The standard format of any XML cascading style sheet Web.config –Sets the system configuration for the application WebApplication1.vsdisco –Serves as a container for links (URLs) to discovery files that describe the XML Web service Discovery file –Contains the URL of a Web site within which the source code for an XML Web service may be dynamically discovered

10 WebForm1 - the Web Form Itself Console applications –Consist only of code, contained in modules Core of a Windows Forms application –Contained in Windows Forms –Form 1 Default name for first form Stored in two files: Form1.vb and Form1.resx –WebForm1 Default name of first Web form Stored in three files: WebForm1.aspx, WebForm1.aspx.vb, and WebForm1

11 Summary of Project Files - Default Names

12 WebForm1 - the Web Form Itself (Continued) HTML Elements –Include static text and browser (client) controls that may run client-side script HTML Server Controls –Some HTML elements can be converted into HTML server controls –Ideally, a Web form should only contain Web server controls and HTML server controls that require server-side code

13 WebForm1 - the Web Form Itself (Continued) Web Server Controls –30 offered by Visual Basic.NET –Some provide functionality tailored to Web-based applications –Web page is rendered in a browser on a client machine, whereas the code is executed on the server –Web form may contain HTML elements, HTML server controls, and Web server control –The Web Forms you create should exhibit well-formed HTML Deployment of Web Forms Applications –Can be deployed on the same server on which it is developed or on a different machine –Setup project Prepares the files necessary to install the application

14 Workarounds Occur because: –Existing language may not perform some necessary function at all, or completely or efficiently –Programmers often face a programming requirement whose solution is not provided directly by the chosen programming language, or that does not work as advertised