Asp.net blogs

Saturday, 6 July 2013

Introduction to DotNet

DotNet : .Net was introduced by Microsoft. Ms.net is a software component that runs on the windows operating system.
It provides tools and libraries that enable developers to create windows software much faster and easier. The .net must be installed on a Users System to run .Net applications.

.Net Framework : It is a collection of all tools and utilities required to execute the .net applications on a particular platform like Web and Mobile Development.

The Microsoft.Net includes the standard compilers i.e c#, Vb.net,J# etc., runtime environment,Garbage Collector, Security Manager, Thread Manager, Assembly Loader, Just In Time Compilers and the standard framework or Base Class Libraries.

The .Net is made up of two parts as shown below :

1. Common Language Runtime.
2. Base Class Libraries.

1. Common Language Runtime: It is the execution engine for .Net applications and serves as the interface between .Net applications and the operating System.

or

It is an environment which manages the execution of coding.

Forexample : Memory Management, Garbage Collection,To support multiple Language.

The CLR provides many services such as :

a. Loads and Executes Code.
b. Convert Intermediate Language to Native Machine Language.
c. Separate Processes and Memory.
4. Handle Exceptions.

Code that is compiled and targeted to the CLR is known as Managed Code.

Managed Code provides metadata that is needed for the CLR to provide the services of multilanguage support, code security, object lifetime management and memory management.

2. Base Class Library -: It is a standard library available to all languages using .Net framework.Dotnet  includes the BCL to encapsulate a large number of common funstions such as file reading and writing, graphic rendering, database interaction and XML document manipulation which makes the programmer job easier.

The BCL is sometimes incorrectly referred to as the Framework Class Library which is a superset including the Microsoft.* namespace.