This document provides an introduction to ASP.NET 2.0, covering what ASP.NET and IIS are, how ASP.NET files work, key features of the .NET framework, programming languages supported, and new aspects of ASP.NET compared to classic ASP such as better language support, programmable controls, and easier configuration and deployment. It also provides a simple example of a dynamic ASP.NET page that writes the current time using a server-side script.
In this document
Powered by AI
Overview of ASP.NET 2.0 and its importance.
Objectives include prerequisites, and definitions of classic ASP and ASP.NET.
ASP.NET is a Microsoft technology for server-side scripting, running within IIS.
IIS is Microsoft's Internet server, part of Windows servers and available for free.
ASP.NET files, with .aspx extension, contain HTML, XML, and scripts executed on the server.
Process of serving ASP.NET files where IIS uses the ASP.NET engine to execute scripts.
ASP+ is an earlier name for ASP.NET, both refer to the same technology.
.NET Framework serves as an environment for building and deploying web applications.
Key features include easier coding, a richer control hierarchy, and better development tool support.
Components include programming languages, server/client technologies, and development environments.
ASP.NET supports C#, VB.NET, and J#, enabling diverse programming choices.
Key tools include Visual Studio .NET and Visual Web Developer for building applications.
New language support, programmable controls, event-driven programming, and improved performance.
ASP.NET supports ADO.NET and various programming languages for enhanced functionality.
Sample code for creating a dynamic page that displays current time using ASP.NET scripts.
Overview of server controls in ASP.NET, including HTML, Web, and Validation server controls.
WHAT IS ASP.NET?ASP.NET is a Microsoft Technology ASP stands for Active Server Pages ASP.NET is a program that runs inside IIS
4.
WHAT IS IIS?IIS (Internet Information Services) is Microsoft's Internet server IIS comes as a free component with Windows servers IIS is also a part of Windows 2000 and XP Professional
5.
WHAT IS ANASP.NET FILE? An ASP.NET file is just the same as an HTML file An ASP.NET file can contain HTML, XML, and scripts Scripts in an ASP.NET file are executed on the server An ASP.NET file has the file extension ".aspx"
6.
HOW DOES ASP.NETWORK? When a browser requests an HTML file, the server returns the file When a browser requests an ASP.NET file, IIS passes the request to the ASP.NET engine on the server The ASP.NET engine reads the file, line by line, and executes the scripts in the file Finally, the ASP.NET file is returned to the browser as plain HTML
7.
WHAT IS ASP+?ASP+ is the same as ASP.NET. ASP+ is just an early name used by Microsoft when they developed ASP.NET.
8.
THE MICROSOFT.NET FRAMEWORKThe .NET Framework is the infrastructure for the Microsoft .NET platform. The .NET Framework is an environment for building, deploying, and running Web applications and Web Services
9.
FEATURES OF .NETFRAMEWORK Easier and quicker programming Reduced amount of code Declarative programming model Richer server control hierarchy with events Larger class library Better support for development tools
10.
PARTS OF .NETFRAMEWORK Programming languages Server technologies and client technologies Development environments
NEW IN ASP.NETBetter language support Programmable controls Event-driven programming XML-based components User authentication, with accounts and roles Higher scalability Increased performance - Compiled code Easier configuration and deployment Not fully ASP compatible
14.
LANGUAGE SUPPORT ASP.NETuses the new ADO.NET. ASP.NET supports full Visual Basic, not VBScript. ASP.NET supports C# (C sharp) and C++. ASP.NET supports JScript as before.
ASP.NET SERVER CONTROLSServer controls are tags that are understood by the server. There are three kinds of server controls: HTML Server Controls - Traditional HTML tags Web Server Controls - New ASP.NET tags Validation Server Controls - For input validation