what are clr,cls,cts?what is .net framework?
Answers were Sorted based on User's Feedback
Answer / susant
.NET Framework?
The Microsoft .NET Framework is a platform, for building,
deploying, and running Web Services and applications. It
provides a highly productive, standards-based, multi-
language environment for deployment and operation of
Internet-scale applications. The .NET Framework consists of
two main parts: Common Language Runtime (CLR) and the Base
Class Libraries (BCL).
We can create 3types of application in .Net framework
1) Windows Application
2) Console Application
3) Web Application
What is the common language runtime (CLR)?
The common language runtime is the execution engine
for .NET Framework applications. It provides a number of
services, including the following:
i) Code management (loading and execution)
ii) Application memory isolation.
iii) Version control.
iv) Conversion of IL to native code.
v) Access to metadata (enhanced type information)
vi) Garbage collection
vii) Enforcement of code access security.
viii) Exception handling, including cross-language
exceptions
ix) Interoperation between managed code.
x) Support for developer services (profiling,
debugging, and so on)
Parts of CLR (Common Language Runtime):
1. Common Type system (CTS)
2. Common Language Specification (CLS)
Q: What is the common type system (CTS)?
.Net framework supports multiple languages, and different
language defines their primitives’ data types in different
formats. For examples:
C# defines and integer variable : int i;
Where as VB.Net defines an integer variable: Dim i as
integer
Microsoft tries to convert these data types into a generic
data types. So that different codes written in different
languages code are converted into language independent
code, due to this CTS is created.
CTS contain different data type’s specification to be used
in our code. For example: the primitives’ integer data type
is known as Int32, in CTS. All data types are derived from
object data types from which the value types and reference
types are defined.
Q: What is the Common Language Specification (CLS)?
i) CLS stands for Common Language Specification
ii) CLS is subset CTS
iii) CLS allows developers, vendors, software
manufactures an opportunity to work with in a common set of
specification for language, data types.
iv) CLS defines the standard that the object must
contain in order to communicate with each other, in
homogeneous environment.
Is This Answer Correct ? | 100 Yes | 7 No |
Answer / nazrul.nazi
clr-
It is common Language runtime.which is Engine of .net
platform.which is responsible for execution of code,cross
language interoprebility,garbage
Collection,Security,Exception Handling.
cls(Common language specification)->set of rule which follow
by different languages
ex-like every language used variable
declaration,exception handling,events.
cts(Common type specification) it is subset of cls.It is set
of common datatype which is used in different languages.
ex
VB-Integer
C# -Int
But cts has Int32 which is applicable for all languages.
.Framework->
set of tools(CLR,BCL,Ado.Net etc) which used to
develop and execute an application.
Is This Answer Correct ? | 37 Yes | 12 No |
What is the common language runtime (CLR)?
The common language runtime is the execution engine
for .NET Framework applications. It provides a number of
services, including the following:
i) Code management (loading and execution)
ii) Application memory isolation.
iii) Version control.
iv) Conversion of IL to native code.
v) Access to metadata (enhanced type information)
vi) Garbage collection
vii) Enforcement of code access security.
viii) Exception handling, including cross-language
exceptions
ix) Interoperation between managed code.
x) Support for developer services (profiling,
debugging, and so on)
Parts of CLR (Common Language Runtime):
1. Common Type system (CTS)
2. Common Language Specification (CLS)
Q: What is the common type system (CTS)?
.Net framework supports multiple languages, and different
language defines their primitives’ data types in different
formats. For examples:
C# defines and integer variable : int i;
Where as VB.Net defines an integer variable: Dim i as
integer
Microsoft tries to convert these data types into a generic
data types. So that different codes written in different
languages code are converted into language independent
code, due to this CTS is created.
CTS contain different data type’s specification to be used
in our code. For example: the primitives’ integer data type
is known as Int32, in CTS. All data types are derived from
object data types from which the value types and reference
types are defined.
Q: What is the Common Language Specification (CLS)?
i) CLS stands for Common Language Specification
ii) CLS is subset CTS
iii) CLS allows developers, vendors, software
manufactures an opportunity to work with in a common set of
specification for language, data types.
iv) CLS defines the standard that the object must
contain in order to communicate with each other, in
homogeneous environment.
Is This Answer Correct ? | 20 Yes | 4 No |
Answer / rajesh
clr -> Common lang Runtime , it convert source code to IL
code using "Jit" Complier it convert il code to m/c
Is This Answer Correct ? | 15 Yes | 6 No |
Answer / jay shankar
clr- clr is mainly responsible for executing to application
your code
cls - cls is stands for common language specification
ls defines the rules and standards to which language
must adher to in order to compatible with other .net languge
cts- common type system is responsible for convert to ane
language two another language
Is This Answer Correct ? | 9 Yes | 2 No |
Answer / jailendra kumar
CLR is the engine of .net Framwork it's manage compiling
code executing code and make him able to understand to
machin ,
it has two parts
(I)CTS (Common Type system)
CTS manage the data type Like integer one langauge to
another it's make to usable
Is This Answer Correct ? | 0 Yes | 3 No |
What is an interrupt? : .NET Architecture
what are the lifetime events of a from?
6. Wcf- what is SOA
how to add list of items in a web application and win application?
what are ACID properties ?
Explain How to improve the cache performance? : Dot net architecture
What is the mesi? : Dot net architecture
What is .net viewstate?
Explain how cache is used? : Dot net architecture
.Net Frame work arch?
Explain about .net garbage collector?
Explain the race around condition? How can it be overcome? : Dot net architecture