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
Which of the following .NET framework supports Web API?
Can the validation occurs in server-side or client-side? If the validation occurs why should we do?
How is the asp.net mvc architecture different from others? : asp.net mvc
What is virtual directory in asp.net?
Explain the updatepanel?
What are ASHX files?
If 200 is for all successful operation then why do we have 201 response codes?
What is cookieless session id explain in brief?
What is difference between session and cookie?
1.how to encrpt query string in asp.net? 2.there are 10000 records then i wnat display 5000 records one gridview and 5000 records another grid view what is the process?
Where would you use an ihttpmodule, and what are the limitations of any?
Explain what benefit does your code receive if you decorate it with attributes demanding specific security permissions?
What is x xss protection?
What is the difference between dynamic SGA and static SGA?
What is difference between viewstate and session in asp net?