Application of .NET Technology Unit 01 The .NET Framework Notes Set 01

Download Computer Science Useful Resources

Explore structured advanced study materials through the Application of .NET Technology Unit 01 The .NET Framework Notes Set 01. Tailored for learners, utilizing these Computer Science resources ensures thorough preparation and strengthens foundational knowledge before final evaluations.

Access Study Guides and Summaries

View or download the dedicated Application of .NET Technology Unit 01 The .NET Framework Notes Set 01 resource below. Engaging with these advanced study guides under focused conditions ensures continuous academic progress and mastery of the 2026-27 curriculum for .NET Technology.

These notes introduce the .NET Framework: its main features, the Common Language Runtime, the type system and language specification, and the class libraries. They go on to Intermediate Language, just-in-time compilation, garbage collection, assemblies, installation requirements, web services and the unified classes.

Introduction

1. .NET is a wonderful platform for developing modern applications.
2. It provides a rich set of functionality out of the box. This means that as a developer you need not go into low level details of many operations such as file IO, network communication and so on. ASP.NET provides an event driven programming model with complex user interface.
3. .NET provides a fully object oriented environment.
4. .NET provides multi language programming for applications.
5. .NET provides promising platform for programming such devices.
6. Memory leaks were a major reason in failure of applications. .NET takes this worry away from the developer by handling memory on its own.
7. .NET is the only platform that has been built with XML right into the core framework.
8. .NET does not require any registration as such; much of the deployment is simplified.
9. .NET platform is safe and secure for enterprise applications.

Common Language Runtime

1. CLR works like a virtual machine in executing all languages.
2. All .NET languages must obey the rules and standards imposed by CLR. Examples: object declaration, creation and use; data types and language libraries; error and exception handling; Integrated Development Environment (IDE).
3. Common language runtime is considered as the heart of the .NET framework.
4. .NET applications are compiled to a common language known as Microsoft Intermediate Language or "IL".
5. The CLR, then, handles the compiling of the IL to machine language, at which point the program is executed.
6. It works like a virtual machine for executing code, and the code written in different programming languages must obey the rules imposed by the CLR.

Compilation flow: code written in VB.NET, C# or another .NET language is translated by the VB.NET compiler, the C# compiler or the appropriate compiler into IL (Intermediate Language) code, which the CLR then executes by just-in-time compilation.

1. Common language runtime is a mixture of different programming languages.
2. With the help of the common language specification and common type system a standard class framework is also developed for automatic memory management.
3. Common language runtime handles the errors and executes the code in a safer way.
4. It allows for deployment in multi-platform by removal of registration dependencies; it increases the safety by versioning the application.

Layers of the .NET Framework, from top to bottom:

Microsoft .NET developer or user
ASP.NET, C# .NET, VB.NET, ...
Common Language Specifications (CLS): Web Services, Web Forms, Windows Forms, Windows Services
Data and XML Providers: XML, ADO.NET, SQL
Base Class Library
Common Language Runtime

Common Type System

This binary compatibility between language types is called the Common Type System (CTS).

1. To support multiple programming languages.
2. Ability to reuse the FCL (Framework Class Library).
3. Each programming language must be compatible.
4. The built-in types are represented as types in the FCL.

It also has the built-in types for different data types: a C# "int" data type is the same as a VB.NET "Integer" type and their .NET type is System.Int32, which is a 32-bit integer named Int32 in the System namespace of the FCL (framework class libraries).

Common Language Specifications

CLS is a set of rules that specifies features that all languages should support.

Goal: have the .NET framework support multiple languages.

CLS is an agreement among language designers and class library designers about the features and usage conventions that can be relied upon by languages such as Ada, BASIC, Fortran, SQL and Pascal.

Example: public names should not rely on case for uniqueness since some languages are not case sensitive.

However, one of the benefits of having a CLR with CTS that understands Intermediate Language, and a Framework Class Library that supports all languages, is the ability to write code in one language that is consumable by other languages.

The Base Class Library

The .NET framework provides a set of base class libraries which provide functions and features which can be used with any programming language which implements .NET, such as Visual Basic, C#, Visual C++, etc.

It contains standard programming features such as Collections, XML and Data Type definitions.

The .NET framework base class libraries contain IO (for reading and writing to files), Reflection and Globalization to name a few. All of which are contained in the System namespace.

As well, it contains some non-standard features such as LINQ, ADO.NET (for database interactions), drawing capabilities, forms and web support.

The Base Class Library Namespace

Here we are seeing a few base class libraries. System is a class library that contains the fundamentals for programming such as the data types, console, math and arrays. System.CodeDom supports the creation of code at runtime and the ability to run it, and System.Collections contains lists, stacks, hash tables and dictionaries.

A few Base Class Library namespaces: System, System.CodeDom, System.Collections, System.Configuration.

The Base Class Library is organised into groups of namespaces:

NamespaceContents
System.WebServices (description, discovery, protocols), UI (HTML controls, Web controls), caching, security, configuration, session state
System.Windows.FormsDesign, ComponentModel
System.DrawingDrawing2D, Printing, Imaging, Text
System.DataOleDb, SqlClient, Common, SqlTypes
System.XmlXSLT, XPath, Serialization
SystemCollections, IO, Security, Runtime, Configuration, Net, ServiceProcess, InteropServices, Diagnostics, Reflection, Text, Remoting, Globalization, Resources, Threading, Serialization

.Net Class Library

.Net class libraries are a standard library for the .NET Framework implementation of the Standard Libraries as defined in the Common Language Infrastructure.

The FCL is a collection of reusable classes, interfaces and value types.

The BCL is the core of the FCL and provides the most fundamental functionality, which includes classes for:
1. Input/output
2. String manipulation
3. Security management
4. Network communications
5. Thread management and other functions

In the class library framework, above the base classes, the data and XML classes are hosted.

Data classes support persistent data management and include SQL classes for manipulating persistent data stores through a standard SQL interface.

XML classes enable XML data manipulation and XML searching and translations.

.Net Class Libraries have another layer of Web Forms, which include classes that enable you to rapidly develop web GUI applications.

Windows Forms support a set of classes that allow you to:
1. Develop Windows GUI applications,
2. Facilitate drag-and-drop GUI development and provide a common,
3. Consistent development interface across all languages supported by the .NET Framework.

The layers of the class library, from top to bottom: XML Web Services, Web Forms (ASP.NET) and Windows Forms; Data and XML Classes; Base Framework Classes; Common Language Runtime.

Intermediate Language

Intermediate language (IL) is an object-oriented programming language designed to be used by compilers for the .NET Framework before static or dynamic compilation to machine code.

Compilation flow: C#, VB.NET and C++ source code is compiled to IL, which the .NET CLR runs on the operating system.

1. The IL is used by the .NET Framework to generate machine-independent code as the output of compilation of the source code written in any .NET programming language.
2. IL is a stack-based assembly language that gets converted to bytecode during execution of a virtual machine.
3. It is defined by the common language infrastructure (CLI) specification.
4. As IL is used for automatic generation of compiled code, there is no need to learn its syntax.
5. This term is also known as Microsoft intermediate language (MSIL) or common intermediate language (CIL).

Intermediate Language can be:
1. Executed on any computer architecture,
2. Allowing compiled source code,
3. Supporting the CLI specification.

Intermediate language provides:
1. Better performance,
2. Preserves memory,
3. Saves time during application initialization,
4. The platform and CPU independence feature.

Verification of code safety, for IL code, provides better security and reliability than natively-compiled executable files.

The metadata, describing the MSIL code in the portable executable, eliminates the need for type libraries and intermediate definition language files as was used in the Component Object Model (COM) technology.

Combined with metadata and a common type system, IL forms the means to integrate modules written in different languages into one single application, thus enabling language independence.

Although IL is similar to Java bytecode in its usage by compilers, it differs from the latter in that it is designed for platform independence and language independence. It also differs in that it is compiled and not interpreted.

Instruction Sets

Two types of instruction sets are included with IL: base instructions, similar to native CPU instructions, and object model instructions used by the high-level language.

IL includes all instructions necessary for loading, storing, initializing, and calling methods on objects. It also includes arithmetic and logical operations, control flow, direct memory access, exception handling and other operations.

Unlike the common object file format used for executable content in the traditional Microsoft portable executable, the portable executable generated after the compilation of managed code contains both IL instructions and metadata.

Intermediate language is associated with two IL code tools: the MSIL Assembler (ilasm.exe) and the MSIL Disassembler (ildasm.exe). The former generates a portable executable file from IL code, while the latter converts a portable executable file back to a text file, for viewing (in human-readable format) and modification. Both are automatically installed as part of Visual Studio.

Just-in-Time Compilation

The JIT compiler is part of the Common Language Runtime (CLR). The CLR manages the execution of all .NET applications. In addition to JIT compilation at runtime, the CLR is also responsible for garbage collection, type safety and exception handling.

Modern software programming languages (like C# and VB.NET) utilize a human-friendly syntax that is not directly understandable by computers. Software commands in this human-friendly syntax are referred to as Source Code.

Before a computer can execute the source code, special programs called compilers must rewrite it into machine instructions, also known as object code. This process (commonly referred to simply as "compilation") can be done explicitly or implicitly.

Explicit compilation converts the upper level language into object code prior to program execution. Ahead of time (AOT) compilers are designed to ensure that the CPU can understand every line in the code before any interaction takes place.

Implicit compilation is a two-step process.
1. The first step is converting the source code to intermediate language (IL) by a language-specific compiler.
2. The second step is converting the IL to machine instructions.

The main difference with the explicit compilers is that only executed fragments of IL code are compiled into machine instructions, at runtime. The .NET framework calls this compiler the JIT (Just-In-Time) compiler.

JIT Compilers

There are two types of JIT compilers available in the latest .NET Framework version: Normal-JIT and Pre-JIT. The older Econo-JIT is also described below.

CompilerDescription
Normal-JIT CompilerIt compiles methods in runtime as needed.
Pre-JIT CompilerIt compiles the entire assembly before it has been used. Usually the compilation happens during application deployment. You can pre-compile an assembly using the Ngen.exe tool (Native Image Generator).
Econo-JITIt was a runtime compiler which hadn't done any optimization and removed the method's machine code when it is not required. It was done to improve compilation time. The compiler is obsolete since .NET 2.0 and you cannot enable it anymore.

Garbage Collection

The .NET Framework manages memory for managed code:
1. All allocations of objects and buffers are made from a Managed Heap.
2. Unused objects and buffers are cleaned up automatically through Garbage Collection.

Some of the worst bugs in software development are not possible with managed code:
1. Leaked memory or objects,
2. References to freed or non-existent objects,
3. Reading of uninitialized variables.
4. Pointerless environment.

Garbage Collector Working Phases

The garbage collector works in three phases: Marking Phase, Relocating Phase and Compacting Phase.

1. In the marking phase the garbage collector finds and creates a list of all live objects.
2. In the relocation phase the garbage collector updates the references to the objects that will be compacted.
3. In the compacting phase the garbage collector reclaims the memory occupied by the dead objects and compacts the surviving objects. The compacting phase moves the surviving objects toward the older end of the memory segment.

Application Installation and Assemblies

Hardware Requirements

In order to install the .NET framework SDK the following hardware is required:
1. Computer/Processor: Intel Pentium class, 133 megahertz (MHz) or higher.
2. Minimum RAM requirement: 128 megabytes (MB) (256 MB or higher recommended).
3. Hard disk: hard disk space required to install: 600 MB; hard disk space required: 370 MB.
4. Display: Video 800x600, 256 colors.
5. Input device: Microsoft mouse or compatible pointing device.

Software Requirements

Microsoft Internet Explorer 5.01 or later is required. Microsoft Data Access Components 2.6 is also required (Microsoft Data Access Components 2.7 is recommended).

Operating System

Microsoft Windows 2000, with the latest Windows service pack and critical updates available from the Microsoft Security Web page.

Assemblies

1. DLL or EXE file.
2. Smallest deployable unit in the CLR.
3. Has a unique version number.
4. No version conflicts (known as DLL hell).
5. Contains IL code to be executed.

An assembly is a set of boundaries like:
1. A security boundary: the unit to which permissions are requested and granted.
2. A type boundary: the scope of an assembly uniquely qualifies the types contained within.
3. A reference scope boundary: specifies the types that are exposed outside the assembly.
4. A version boundary: all types in an assembly are versioned together as a unit.
5. Avoids the multiple version problem for DLLs.

An assembly contains a "manifest", which is a catalog of component metadata containing:
1. Assembly name.
2. Version (major, minor, revision, build).
3. Assembly file list: all files "contained" in the assembly.
4. Type references: mapping the managed types included in the assembly with the files that contain them.
5. Scope: private or shared.
6. Referenced assemblies.

Web Services

Web services are components on a Web server that a client application can call by making HTTP requests across the Web.

ASP.NET enables you to create custom Web services or to use built-in application services, and to call these services from any client application.

A Web service uses a standardized XML messaging system. XML is used to encode all communications to a Web service.

In a simple sense, Web Services are means for interacting with objects over the Internet. The Web Service consumers are able to invoke method calls on remote objects by using SOAP and HTTP over the Web.

Web Service is language independent and Web Services communicate by using standard web protocols and data formats, such as HTTP, XML and SOAP.

A request to a Web service passes through these stages: IIS, ISAPI filters, the ASP.NET runtime, HTTP modules, and then the Web Services request handler with its SOAP extensions.

Unified Classes

The .NET unified classes provide the foundation on which you build your applications, regardless of the language you use.

Whether you are simply concatenating a string, or building a Windows Service or a multiple-tier Web-based application, you will be using these unified classes.

The unified classes provide a consistent method of accessing the platform's functionality. You no longer need to learn and master different API architectures to write your applications.

You won't need to deploy myriad dependencies, such as a separate data access library, XML parser, and network API, because all of this functionality is part of the .NET Framework.

CBSE Computer Science Study Material: .NET Technology

Comprehensive Study Resources for .NET Technology

Access comprehensive study material for .NET Technology, including revision notes, concept maps, and high-probability questions. These resources are designed in alignment with the latest 2026 CBSE syllabus for Computer Science to support effective exam preparation.

Understanding Marking Schemes

Designed around the official curriculum, these study guides guarantee standard compliance. Reviewing step-by-step solutions clarifies complex sub-topics within .NET Technology and demystifies standard marking schemes for Computer Science evaluations.

Complete Revision for Computer Science

For peak performance in upcoming evaluations, integrate official Computer Science sample papers directly into your study schedule. Follow up your revision by attempting online MCQ tests for .NET Technology to refine calculation speed and precision.

FAQs

Where can I find the most advanced study material for [current-page:node:field_board] [current-page:node:field_class] Computer Science for 2026-27?

The latest 2026-27 advanced study resources for Computer Science are available for free on StudiesToday.com which includes NCERT Exemplars, high-order thinking skills (HOTS) questions, and deep-dive concept summaries.

What does the 2026-27 Computer Science study package for [current-page:node:field_class] include?

Our exhaustive Computer Science package includes chapter wise revision notes, solved practice sheets, important formulas and Concept Maps to help in better understanding of all topics.

Is this study material enough for both [current-page:node:field_board] exams and competitive tests?

Yes. For , our resources have been developed to help you get better marks in school exams and also build fundamental strength needed for entrance tests including Competency Based learning.

How should [current-page:node:field_class] students use this Computer Science material for maximum marks?

in , students should use Active Recall method, read the concept summary, then solve the Important Questions section without looking at the answers and then check your answers.

Can I download [current-page:node:field_class] Computer Science study notes in PDF for offline use?

All Computer Science study materials are provided in mobile-friendly PDF. You can download and save them on your device.

Are the [current-page:node:field_class] Computer Science resources updated for the latest NEP guidelines?

Yes, our team has ensured that all Computer Science materials for are strictly aligned with the National Education Policy (NEP) 2020 and the latest 2026-27 syllabus.