What is CTS, CLS and CLR ?
Answer Posted / shekar
To establish a framework that helps enable cross-language integration, type safety, and high performance code execution .
To provide an object-oriented model that supports the complete implementation of many programming languages.
To define rules that languages must follow, which helps ensure that objects written in different languages can interact with each other.
The CTS also defines the rules that ensures that the data types of objects written in various languages are able to interact with each other.
The CTS also specifies the rules for type visibility and access to the members of a type, i.e. the CTS establishes the rules by which assemblies form scope for a type, and the Common Language Runtime enforces the visibility rules.
The CTS defines the rules governing type inheritance, virtual methods and object lifetime.
Languages supported by .NET can implement all or some common data types
The Common Language Infrastructure is an open specification developed by Microsoft and standardized by ISO[1] and ECMA[2] that describes the executable code and runtime environment that form the core of the Microsoft .NET Framework and the free and open source implementations Mono and Portable.NET. The specification defines an environment that allows multiple high-level languages to be used on different computer platforms without being rewritten for specific architectures.
The Common Language Runtime (CLR) is the virtual machine component of Microsoft's .NET framework and is responsible for managing the execution of .NET programs. In a process known as just-in-time (JIT) compilation, the CLR compiles the intermediate language code known as Common Intermediate Language (CIL) into the machine instructions that in turn are executed by the computer's CPU. The CLR provides additional services including memory management, type safety and exception handling. All programs written for the .NET framework, regardless of programming language, are executed by the CLR. It provides exception handling, Garbage collection and thread management.
The CLR is Microsoft's implementation of the Common Language Infrastructure (CLI) standard.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is server side routing?
What are the differences between application object and session object?
What is a web server? What are the load limits in it?
What is authorization in asp.net?
Is it possible to develop a single web application using ASP.NET webforms and ASP.MVC?
What is AutoPostback?
Explain difference between dataset and recordset?
How do you declare static variable? What is its lifetime?
Why we use dbms for projects? Why don’t we save any application data in separate files instead of dbms?
What do you mean by caching in asp.net?
Define a multilingual website?
If I have more than one version of one assemblies, then how will I use old version (how/where to specify version number?) In my application?
How can you ensure a permanent cookie?
In a page I have gridview with options of select and delete using hyperlink when I am selecting any one of then it has to open another page how can it?
How long the items in ViewState exists?