Kamis, 05 Desember 2013

Common Language Runtime and Features, .NET Framework: Introduction to Sql Server

Earlier article was about .Net Framework and its components. In this article we will discuss about the remaining component i.e. Common Language Runtime, the important among all.

The CLR, Common Language Runtime, is one of the most essential components of the .NET Framework. It provides an environment for the application to run. The CLR or the runtime provides functionalities, such as exception handling, security, debugging, and versioning support to the applications.

Here're some of the features provided by the CLR:


  • Automatic memory management: allocates and de-allocates memory to the application as and when required.
  • Standard type system: provides a set of common data types in the form of Common Type System (CTS). This means that the size of integer and long variables is the same across all programming languages.
  • Language Inter-operability: provides the ability of an application to interact with another application written in a different programming language. This also helps maximize code reuse.
  • Platform independence: allows execution of a code from any platform that supports the .NET CLR.
  • Security management: applies restrictions on the code to access the resources of a computer.

The CLR can host a variety of languages and offers a common set of tools across these languages, ensuring inter-operability between the codes. The code developed with a language compiler that targets the CLR is called a managed code.

Alternatively, the code that is developed without considering the conventions and requirements of the common language runtime is called unmanaged code. Unmanaged code executes in the common language runtime environment with minimal services. For example, unmanaged code may run with limited debugging and without the garbage collection process.

The components of SQL Server and the .NET Framework provide various features to the database server. These features help the developers to manage data in an efficient way.

Read Also: SQL Server Features and SQL Intro

Tidak ada komentar:

Posting Komentar