ASP.NET
Classic ASP - Active Server Pages
ASP, short for Active Server Pages, also known as classic ASP, was introduced 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.
ASP pages have the file extension .asp and are usually written in VBScript.
If you want to learn classic ASP, please visit our Classic ASP Tutorial。
ASP.NET
ASP.NET is the new generation of ASP. It is incompatible 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 integrates user authentication.
ASP.NET pages have the file extension .aspx and 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 normal 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 introduces the following programming languages:
- Visual Basic (VB.NET)
- C# (pronounced: C sharp)
ASP.NET Server Technologies
This tutorial introduces 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, and 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