I. Introduction
ASP. NET is a powerful server-side Technology for creating dynamic web pages. It is a B/S-based application.ProgramAllows you to create dynamic web pages.
In Microsoft's. NET strategy, ASP. NET is one of the core technologies.
ASP. NET launched by Microsoft, which brings the event model in winform into the development of Web applications. Programmers only need to drag controls to process control attributes,
There is no need to deal with huge HTML encoding. It can be said that this is a revolutionary technology.
Advantages of ASP. NET
<1> browser-independent
Generated by ASP. NETCodeYou can display and work in any modern browser in exactly the same way.
<2> convenient breakpoint setting and easy debugging
Development and debugging of Web applications has always been a headache for developers, because the Web servers that are often used are not restricted by the IDE.
In ASP. NET, we use IIS, which has unique advantages.
<3> execution after compilation improves the running efficiency
Code compilation is to compile the code into a machine language.In ASP. NET, it is not directly compiled into a machine language, but first compiled into a Microsoft intermediate language, and then further compiled by JITCompiled into a machine language. In fact, it is not JIT that is not a one-time compilation, but calls which part is compiled, so that the start time is shorter. At the same time, compiled code does not needSecondary compilation greatly improves the performance of Web applications.
<4> rich control Libraries
Control + Event Programming
<5> post-code to make the code clearer
ASP. NET adopts the code post technology to display web interface elements and Program Logic separately, making the code clearer and conducive to maintenance and reading.
2. Development Environment Construction
ASP. NET requires a web server as the publishing platform, and IIS is generally used as the web server.
Install IIS
Generally, we deploy the final development project to IIS. But in fact, we have not applied too many IIS features.
Therefore,Microsoft provides us with a lightweight Web server. In vs, you only need to click Run..