Lesson №12 Telecommunication network software design for HTTP and Internet Lector: Aliev H.U. TASHKENT UNIVERSITY OF INFORMATION TECHNOLOGIES THE DEPARTMENT.

Slides:



Advertisements
Similar presentations
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 22 World Wide Web and HTTP.
Advertisements

ECE 4450:427/527 - Computer Networks Spring 2015 Dr. Nghi Tran Department of Electrical & Computer Engineering Lecture 8: Application Layer Dr. Nghi Tran.
© 2010, Robert K. Moniot Chapter 1 Introduction to Computers and the Internet 1.
HTTP By: Becky Fultz, Joe Flager, Katie Huston, Tom Packard, Allison Wilsey.
Hypertext Transfer Protocol Kyle Roth Mark Hoover.
Introduction to Web Interface Technology (CSE2030)
The World Wide Web and the Internet Dr Jim Briggs 1WUCM1.
1 The HyperText Transfer Protocol: HTTP Nick Smith Stuart Alley Tara Tjaden.
© 2004, Robert K. Moniot Chapter 1 Introduction to Computers and the Internet.
HTTP By Mychal Hess, Dee Chow, and Riley Barnes. History HTTP  Tim Berners-Lee he implemented the HTTP protocol in 1990 at the European Center for High-
Computer Science 101 Web Access to Databases Overview of Web Access to Databases.
Application Layer. Applications A program or group of programs designed for end users. Software can be divided into two general classes: systems software.
Application Layer. Applications A program or group of programs designed for end users. A program or group of programs designed for end users. Software.
Q.Nand HTML Hypertext Markup Language Lesson 1. Q.Nand Overview Introduction the World Wide Web Structure of the internet The Development of the World.
INTRODUCTION TO WEB DATABASE PROGRAMMING
Human-Computer Interface Course 5. ISPs and Internet connection.
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.
Databases and the Internet. Lecture Objectives Databases and the Internet Characteristics and Benefits of Internet Server-Side vs. Client-Side Special.
Chapter 1: Introduction to Web
27.1 Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
CP476 Internet Computing Lecture 5 : HTTP, WWW and URL 1 Lecture 5. WWW, HTTP and URL Objective: to review the concepts of WWW to understand how HTTP works.
TCP/IP Protocol Suite 1 Chapter 22 Upon completion you will be able to: World Wide Web: HTTP Understand the components of a browser and a server Understand.
An program As a simple example of socket programming we can implement a program that sends to a remote site As a simple example of socket.
TCP/IP Protocols Dr. Sharon Hall Perkins Applications World Wide Web(HTTP) Presented by.
Web Server Administration Web Services XML SOAP. Overview What are web services and what do they do? What is XML? What is SOAP? How are they all connected?
Lecture 15 Introduction to Web Services Web Service Applications.
HTML ~ Web Design.
Kingdom of Saudi Arabia Ministry of Higher Education Al-Imam Muhammad Ibn Saud Islamic University College of Computer and Information Sciences Chapter.
1 Welcome to CSC 301 Web Programming Charles Frank.
Web Client-Server Server Client Hypertext link TCP port 80.
Application Layer Khondaker Abdullah-Al-Mamun Lecturer, CSE Instructor, CNAP AUST.
1 Seminar on Service Oriented Architecture Principles of REST.
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,
ECEN “Internet Protocols and Modeling”, Spring 2012 Course Materials: Papers, Reference Texts: Bertsekas/Gallager, Stuber, Stallings, etc Class.
World Wide Web “WWW”, "Web" or "W3". World Wide Web “WWW”, "Web" or "W3"
Chapter 29 World Wide Web & Browsing World Wide Web (WWW) is a distributed hypermedia (hypertext & graphics) on-line repository of information that users.
Protocols COM211 Communications and Networks CDA College Olga Pelekanou
Operating Systems Lesson 12. HTTP vs HTML HTML: hypertext markup language ◦ Definitions of tags that are added to Web documents to control their appearance.
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 Technologies Lecture 1 The Internet and HTTP.
1 Introduction to Servlets. Topics Web Applications and the Java Server. HTTP protocol. Servlets 2.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
27.1 Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
27.1 Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Internet Applications (Cont’d) Basic Internet Applications – World Wide Web (WWW) Browser Architecture Static Documents Dynamic Documents Active Documents.
CS 6401 The World Wide Web Outline Background Structure Protocols.
Module 11: Internet Access. Overview Internet Application Scenarios The WebRequest and WebResponse Model Application Protocols Handling Errors Security.
JavaScript and Ajax (Internet Background) Week 1 Web site:
1 The World Wide Web Architectural Overview Static Web Documents Dynamic Web Documents HTTP – The HyperText Transfer Protocol Performance Enhancements.
1 Chapter 22 World Wide Web (HTTP) Chapter 22 World Wide Web (HTTP) Mi-Jung Choi Dept. of Computer Science and Engineering
SOAP, Web Service, WSDL Week 14 Web site:
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 22 World Wide Web and HTTP.
National College of Science & Information Technology.
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.
Web Development. Agenda Web History Network Architecture Types of Server The languages of the web Protocols API 2.
WWW and HTTP King Fahd University of Petroleum & Minerals
Computing with C# and the .NET Framework
Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
CASE STUDY -HTML,URLs,HTTP
Introduction Web Environments
IS333D: MULTI-TIER APPLICATION DEVELOPMENT
The Internet and HTTP and DNS Examples
Application layer Lecture 7.
World Wide Web “WWW”, "Web" or "W3". World Wide Web “WWW”, "Web" or "W3"
World Wide Web “WWW”, "Web" or "W3". World Wide Web “WWW”, "Web" or "W3"
HyperText Transfer Protocol
Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Lecture 14: JSON and Web SERVICES
Information Retrieval and Web Design
Presentation transcript:

