Basic Development Mode of webfrom ASP, webfromasp

Source: Internet
Author: User

Basic Development Mode of webfrom ASP, webfromasp

ASP. NET WebForm

C/S

 


B/S
Guest-user

To send requests to IIS, IIS is equivalent to a waiter.

Inform kitchen-IIS to inform the. NET Framework of the ASPX you want to see

Kitchen Cooking-. net Framework processes C # code on the ASPX page

Call the waiter to pick up the food-the. NET Framework sends the processed page to IIS, and IIS returns it to the user.

To request a garlic-html page, IIS can directly return the request to the user without going through the. NET Framework.


Code execution location: on the server

ASP development <%> <% = %> <% @ %>
-----------------------------------------------------------------------
ASP. NET-. net

WebForm: MVC

Twelve form elements:
Text:
Text Box-<input type = "text"/>
Password box-<input type = "password"/>
Text Field-<textarea> </textarea>
Hide the field-<input type = "hidden"/>

Button class:
Normal button-<input type = "button"/>
Submit button-<input type = "submit"/>
Reset button-<input type = "reset"/>
Image button-<input type = "image" src = ""/>

Select class:
Check box-<input type = "checkbox"/>
Single queue-<input type = "radio"/>
Drop-down list-<select> <option> </select>
File selection-<input type = "file"/>


Control properties:
Label-BackColor and so on will eventually become something in html

Controls will eventually become HTML elements

The layout style still uses HTML + CSS.
Controls are required to replace special data interactions.

The element containing the runat = "server" attribute is the control

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.