What is .NET Framework?TrickCode

Microsoft ,What is dot net framework?,What is .NET Framework?TrickCode,ASP.NET,Common Language Runtime,
Share it:
What is .NET Framework?
google

What is dot net framework?


T he .NET Framework (“dot net”) is a platform created by Microsoft used to develop different kinds of applications targeted to the Windows operating system. It is a gigantic library of classes, structs, enumerations, basic types, and many more which are categorized into different modules.

The .NET Framework is divided into several modules so you may not be using the whole .NET Framework in developing your application. For example, one module contains classes that let you connect to a database. These classes are included in the ADO.NET part of the .NET Framework. The .NET Framework can also be used for developing Web Applications by taking advantage of the ASP.NET. Several versions of the .NET have been released in the past and each iteration adds a considerable amount of features to the earlier version. Although .NET applications are designed for Windows, some third-party companies try to port the .NET to other systems.


Another great feature of the .NET framework is the Common Language Runtime (CLR). This enables the .NET framework to understand an array of supported languages such as C#, Visual Basic, and C++. The code that runs under the CLR and .NET is called managed code. During compilation, source codes are compiled into Microsoft Intermediate Language (MSIL or simply IL). For example, codes in C# and Visual Basic both compile to IL. That is why different .NET applications written in different languages can still communicate with each other. The IL code is stored in an assembly. If you want a language to be .NET-compatible, you can create a compiler that compiles your code into the Intermediate Language. Note that MSIL can also be called Common Intermediate Language or CIL.


What is dot net framework?
google



Once your code is compiled to Intermediate Language, the job is transferred to the Just-In-Time (JIT) compiler. The JIT compiles the Intermediate Code into native code which the computer will understand only when that part of code is needed by the program (hence the term “just in time”). The compiled native code is automatically optimized for the current OS or machine.

The .NET Framework also has the Common Type System. This is the mapping of the data types specific to a language to its equivalent type in the .NET Framework. Data types are representations of data. For example, whole numbers are represented by the integer data type. With CTS, the int data type in C# and the Integer data type in Visual Basic is the same because both are mapped to the .NET type System.Int32.

Garbage collection is another feature of the .NET Framework. When the application is no longer in use, the .NET Framework frees up the memory used by an application. The garbage collector is called whenever it is needed by an application.

To be able to run a .NET application, you must first install it on your computer. The latest release of the Windows 7 operating system has .NET pre-installed. If your system doesn’t have .NET installed yet, you can download it by clicking the link below: Microsoft .NET 4.0 Download


After downloading, run the installer and follow the instructions. You might need to restart the computer after/during installation.




Share it:

adonet

C#

VB.NET

Post A Comment:

0 comments: