ASP.NET Web Forms - Undervisning

ASP.NET is the next generation of ASP, not an update version of ASP.

Grundlæggende viden, du skal have

Før du fortsætter med at lære, skal du have en grundlæggende forståelse af følgende viden:

  • WWW, HTML og grundlæggende viden om webstedskonstruktion
  • Skriptsprog som JavaScript eller VBScript
  • Grundlæggende viden om server-side scripts

Hvis du ønsker at lære disse projekter først, så besøg vores Forside Besøg disse undervisningsmaterialer.

Hvad er ASP?

Microsofts tidligere server-side skriptteknologi ASP (Active Server Pages) kaldes i dag ofte klassisk ASP.

ASP 3.0 er den sidste version af klassisk ASP.

To learn more about ASP, please study our ASP tutorial.

ASP.NET is not ASP

ASP.NET is the next generation of ASP, not an update version of ASP.

ASP.NET is a new technology for server-side scripting. Microsoft has rewritten ASP.NET from the ground up, and ASP.NET is not backward compatible with ASP.

You will learn more about the differences between ASP and ASP.NET in the next chapter of this tutorial.

ASP.NET is the main part of Microsoft .NET framework

What is ASP.NET?

ASP.NET is a server-side scripting technology that allows (scripts embedded in web pages) to be executed by the Internet server

  • ASP.NET is a technology from Microsoft Corporation
  • ASP refers to dynamic server pages (Active Server Pages)
  • ASP.NET is a program that runs in IIS
  • IIS (Internet Information Services) is Microsoft's Internet server
  • IIS is a component bundled for free with the Windows servers operating system
  • IIS is also a component of Windows 2000 and XP Professional

What is an ASP.NET file?

  • ASP.NET files are similar to HTML files
  • ASP.NET files can contain HTML, XML, and scripts
  • The script in ASP.NET files is executed on the server
  • The file extension of ASP.NET files is ".aspx"

How does ASP.NET work?

  • When the browser requests an HTML file, the server will return the file
  • When the browser requests an ASP.NET file, IIS will pass the request to the ASP.NET engine on the server
  • The ASP.NET engine will read the file line by line and execute the script in the file
  • Finally, ASP.NET files will be returned to the browser in the form of pure HTML

What is ASP+?

ASP+ is equivalent to ASP.NET.

ASP+ is the early name used by Microsoft during the development of ASP.NET.

Microsoft .NET framework

.NET framework is the infrastructure of Microsoft .NET platform.

.NET framework is an environment for building, developing, and running Web applications and Web services.

Microsoft's first server technology ASP (Active Server Pages) is a powerful and flexible 'programming language'. However, it is too code-oriented and does not count as an application framework or an enterprise-level development tool.

The purpose of Microsoft developing the .NET Framework is to solve these problems.

.NET Framework Keywords:

  • Faster and easier programming
  • Reduced amount of code
  • Declarative programming model
  • Richer service control event layer
  • Larger type library
  • Better development tool support

.NET Framework includes 3 main parts:

Programming Languages:

  • C# (Pronounced C sharp)
  • Visual Basic (VB .NET)
  • J# (Pronounced J sharp)

Server and client technologies:

  • ASP .NET (Active Server Pages)
  • Windows Forms (Windows desktop solutions)
  • Compact Framework (PDA / Mobile solutions)

Development Environment:

  • Visual Studio .NET (VS .NET)
  • Visual Web Developer

This tutorial explains the content related to ASP.NET.

ASP.NET 2.0

ASP.NET 2.0 improves ASP.NET by adding support for various new features.

In the next chapter of this tutorial, you can learn more about the differences between ASP.NET 2.0 and ASP.NET.

ASP.NET 3.0

ASP.NET 3.0 is not a new version of ASP.NET. It is just the name of the new ASP.NET 2.0 framework library, which supports:

  • Windows Presentation Foundation
  • Windows Communication Foundation
  • Windows Workflow Foundation;
  • Windows CardSpace

Note:This tutorial does not cover ASP.NET 3.0.