Lesson №12 Telecommunication network software design for HTTP and Internet Lector: Aliev H.U. TASHKENT UNIVERSITY OF INFORMATION TECHNOLOGIES THE DEPARTMENT OF DATA COMMUNICATION NETWORKS AND SYSTEMS

HTTP and Internet

Intro With the advent of the World Wide Web, there has been a massive increase in the usage of the Internet since This was made possible with the advent of HyperText Transport Protocol (HTTP). Tim Berners-Lee first implemented the HTTP protocol in at CERN, the European Center for High-Energy Physics in Geneva, Switzerland. HTTP is a lightweight application-level protocol that sits on top of TCP, and it is of course known chiefly as the transport channel of the World Wide Web, and local intranets. However, it is a generic protocol that is used for many other tasks as well as hypertext, such as for name servers and distributed object management systems through its request methods, error codes, and headers. HTTP messages are in a MIME-like format, and contain meta data about the message (such as the type of content it contains and its length), and information about the request and response, such as the method used to send the request. There are two essential components on which the Web depends-the TCP/IP network protocol and HTTP. Almost everything that happens on the Web happens over HTTP, and the HTTP protocol is mainly used for exchanging documents (such as web pages) in the World Wide Web. HTTP is a client-server protocol through which two systems communicate, usually over a TCP/IP connection. An HTTP server is a program that listens on a port on the machine for incoming HTTP requests. An HTTP client opens a connection to the server through a socket, sends a request message for a particular document, and waits for a reply from the server. The server sends a response message containing a success or error code, headers containing information about the response, and (if the request was successful) the requested document.

Network architecture

Function of Browser

Network architecture

Service realization

Internet software design Web server software Client side web browser

HTTP in.NET Although we can implement the HTTP protocol manually using the standard Sockets or TCP classes,.NET provides a number of classes (mostly in the System.Net namespace) that are designed to facilitate communication with an HTTP server. These implement the generic request/response model, along with some of the additional properties that provide a greater level of control over the HTTP-specific features, such as access to the HTTP protocol in an object model for property-level control over headers, authentication, pre-authentication, encryption, proxy support, pipelining, and connection management:

HTTP in.NET ClassNamespaceInherits FromDescription HttpWebRequestSystem.NetWebRequestRepresents an HTTP request HttpWebResponseSystem.NetWebResponseRepresents an HTTP response WebClientSystem.NetComponentProvides easy-to-use methods for sending files or data to a URI, and receiving data from a URI UriSystemMarshalByRef ObjectRepresents a URI, allowing easy access to the component parts of the URI, such as the hostname and absolute path UriBuilderSystemObjectUtility class for creating and modifying Uri objects ServicePointSystem.NetObjectHandles connections to a given URI ServicePoint Manager System.NetObjectManager class for managing ServicePoint objects

HttpWebRequest and HttpWeb Response application example The.NET Framework provides two basic classes for simplifying HTTP access: HttpWebRequest and HttpWebResponse. These classes handle most of the functionality provided through the HTTP protocol in a straightforward manner. To see how these classes work, let's look at an example of using them to retrieve a web page from the Internet: using System; using System.Net; using System.IO; using System.Text; class SimpleWebRequest { public static void Main() { string query = " HttpWebRequest req = (HttpWebRequest)HttpWebRequest.Create(query); HttpWebResponse resp = (HttpWebResponse)req.GetResponse(); StreamReader sr = new StreamReader(resp.GetResponseStream, Encoding.ASCII); Console.WriteLine(sr.ReadToEnd); resp.Close(); sr.Close(); } }

Languages for HTTP Server and client side programming For web page: HTML, Java script, Ajax, python and other interpreter languages; For server and client network applications: C++, C#, Java, Visual basic, J# and others. For data bases: SQL, PL-SQL.

Conclusion The first step in Internet programming is to have a good knowledge of how HTTP works, so we started the chapter by giving an overview of the HTTP protocol, before looking at the support for HTTP programming in.NET. This lesson basically concentrated on: An overview of HTTP-the basics of HTTP, its properties and features, and HTTP requests and responses Using the.NET methods and classes to work with the HTTP protocol Reading and writing cookies in.NET Creating an HTTP server and client in.NET, and hosting ASP.NET apps outside US Using the HTTP channel with.NET Remoting

Q&A?