Datasheet

Runtime (CLR). This chapter also discussed the roles of the following features of .NET in the compilation
and execution process:
Assemblies and .NET base classes
COM components
JIT compilation
Application domains
Garbage collection
Figure 1-4 provides an overview of how these features come into play during compilation and execution.
Figure 1-4
ASSEMBLY
containing IL
CODE
COMPILATION
EXECUTION
Language
Interoperability
through CTS
and CLS
VB.NET
Source Code
.NET base
classes
Assemblies
loaded
CLR ORGANIZES:
C# Source
Code
ASSEMBLY
containing IL
CODE
JIT
compilation
Security
permissions
granted
Memory type
safety checked
Creates App
Domain
Garbage collector
cleans up sources
PROCESS
Application domain
CODE EXECUTES
HERE
COM interop
services
legacy COM
compon
ent
27
Chapter 1: .NET Architecture
24727c01.qxd:WroxPro 5/7/07 12:12 PM Page 27