ASP. NET Advantage (after MVC becomes a disadvantage):
- Browser-Independent: generated code that follows the XHTML standard of the Web, with the same content displayed in different browsers
- Easy commissioning:vs2010 added JS debug function
- High Efficiency : The code is first compiled into intermediate voice (MSIL or IL), and then JIT compiled into machine language to run, which part of the code is called to compile which part, not a one-time compilation, the compiled code does not need to compile
- The code is logically distinct: it uses Code-behind (code behind) technology. Separating the program interface (ASPX) from the business logic (CS) file
ASP. NET development process :
Create a website → write a page → Debug run
- Create Web site (four Ways) "1": File (beginner first in this way), local iis,ftp, remote site
- Write page: Drag the control ASPX to write page logic CS
- Debug run (Three ways): F5, Green run arrow, right click to run in browser
ASP folder: Bin,App_Code (Store custom Class), App_GlobalResources, App_LocalResources, App_WebReferences,app_ Data (file), App_Browsers
"1": Using the file system for debugging or running the IIS Express Lightweight server, can not use the advanced features of IIS, general use and development process
Local IIS can use advanced features, which are typically used for testing
FTP can save files on the server, can be shared, supports multi-user use, remote server IIS has virtual directories mapped to FTP files, but cannot use VSS
Remote sites are similar to FTP, use HTTP connections, configure complex
Asp. NET (i)--asp. NET Foundation