Powered by Blogger.

Sunday, February 23, 2014

Common Language Runtime in C#.Net

In this post we will discuss about Common Language Runtime in C#.Net.

Also check out:

- Query to get records between two dates in sql server 2008

- Show confirmation message in gridview for delete in Asp.net

- Triggers in sql server 2008

- The CLR is the engine that supports all the .NET languages. All .NET code runs inside the CLR.

- When a client requests an ASP.NET web page, the ASP.NET service runs inside the CLR environment, executes your code, and creates a final HTML page to send to the client.

- CLR has deep integration with different language like VB.Net or C#.Net. It converts to IL code.

- The CLR also has the ability to load more than one version of a component at a time. Multiple versions of the .NET Framework can be installed, meaning that you’re able to upgrade to new versions of ASP.NET without replacing the current version or needing to rewrite your applications.

-  It also helps improve performance. ASP.NET application is extremely fast, because ASP.NET code is compiled to machine code before it’s executed.

- CLR provides exception handling, garbage collection and thread management.