ASP.NET
Classic ASP - Active Server Pages (Dynamic Server Pages)
ASP, short for Active Server Pages (Dynamic Server Pages), also known as Classic ASP, was launched in 1998 as Microsoft's first server-side scripting engine.
ASP is a technology that enables scripts in web pages to be executed on Internet servers.
The file extension of ASP pages is .asp, and they are usually written in VBScript.
If you want to learn Classic ASP, please visit ourClassic ASP Tutorial。
ASP.NET
ASP.NET is the next generation of ASP. It is not compatible with Classic ASP, but ASP.NET may include Classic ASP.
ASP.NET pages are compiled, which makes them run faster than Classic ASP.
ASP.NET has better language support, a large set of user controls and XML-based components, and integrated user authentication.
The extension of ASP.NET pages is .aspx, and they are usually written in VB (Visual Basic) or C# (C sharp).
Controls in ASP.NET can be written in different languages (including C++ and Java).
When a browser requests an ASP.NET file, the ASP.NET engine reads the file, compiles and executes the script file, and returns the result to the browser as a plain HTML page.
ASP.NET Razor
Razor is a new, simple markup syntax for embedding server code into ASP.NET web pages, much like Classic ASP.
Razor has the features of traditional ASP.NET, but is easier to use and easier to learn.
ASP.NET Programming Languages
This tutorial covers the following programming languages:
- Visual Basic (VB.NET)
- C# (pronounced: C sharp)
ASP.NET Server Technologies
This tutorial covers the following server technologies:
- Web Pages (Razor syntax)
- MVC (Model-View-Controller)
- Web Forms (traditional ASP.NET)
ASP.NET Development Tools
ASP.NET supports the following development tools:
- WebMatrix
- Visual Web Developer
- Visual Studio
In this tutorial, the Web Pages tutorial uses WebMatrix, while the MVC tutorial and Web Forms tutorial use Visual Web Developer.
ASP.NET File Extensions
- The file extension of Classic ASP files is .asp
- The file extension of ASP.NET files is .aspx
- The file extension of ASP.NET files using Razor C# syntax is .cshtml
- The file extension of ASP.NET files using Razor VB syntax is .vbhtml
Other extensions