Date post: | 06-Apr-2018 |
Category: |
Documents |
Upload: | manohar-prasad |
View: | 225 times |
Download: | 0 times |
8/3/2019 DDAB, .NET FRAMEWORK
http://slidepdf.com/reader/full/ddab-net-framework 1/13
Microsoft
.NET Framework
Presented by: Manohar Prasad,
Specialization: IB+IT,
Roll No.- 1999/01030003
8/3/2019 DDAB, .NET FRAMEWORK
http://slidepdf.com/reader/full/ddab-net-framework 2/13
What is .NET ?What is .NET ?
.NET is a platform that provides astandardized set of services.
It’s just like Windows, except distributed
over the Internet.
It exports a common interface so that it’sprograms can be run on any system that
supports .NET. A specific software framework
Includes a common runtime
.NET is a platform that provides astandardized set of services.
It’s just like Windows, except distributed
over the Internet.
It exports a common interface so that it’sprograms can be run on any system that
supports .NET. A specific software framework
Includes a common runtime
05/04/12 2www.manoharprasad.wordpress.com
8/3/2019 DDAB, .NET FRAMEWORK
http://slidepdf.com/reader/full/ddab-net-framework 3/13
Event-Driven Programming
Event-driven programming means makingsome action to perform (through some
program/code) on the occurrence of events.
In this programming, programmer doesnot specify how to create objects, how toplace them on screen and how to changetheir properties etc. He simply writes thecode to handle events.
8/3/2019 DDAB, .NET FRAMEWORK
http://slidepdf.com/reader/full/ddab-net-framework 4/13
.NET Framework .NET Framework
Programming model for .NET
Platform for running .NET managedcode in a virtual machine
Provides a very good environment todevelop networked applications andWeb Services
Provides programming API and unifiedlanguage-independent developmentframework
Programming model for .NET
Platform for running .NET managedcode in a virtual machine
Provides a very good environment todevelop networked applications andWeb Services
Provides programming API and unifiedlanguage-independent developmentframework
05/04/12 4www.manoharprasad.wordpress.com
8/3/2019 DDAB, .NET FRAMEWORK
http://slidepdf.com/reader/full/ddab-net-framework 5/13
The Core of .NET Framework:
FCL & CLR
Common Language Runtime
Garbage collection
Language integration
Multiple versioning support(no more DLL hell!)
Integrated security
Framework Class LibraryProvides the core functionality:
ASP.NET, Web Services, ADO.NET,
Windows Forms, IO, XML, etc.05/04/12 5www.manoharprasad.wordpress.com
8/3/2019 DDAB, .NET FRAMEWORK
http://slidepdf.com/reader/full/ddab-net-framework 6/13
.NET Framework
Visual Studio .NET
Operating SystemOperating System
Common Language RuntimeCommon Language Runtime
.NET Framework (Base Class Library).NET Framework (Base Class Library)
ADO .NETADO .NET
ASP .NETASP .NETWeb Forms Web ServicesWeb Forms Web Services
Mobile Internet Toolkit Mobile Internet Toolkit
WindowsWindows
FormsForms
Common Language SpecificationCommon Language Specification
C++C++ C#C# VBVB PerlPerl J#J# ……
V i s u al S t u d i o
.NE T
V i s u al S t u d i o
.NE T
05/04/12 6www.manoharprasad.wordpress.com
8/3/2019 DDAB, .NET FRAMEWORK
http://slidepdf.com/reader/full/ddab-net-framework 7/13
Common Language RuntimeCommon Language Runtime
Manages running code – like a virtualmachine
ThreadingMemory management
No interpreter: JIT-compiler produces nativecode – during the program installation or atrun time
Manages running code – like a virtualmachine
ThreadingMemory management
No interpreter: JIT-compiler produces nativecode – during the program installation or atrun time
05/04/12 7www.manoharprasad.wordpress.com
8/3/2019 DDAB, .NET FRAMEWORK
http://slidepdf.com/reader/full/ddab-net-framework 8/13
Automatic Memory Management
The CLR manages memory for managed code All allocations of objects and buffers made from aManaged Heap
Unused objects and buffers are cleaned up
automatically through Garbage Collection
05/04/12 8www.manoharprasad.wordpress.com
8/3/2019 DDAB, .NET FRAMEWORK
http://slidepdf.com/reader/full/ddab-net-framework 9/13
Multiple Language Support
IL (MSIL or CIL) – Intermediate LanguageIL (MSIL or CIL) – Intermediate Language
It is low-level (machine) language, likeIt is low-level (machine) language, like
Assembler, but is Object-orientedAssembler, but is Object-oriented
CTS is a rich type system built into the CLRCTS is a rich type system built into the CLR Implements various types (Implements various types (intint, float, string, …), float, string, …)
And operations on those typesAnd operations on those types
CLS is a set of specifications that allCLS is a set of specifications that alllanguages and libraries need to followlanguages and libraries need to follow
This will ensure interoperability betweenThis will ensure interoperability betweenlanguageslanguages
05/04/12 9www.manoharprasad.wordpress.com
8/3/2019 DDAB, .NET FRAMEWORK
http://slidepdf.com/reader/full/ddab-net-framework 10/13
Intermediate Language
.NET languages are compiled to anIntermediate Language (IL)
IL is also known as MSIL or CIL
CLR compiles IL in just-in-time (JIT)manner – each function is compiled
just before execution
The JIT code stays in memory forsubsequent calls
05/04/12 10www.manoharprasad.wordpress.com
8/3/2019 DDAB, .NET FRAMEWORK
http://slidepdf.com/reader/full/ddab-net-framework 11/13
Common Type System (CTS)
All .NET languages have the same primitive datatypes. An int in C# is the same as an int in
VB.NETWhen communicating between modules written
in any .NET language, the types are guaranteedto be compatible on the binary level
05/04/12 11www.manoharprasad.wordpress.com
8/3/2019 DDAB, .NET FRAMEWORK
http://slidepdf.com/reader/full/ddab-net-framework 12/13
Common Language Specification
Any language that conforms to the CLS isa .NET language
A language that conforms to the CLS hasthe ability to take full advantage of theFramework Class Library (FCL)
05/04/12 12www.manoharprasad.wordpress.com
8/3/2019 DDAB, .NET FRAMEWORK
http://slidepdf.com/reader/full/ddab-net-framework 13/13
05/04/12 13www.manoharprasad.wordpress.com