Page 16 - DCAP312_WEB_TECHNOLOGIES_II
P. 16
Web Technologies-II
Notes • .NET Products – Applications from MS based on the .NET platform, including Office and
Visual Studio.
• .NET Services – Facilitates 3rd party developers to create services on the .NET Platform.
1.4.2 The Common Language Runtime (CLR)
At the base is the CLR. It is considered as the heart of the .NET framework. .NET applications are
compiled to a common language known as Microsoft Intermediate Language or “IL”. The CLR,
then, handles the compiling the IL to machine language, at which point the program is executed.
The CLR environment is also referred to as a managed environment, in which common services,
such as garbage collection and security, are automatically provided.
1.4.3 The .NET Class Framework
The next layer up in the framework is called the .NET Class Framework also referred as .NET
base class library. The .NET Class Framework consists of several thousand type definitions,
where each type exposes some functionality. All in all, the CLR and the .NET Class Framework
allow developers to build the following kinds of applications:
• Web Services. Components that can be accessed over the Internet very easily.
• Web Forms. HTML based applications (Web Sites).
• Windows Forms. Rich Windows GUI applications. Windows form applications can take
advantage of controls; mouse and keyboard events and can talk directly to the underlying
OS.
1.4.4 User Interface
The next layer consists of the user and programming interface that allows .NET to interact with
the outside world. The following are the types of interaction interfaces that are supported by
the .NET framework:
• Web Forms
• Windows Forms
• Web Services
Now let me tell you about Windows Forms and ASP.NET. WinForms (Windows Forms) is
simply the name used to describe the creation of a standard Win32 kind of GUI applications.
The Active Server Pages web development framework has undergone extensive changes in ASP.
NET. The programming language of choice is now full blown VB.NET or C# (or any supported
.NET language for that matter). Other changes include:
• New support for HTML Server Controls (session state supported on the server).
• It is now possible for the server to process client-side events.
• New control families including enhanced Intrinsic, Rich controls, List controls, DataGrid
control, Repeater control, Data list control, and validation controls.
• New support for developing Web Services–application logic programmatically accessible
via the Internet that can be integrated into .NET applications using the Simple Object
Access Protocol (SOAP).
1.4.5 Languages
The CLR allows objects created in one language be treated as equal citizens by code written
in a completely different language. To make this possible, Microsoft has defined a Common
10 LOVELY PROFESSIONAL UNIVERSITY