About Dotnet Frame work Architecture & CLR major functions in .NET

Posted by Sivakumar.S under Visual Studio on 10/8/2012 | Points: 10 | Views : 6085 | Status : [Member] | Replies : 5
Hi All,

Can anyone explain about Architecture of the Dotnet Framework and Major functions of CLR in .NET??

siva


Responses

Posted by: Ranjeet_8 on: 10/8/2012 [Member] [MVP] Gold | Points: 25

Up
0
Down
The Common Language Runtime (CLR) is an Execution Environment . It works as a layer between Operating Systems and the applications written in .Net languages that conforms to the Common Language Specification (CLS). The main function of Common Language Runtime (CLR) is to convert the Managed Code into native code and then execute the Program. The Managed Code compiled only when it needed, that is it converts the appropriate instructions when each function is called . The Common Language Runtime (CLR) 's Just In Time (JIT) compilation converts Intermediate Language (MSIL) to native code on demand at application run time.

During the execution of the program ,the Common Language Runtime (CLR) manages memory, Thread execution, Garbage Collection (GC) , Exception Handling, Common Type System (CTS), code safety verifications, and other system services. The CLR ( Common Language Runtime ) defines the Common Type System (CTS), which is a standard type system used by all .Net languages . That means all .NET programming languages uses the same representation for common Data Types , so Common Language Runtime (CLR) is a language-independent runtime environment . The Common Language Runtime (CLR) environment is also referred to as a managed environment, because during the execution of a program it also controls the interaction with the Operating System. In the coming section you can see what are the main functions of Common Language Runtime (CLR).

Source :
http://vb.net-informations.com/framework/common_language_runtime.htm

Sivakumar.S, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Oswaldlily on: 10/9/2012 [Member] Starter | Points: 25

Up
0
Down
CLR major functions:
a) Garbage collection,Code Access security,Code verification(Type safety)
b) CLR allows an instance of class written in 1 language to call a method of class written in another language.
c) CLR loads the assembly and locates the entry point
d) Processor cant execute Intermediate Language.So CLR invokes JIT compiler to compile the method to machine language.
e) Memory management,Thread Management,Exception Hnadling,Cross language Integration,multiple language support
f) In Transact SQL u cant write functions,storeporocedure,trigers.But its possible to write in sql server using CLR.(CLR integration)
g) Used to identify namespace.After loading assemblies,CLR identify namespace for code in assemblies
h) CLR can load and execute source code written in any .net lang if type is described in CTS.


Sivakumar.S, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Ranjeet_8 on: 10/10/2012 [Member] [MVP] Gold | Points: 25

Up
0
Down
Hi.. @Sivakumar.S
if this helps u please Mark As Answer.

Sivakumar.S, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bageshkumarbagi on: 10/14/2012 [Member] Starter | Points: 25

Up
0
Down
hi sivkumar
Refer this url.....
http://www.startvbdotnet.com/dotnet/framework.aspx
http://vb.net-informations.com/framework/common_language_runtime.htm
http://msdn.microsoft.com/en-us/library/vstudio/bb384548(v=vs.100).aspx
http://www.c-sharpcorner.com/UploadFile/chandrakantpp/UnderstandingFrameworkatglance11292005013851AM/UnderstandingFrameworkatglance.aspx



Thanks,
Bagesh Kumar Singh
Mark as answer if you have been satisfied

Sivakumar.S, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Bageshkumarbagi on: 10/14/2012 [Member] Starter | Points: 25

Up
0
Down
hi sivakumar
if this url help you then you marks as answer.

Thanks,
Bagesh Kumar Singh
Mark as answer if you have been satisfied

Sivakumar.S, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response