Software Platform".: Common Language Runtime (CLR)
Software Platform".: Common Language Runtime (CLR)
NET Framework
The .NET Framework is a managed, type-safe environment for developing and executing
applications. The .NET Framework manages all aspects of program execution, like, allocation of
memory for the storage of data and instructions, granting and denying permissions to the
application, managing execution of the application and reallocation of memory for resources that
are not needed.
The CLR is described as the "execution engine" of .NET. It provides the environment within
which the programs run. It's this CLR that manages the execution of programs and provides core
services, such as code compilation, memory allocation, thread management, and garbage
collection. Through the Common Type System (CTS), it enforces strict type safety, and it
ensures that the code is executed in a safe environment by enforcing code access security. The
software version of .NET is actually the CLR version.
When the .NET program is compiled, the output of the compiler is not an executable file but a
file that contains a special type of code called the Microsoft Intermediate Language (MSIL),
which is a low-level set of instructions understood by the common language run time. This MSIL
defines a set of portable instructions that are independent of any specific CPU. It's the job of the
CLR to translate this Intermediate code into a executable code when the program is executed
making the program to run in any environment for which the CLR is implemented. And that's
how the .NET Framework achieves Portability. This MSIL is turned into executable code using a
JIT (Just In Time) complier. The process goes like this, when .NET programs are executed, the
CLR activates the JIT complier. The JIT complier converts MSIL into native code on a demand
basis as each part of the program is needed. Thus the program executes as a native code even
though it is compiled into MSIL making the program to run as fast as it would if it is compiled to
native code but achieves the portability benefits of MSIL.
Class Libraries
Class library is the second major entity of the .NET Framework which is designed to integrate
with the common language runtime. This library gives the program access to runtime
environment. The class library consists of lots of prewritten code that all the applications created
in VB .NET and Visual Studio .NET will use. The code for all the elements like forms, controls
and the rest in VB .NET applications actually comes from the class library.
Some reasons why developers are building applications using the .NET Framework:
Improved Reliability
Increased Performance
Developer Productivity
Powerful Security
Integration with existing Systems
Ease of Deployment
Mobility Support
XML Web service Support
Support for over 20 Programming Languages
Flexible Data Access
Microsoft .NET Framework (Microsoft Dot Net Framework) adalah sebuah komponen yang
dapat ditambahkan ke sistem operasi Microsoft Windows atau yang telah terintegrasi ke dalam
Windows.
Kerangka kerja ini menyediakan sejumlah besar solusi-solusi program untuk memenuhi
kebutuhan-kebutuhan umum suatu program baru, dan mengatur eksekusi program-program yang
ditulis secara khusus untuk framework ini.
.NET Framework adalah kunci penawaran utama dari Microsoft, dan dimaksudkan untuk
digunakan oleh sebagian besar aplikasi-aplikasi baru yang dibuat untuk platform Windows.
Sehingga terkadang ada bebeapa aplikasi yang tidak dapat kita jalankan karena pada Operating
System kita tidak memiliki Microsoft .NET Framework
.NET seringkali juga dapat diartikan sebagai platform, yang merupakan suatu lingkungan
terpadu untuk pengembangan dan eksekusi untuk berbagai macam bahasa pemrograman dan
kumpulan library untuk bekerja sama membuat dan menjalankan aplikasi berbasis Windows
yang lebih mudah untuk dibuat, diatur, didistribusikan, dan diintegrasikan dengan sistem
jaringan lain.
The .NET Framework 4 is highly compatible with applications that are built with earlier .NET
Framework versions, except for some changes that were made to improve security, standards
compliance, correctness, reliability, and performance.
.NET Framework version 4 is supported on Windows 7, Windows Server 2003 R2; Windows
Server 2003 SP2; Windows Server 2008 R2; Windows Server 2008 SP2; Windows Vista SP 2;
Windows XP SP3, Windows Server 2003 SP2, Windows Vista SP1 or later.