ASP.NET Web Forms - Tutorial

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

The basic knowledge you should have

Before you continue learning, you should have a basic understanding of the following knowledge:

  • Basic knowledge of WWW, HTML, and website construction
  • Scripting languages such as JavaScript or VBScript
  • Basic knowledge of server-side scripting

If you want to learn these projects first, please visit our Home page Access these tutorials.

What is ASP?

Microsoft's former server-side scripting technology ASP (Active Server Pages) is now commonly referred to as classic ASP.

ASP 3.0 is the last version of classic 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 a major part of the 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 Active Server Pages (dynamic 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 Edition

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 scalable 'programming language'. However, it is too code-oriented and is not an application framework nor an enterprise-level development tool.

Het doel van Microsoft om .NET Framework te ontwikkelen, is om deze problemen op te lossen.

.NET Framework sleutelwoorden:

  • Sneller en gemakkelijker programmeren
  • Minder code
  • Declaratieve programmagemode
  • Rijkere service控件事件laag
  • Grotere typelibrary
  • Betere ontwikkelingshulpmiddelen ondersteuning

.NET Framework omvat 3 hoofdcomponenten:

Programmeertalen:

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

Server- en客户端技术:

  • ASP .NET (Active Server Pages)
  • Windows Forms (Windows desktopoplossingen)
  • Compact Framework (PDA / mobiele oplossingen)

Ontwikkelomgeving:

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

Dit tutorial bespreekt de inhoud over ASP.NET.

ASP.NET 2.0

ASP.NET 2.0 verbetert ASP.NET door het toevoegen van ondersteuning voor meerdere nieuwe kenmerken.

In het volgende hoofdstuk van dit tutorial kun je meer leren over de verschillen tussen ASP.NET 2.0 en ASP.NET.

ASP.NET 3.0

ASP.NET 3.0 is geen nieuwe versie van ASP.NET. Het is slechts de naam van de nieuwe ASP.NET 2.0 frameworkbibliotheek, die ondersteunt:

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

Opmerking:Dit tutorial bespreekt geen ASP.NET 3.0.