8/9/2019 Dot Net Framework ion
1/21
FRAMEWORK
8/9/2019 Dot Net Framework ion
2/21
OUR GROUP
Arvind Vishwakarma Amit Dwivedi
Kirti Chadda
Tanu Sharma
Kapil Sharma
8/9/2019 Dot Net Framework ion
3/21
o what is.NET?.Net is a platform that provides a standardized
set of services.
vIts just like Windows, except distributed over the Internet.
vIt exports a common interface so that its program can be run on anysystem that supports .NET.
A specific software framework
vIncludes a common runtime
8/9/2019 Dot Net Framework ion
4/21
. ET FrameworkProgramming model for .NET
Platform for running .NET managed code in a virtual machine
Provides a very good environment to develop networked applicationsand Web Services
Provides programming API and unified language-independentdevelopment framework
8/9/2019 Dot Net Framework ion
5/21
The Core of .NET Framework
Common Language Runtime
vGarbage collection
vLanguage integrationvIntegrated security
Framework Class Libraryv
vProvides the core functionality:
ASP.NET, Web Services, ADO.NET, Windows Forms,IOXML,etc
v
8/9/2019 Dot Net Framework ion
6/21
Common Language Runtime
Operating SystemOperating System
Common Language RuntimeCommon Language Runtime
Memory management, thread management,etc
Convert the .NET Managed Code to native code
Controls the interaction with the Operating Syste.
8/9/2019 Dot Net Framework ion
7/21
Framework Class Library
Operating SystemOperating System
Common Language RuntimeCommon Language Runtime
Object-oriented collection of reusable types
Collections, I/O, Strings,
.NET Framework (Base Class Library).NET Framework (Base Class Library)
8/9/2019 Dot Net Framework ion
8/21
Data Access Layer
Operating SystemOperating System
Common Language RuntimeCommon Language Runtime
Access relational databases
Data model
Work with XML
.NET Framework (Base Class Library).NET Framework (Base Class Library)
ADO .NET and XMLADO .NET and XML
8/9/2019 Dot Net Framework ion
9/21
ASP.NET and Windows Forms
Operating SystemOperating System
Common Language RuntimeCommon Language Runtime
Create applications frond-end Web-based user interface, Windows GUI,Web services,
.NET Framework (Base Class Library).NET Framework (Base Class Library)
ADO .NET and XMLADO .NET and XML
ASP .NETASP .NETWeb Forms Web ServicesWeb Forms Web Services
Mobile Internet ToolkitMobile Internet Toolkit
WindowsWindowsFormsForms
8/9/2019 Dot Net Framework ion
10/21
Programming Languages
Operating SystemOperating System
Common Language RuntimeCommon Language Runtime
Use your favourite language
.NET Framework (Base Class Library).NET Framework (Base Class Library)
ADO .NET and XMLADO .NET and XML
ASP .NETASP .NETWeb Forms Web ServicesWeb Forms Web Services
Mobile Internet ToolkitMobile Internet Toolkit
WindowsWindowsFormsForms
C++C++ C#C#VB.VB.NETNET
PerlPerl J#J#
8/9/2019 Dot Net Framework ion
11/21
Visual Studio.NET
Operating SystemOperating System
Common Language RuntimeCommon Language Runtime
.NET Framework (Base Class Library).NET Framework (Base Class Library)
ADO .NET and XMLADO .NET and XML
ASP .NETASP .NETWeb Forms Web ServicesWeb Forms Web ServicesMobile Internet ToolkitMobile Internet Toolkit
WindowsWindowsFormsForms
C++C++ C#C#VB.VB.NETNET
PerlPerl J#J# VisualStudio.NET
Vi
sualStudio.NET
8/9/2019 Dot Net Framework ion
12/21
ommon Language InfrastructureDefines an environment that allows multiple high-level languages
to be used on different computer platforms without being re-writtenfor specific architectures.
Four Aspects:Common Type SystemMetadataCommon Language SpecificationVirtual Execution System
8/9/2019 Dot Net Framework ion
13/21
ative CodeOperating System-independent
Also known as Managed Code, that is, the languages functionality ismanaged by the .NET Framework.
8/9/2019 Dot Net Framework ion
14/21
ommon Type SystemSet oftypes and operations that are shared by all CTS-compliant
programming languages.
Defines how types are declared, used, and managed in the runtime,
and is also an important part of the runtimes support for cross-language integration.
8/9/2019 Dot Net Framework ion
15/21
( )ust In Time JIT CompilerConverts the Microsoft Intermediate Language (MSIL) code into native
code to the Operating System (OS).
Works based on the architecture of the OS.
(same Microsoft Intermediate Language (MSIL) can be executed ondifferent Operating Systems without rewriting the source code. )
8/9/2019 Dot Net Framework ion
16/21
AssemblyA logical collection of one or more exe and dll file containing an applications
code and resources.
.NET assemblies contain code in CIL(Common Intermediate Language), which
is usually generated from .NET languages, and then compiled into machinelanguage at runtime by the CLR just-in-time compiler.
An assembly can consist of one or more files. Code files are called modules.
8/9/2019 Dot Net Framework ion
17/21
ow CLI works?.NET Compatible Language
Independent Compilation
Convert Compile Source to CIL(through JIT)
Convert CIL to machine code
This is machine code
8/9/2019 Dot Net Framework ion
18/21
.ow NET Works?Microsoft .NET languages Source Code are compiled
1.Microsoft Intermediate Language (MSIL)2.Metadata (stored in Manifest file)
Common Language Runtime (CLR) uses metadata to locate and load classes,generate native code, provide security, and execute Managed Code.
8/9/2019 Dot Net Framework ion
19/21
.ow NET Works?Source code
.NETCompiler
MSIL
--------Metadata
CLR
---[JIT]
OUTPUT
8/9/2019 Dot Net Framework ion
20/21
ode Access SecurityMost software comes from web. A user doesnt know whether a Web code
is safe or not.
.NET allows an administrator to specify privileges that each managed codehas.
You can specify these privileges in three level by modifying XML-based filesvEnterprisevMachinevUser
8/9/2019 Dot Net Framework ion
21/21
TThhaannkk
yyoouu