Home  >  Article  >  Backend Development  >  A simple definition and introduction of ASP.NET

A simple definition and introduction of ASP.NET

零下一度
零下一度Original
2017-05-24 17:42:452186browse

Classic ASP - Active Server Pages (Dynamic Server Pages)

ASP, full name Active Server Pages (Dynamic Server Pages), also known as Classic ASP, was Microsoft's first server in 1998 Introduced by end-side scripting engine.

ASP is a technology that enables scripts in web pages to be executed on an Internet server.

The file extension of an ASP page is .asp and is usually written in VBScript.

If you want to learn classic ASP, please visit our classic ASP tutorial.

ASP.NET

ASP.NET is a 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 integrated user authentication.

ASP.NET pages have an extension of .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 results 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 functionality 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 introduces the following server technologies

Web Pages (Razor syntax)

MVC (Model-View-Control Server)

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 extension

The file extension for classic ASP files is .asp

The file extension for ASP.NET files is .aspx

The file extension of ASP.NET files in Razor C# syntax is .cshtml

The file extension of ASP.NET files in Razor VB syntax is .vbhtml

[Related recommendations]

1. ASP.NET free video tutorial

2. Detailed introduction to ASP.NET MVC--routing

3. Detailed introduction to ASP.NET MVC--controller

4. Detailed introduction to ASP.NET MVC--View

5. What is ASP.NET MVC? Summary of ASP.NET MVC

6. In-depth understanding of the differences between ASP.NET MVC and WebForm

The above is the detailed content of A simple definition and introduction of ASP.NET. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn