0% found this document useful (0 votes)
34 views

Net Framework

The .NET Framework is a Windows component that supports building and running applications and XML web services. It provides a consistent programming environment whether code is local or remote, minimizes deployment conflicts, and promotes safe code execution. The framework includes the Common Language Runtime (CLR) and Base Class Library, allowing developers to create web, Windows, and web services applications using languages like C# and VB.NET that compile to Microsoft Intermediate Language (MSIL) and execute in the CLR. It aims to create a common developer experience across platforms and applications.

Uploaded by

Shashi Shivran
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views

Net Framework

The .NET Framework is a Windows component that supports building and running applications and XML web services. It provides a consistent programming environment whether code is local or remote, minimizes deployment conflicts, and promotes safe code execution. The framework includes the Common Language Runtime (CLR) and Base Class Library, allowing developers to create web, Windows, and web services applications using languages like C# and VB.NET that compile to Microsoft Intermediate Language (MSIL) and execute in the CLR. It aims to create a common developer experience across platforms and applications.

Uploaded by

Shashi Shivran
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

.

Net Framework
.NET framework is a Windows Component that supports the building and running of windows applications
and XML Web services. The purpose of the component is to provide the user with a consistent object
oriented programming environment whether the code is stored locally or remotely.

It aims to minimize software deployment and versioning conflicts and also promote safe execution of code
including codes executed by trusted third parties. It is directed towards eliminating performance problems
of scripted or interpreted environments. The effort is to make developer experience consistent across a
variety of applications and platforms and create communication standards that help .NET framework
applications integrate with all other web based applications.

.NET Framework is made up of the Common Language Runtime (CLR), the Base Class Library (System
Classes). This allows us to build our own services (Web Services or Windows Services) and Web
Applications (Web forms Or Asp .Net), and Windows applications (Windows forms). We can see how this
is all put together.?

.NET languages follows rules provided by the Common Language Specifications (CLS). These languages
can all be used independently to build application and can all be used with built-in data describers (XML)
and data assessors (ADO .NET and SQL). Every component of the .NET Framework can take advantage
of the large pre- built library of classes called the Framework Class Library (FCL). Once everything is put
together, the code that is created is executed in the Common Language Runtime. Common Language
Runtime is designed to allow any .NET-compliant language to execute its code. At the time of writing,
these languages included VB .Net, C# and C++ .NET, but any language can become .NET- compliant, if
they follow CLS rules. The following sections will address each of the parts of the architecture.

 .Net Common Language Specifications (CLS):

   In an object-oriented environment, everything is considered as an object. You create a template for an


object (this is called the class file), and this class file is used to create multiple objects.
TIP: Consider a Rectangle. You may want to create many Rectangle in your lifetime; but each Rectangle
will have certain characteristics and certain functions. For example, each rectangle will have a specific
width and color. So now, suppose your friend also wants to create a Rectangle. Why reinvent the
Rectangle? You can create a common template and share it with others. They create the Rectangle
based on your template. This is the heart of object-oriented programming ,the template is the class file,
and the Rectangle is the objects built from that class. Once you have created an object, your object needs
to communicate with many other Objects. 

   Even if it is created in another .NET language doesn’t matter, because each language follows the rules
of the CLS. The CLS defines the necessary things as common variable types (this is called the Common
Type System CTS ), common visibility like when and where can one see these variables, common
method specifications, and so on. It doesn’t have one rule which tells how C# composes its objects and
another rule tells how VB .Net does the same thing . To steal a phrase, there is now one rule to bind them
all. One thing to note here is that the CLS simply provides the bare rules. Languages can adhere to their
own specification. In this case, the actual compilers do not need to be as powerful as those that support
the full CLS.

The Common Language Runtime (CLR):


   The heart of .net Framework is Common Language Runtime (CLR). All .NET-compliant languages run
in a common, managed runtime execution environment. With the CLR, you can rely on code that is
accessed from different languages. This is a huge benefit. One coder can write one module in C#, and
another can access and use it from VB .Net. Automatic object management, the .NET languages take
care of memory issues automatically. These are the few listed?benefits which you get from CLR.

Microsoft Intermediate Language (MSIL):


   So how can many different languages be brought together and executed together? Microsoft
Intermediate Language (MSIL) or, as it is more commonly known, Intermediate Language (IL). In its
simplest terms, IL is a programming language.If you wanted to, you could write IL directly, compile it, and
run it. But why would want to write such low level code? Microsoft has provided with higher-level
languages, such as C#, that one can use. Before the code is executed, the MSIL must be converted into
platform-specific code. The CLR includes something called a JIT compiler in which the compiler order is
as follows. 

Source Code => Compiler => Assembly =>Class Loader =>Jit Compiler =>Managed Native
Code=>Execution.

  The above is the order of compilation and execution of programs. Once a program is written in a .Net
compliant language, the rest all is the responsibility of the frame work

The .NET Framework allows you to:

 Apply common skills across a variety of devices, application types, and programming tasks
 Integrate with other tools and technologies to build the right solution with less work
 Build compelling applications faster.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy