Asp.net-(2)-Web Design

Source: Internet
Author: User

 

WEB programming is a tag

One of the differences with CS development isThe client becomes a browser,

First, let's take a look at the overall structure of the web design.

 

Comparison with CS

This is not detailed here. We will discuss the specific chapters in the future.

Here is a brief description.

1. Different hardware environments:

2. Different security requirements

3. Different program Architectures

4. Different user interfaces

5. Different information flows

Basic working mode

 

Stateless editing mode

Disconnected connection

Based on the request/response mode (HTTP Protocol)

 

Proxy Server Concept

Each eight IP addresses is an IP address, which converts an invalid IP address into a valid IP address.

Protocols used in Transmission

 

HTTP protocol (based on request response)

The transmission protocol is UDP (User Datagram Protocol, connectionless)

HTTP is connection-oriented (connectionless = no connection or no connection)

 

Network Interface and HTTP service

Connect to the network through the Internet, transfer protocol/finally send to multiple servers through windo socket

Windows Socket: A unique connection between an IP address and a port

In this way, you can communicate

 

Dynamic Web Page

Clients and servers

ASP must be published on the server. It is set to IIS server. PS (usually 65535 ports,

Generally, ports later than are specified, and ports earlier than are fixed)

 

Example

Client script usage

The Call Sequence diagram is as follows:

The syntax structure is

<SCRIPT start and end

Language = is a language

 

Code segment in the middle

But the function code

 

The script language <scriptlanguage = "JavaScript"> funasb ASB () {If (form1.textfield. value = "") {window. Alert ("the user name cannot be blank! "); Form1.textfield. focus ();}} </SCRIPT> <title> untitled document </title> 

The above is the client dynamic web page

 

 

Static is also the basis of dynamic.

 

==========

 

Advantages of Asp.net


Supports strong languages

ASP code is separated from HTML code and server-side ASP code

No need to register Components

After one compilation, you do not need to compile

Code separation (Object-Oriented, inheritance, mechanism)

The above is the basic web design method. please correct me.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.