WebForm ASP development approach, IIS server, and WebForm development basics

Source: Internet
Author: User

Web-side b/S two kinds: (ASP--Website application development Technology)

  WebForm: Microsoft's first website development technology

MVC: Developed later, to make it easier for developers who turn Java and PHP to accept it.

Client C/S two types:

  WinForm: Focus on the realization of function

WPF: Focus on the aesthetics of the interface (animation, timeline), development than WinForm difficult

IIS Server : 127.0.0.1--access to native published Web sites

Access process: aspx suffix files on the WebForm side
User-"IIS server-". NET Framwork-"SQL Server Data Processing-" IIS Servers-"users

Web-side, purpose?
Users through the browser, access to the server, the server will all the C # code and database data after the completion of the results into HTML code returned to the user browser

Client (WinForm) function code Execution location: User computer execution
Web-side (webform) function code Execution location: executed on server

ASP's earliest development method, which differs from ASP.

The main statement format;

Declares the language or reference namespace used by the data interaction: <%@%>

Place C # code: <%%>

A field, a variable, or a method that returns a data value: <%=%>

IIS Server Installation:

Control Panel-"programs and Features-" open or close Windows Features-"Internet Information Services-" tick, OK

Need to make VS and IIS Server compatible: Start by finding the vs2012-visual Studio tools-tool command Prompt (x64 is a 64-bit system, x86 is a 32-bit system)-right-click, run as Administrator-

Console input: Aspnet_regiis-i drawdown, wait about two minutes, you can use

Startup status:

1, start running: Click on the petition browser to run, slow, and close the page, the program will not stop.  Each modification requires a rerun and a waste of time. The advantage is that you can add breakpoints

2, in the HTML code, right-click, in the browser to view. In the source code modification saves, refreshes can change

Delegate notation for events: + = Tab tab

HTTP stateless:

  IsPostBack = = False

Event delegate cannot be written inside

Database connection

Any effects and content on the interface should be made using pure CSS and JS to create styles and effects

WebForm ASP development approach, IIS server, and WebForm development basics

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.