what are clr,cls,cts?what is .net framework?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain how to develop mobile applications using microsoft mobile internet toolkit (mmit) or .net mobile? : Microsoft dot net mobile

588


I am working with asp.net 2005 and Crystal report 10. I have an image field on my dataset to show on Crystal report.And the image is shows dynamically from database in image field of CR. The image field is showing well on my Crystal report on its first page with all other data but when i click to open second page of CR,it does not show any data on that.I found that this is because of adding the image field on crystal report. Because when i remove the image field from the CR then it will run both the pages of CR. I am using the Page Load event to bind CR data with Database. And i have already check with the Init event to bind CR , but it still not shows the data on second page when i use image field on that. Please give solution for that.....

1559


What are .net mobile controls features? : Microsoft dot net mobile

580


Difference between type constructor and instance constructor?

645


how we can fire event in databound column in datagrid without using button?

673






What actually happes when you add a something to arraylistcollection ?

586


When do I need to use gc.keepalive?

746


Explain the purpose of cache? How is it used? : .NET Architecture

637


Define the mesi? : Dot net architecture

616


Difference between throw exception and rethrowing ?

1747


IS IT Possible to inherit the AJAX page from child class which(child) is inherit from page class.Because i should apply some security in child class

1640


How can I create a application?

604


What is biginteger and when would you use that?

625


Explain about cookie less session state? : .NET Architecture

641


difference between Response.write,server.transfer and also which one is used when ?

1559