2. Index:
.NET Architecture
What is .NET?
.NET What is it?
.NET runtime(CLR)
MSIL(Microsoft Intermediate language)
Managed code & Unmanaged code
NET Languages Available
Assembly
BCL(Base Class Library)
CTS(Common Type Specification)
Metadata
JIT Compiler
Resources
2
3. What Is .NET
• .Net is a new framework for developing web-
based and windows-based applications within
the Microsoft environment.
• The framework offers a fundamental shift in
Microsoft strategy: it moves application
development from client-centric to server-
centric.
3
4. Base Class Library
Common Language Specification
Common Language Runtime
Data and XML
VB C++ C#
VisualStudio.NET
Web
Services
JScript …
User
Interface
4
5. 5
.NET – What Is It?
Operating System + Hardware
.NET Framework
.NET Application
6. CLR(Common language Runtime)
• CLR is the heart of .NET framework.
• It’s a VM (Java-like) on which any (supported) language
can run.
• It is also refer as a manage environment that provide
garbage collection security.
• JIT compilation in the VM
6
7. MSIL
• Languages compile to MSIL (Microsoft Intermediate
Language)
• MSIl is the cpu independent instruction set into
which .NET framework program compile.
• MSIL contains instruction for loading , storing , inislize
and calling method of different objects.
• It is also known as CIL(Common Intermediate
Language) or IL(Intermidiate Language).
7
8. Managedcode & Unmanagedcode
• Manage Code:
It runs on CLR.
First load and varify in the assembly.
• Unmanaged Code:
It is directly compile to machine code that run on
machine.
It directly run on operating System.
8
9. .NET Languages Available
• Visual Basic
• C#
• Jscript
• C++
• Perl
• Python
• COBOL
• Haskell
• ML
• Ada
• Pascal
• C
• SmallTalk
• Oberon
• Scheme
• Mercury
• APL
• Eiffel
• Oz
• Objective Caml
9
10. Assembly
• In general, a static assembly can
consist of four elements:
• The assembly manifest,
which contains assembly
metadata.
• Type metadata.
• Microsoft intermediate
language (MSIL) code that
implements the types.
• A set of resources.
10
11. BCL
• In c and c++ we include header files like stdio.h,conio.h
for use library functions.
• In .NET BCL is the collection of the classes and
namespaces which are used in application.
• The .NET framework BCL provides collection of classes
which are hierarchical organized via namespaces.
11
12. CTS
• Microsoft has provide common type system which
means we don’t worry about when we are developing
multiple languages.
• In .NET all data types are object which derived from
System.Object.
• All data types derived from common base class
12
13. Metadata
• The data above data is called metadata.
• It is a feature that the CLR knows the details about
particular component or object.
• This data is stored in assenbly.
• It contains a declaration for every type including
names,members like methods , field , properties and
events.
13
14. JIT Compiler
• JIT stands for JUST-IN TIME Compiler.
• When any .NET application is compiled it is not
converted into machine code but it is converted
into MSIL.
• This code is machine independent so CLR
provide just in time compilation technique to
convert MSIL into platform/device specific code.
14
15. Continue…..
• There are three types of compiler:
1.Pre-JIT:
Normally it is use at instalation time.
2.Econo-JIT:
This compiler is used on devices with limited
recourses.
3.Normal JIT:
It is default resulting native code in cache.
15
16. Resources
• http://www.w3.org/TR/SOAP/ - W3C standards for
SOAP implementation
• http://www.microsoft.com/net - Microsoft .NET home
• http://msdn.microsoft.com/net - Microsoft .NET
developers home
16
This template can be used as a starter file for presenting training materials in a group setting.
Sections
Right-click on a slide to add sections. Sections can help to organize your slides or facilitate collaboration between multiple authors.
Notes
Use the Notes section for delivery notes or to provide additional details for the audience. View these notes in Presentation View during your presentation.
Keep in mind the font size (important for accessibility, visibility, videotaping, and online production)
Coordinated colors
Pay particular attention to the graphs, charts, and text boxes.
Consider that attendees will print in black and white or grayscale. Run a test print to make sure your colors work when printed in pure black and white and grayscale.
Graphics, tables, and graphs
Keep it simple: If possible, use consistent, non-distracting styles and colors.
Label all graphs and tables.
Give a brief overview of the presentation. Describe the major focus of the presentation and why it is important.
Introduce each of the major topics.
To provide a road map for the audience, you can repeat this Overview slide throughout the presentation, highlighting the particular topic you will discuss next.
This is another option for an Overview slides using transitions.
What will the audience be able to do after this training is complete? Briefly describe each objective how the audience will benefit from this presentation.
Use a section header for each of the topics, so there is a clear transition to the audience.
Is your presentation as crisp as possible? Consider moving extra content to the appendix.
Use appendix slides to store content that you might want to refer to during the Question slide or that may be useful for attendees to investigate deeper in the future.