Net Framework
Net Framework
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.
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.
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
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.