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