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