ASP.NET Supports Web Services - Getting Started
(Page 2 of 5 )
It is easy to write ASP.NET pages, in either Notepad.exe, or the newly released Visual Studio.NET. Notepad is free and provides an alternative to Visual Studio. Let’s use Notepad and write our first valid ASP.NET page.
<html>
<head>
<title> My first valid ASP.NET web page</title>
</head>
<body>
<p>Hello, ASP.NET Web Services developer! </p>
</body>
</html>
Save this file with an .aspx extension in an IIS virtual directory you have previously created on your local drive. Then type “http://localhost/ASP.NETTest/ASP.NETHello.aspx.” Assuming your Web server is properly installed, you should see the following results in your Internet Explorer browser:
Hello. ASP.NET Web Services developer
This page may not be very exciting, but you now have a perfectly valid ASP.NET page.
.NET Framework’s Architectural Structure
NET is component- based and contains a large collection of abstract interfaces and classes. They provide the supporting structure for creating reusable components, designed especially for rendering elements on a web form. ASP.NET, the Internet segment, is one of five primary components included in the Framework in addition to the CLR, CTS, CLS, and ADO.NET.
One of the innovative features in ASP.NET supports running controls on the server side rather than on the client. This results in improved performance by allowing the developer to control server-side controls programmatically. Additionally, your Microsoft Intermediate Language (MSIL) code is compiled rather than interpreted as was the case with classic ASP pages. This improves performance substantially.
The framework supports Web services through namespaces hosting classes such as System.UI.Web Controls. The classes in System.Web.UI are grouped as a hierarchical tree beginning with the Control class. This is the parent class from which all other controls are inherited. They include buttons, text boxes, and drop-down lists.
Next: Examining the Code-behind feature >>
More ASP.NET Articles
More By Dwight Peltzer