net
DESCRIPTION
Read This for basics of microsoft .net frameworkTRANSCRIPT
![Page 1: Net](https://reader034.vdocuments.mx/reader034/viewer/2022051818/54b4e7934a7959212a8b465f/html5/thumbnails/1.jpg)
PRESENTATION ON MICROSOFT .NET
FRAMEWORK
Jogi Nidhi M.Joshi Bhumi S.
![Page 2: Net](https://reader034.vdocuments.mx/reader034/viewer/2022051818/54b4e7934a7959212a8b465f/html5/thumbnails/2.jpg)
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
![Page 3: Net](https://reader034.vdocuments.mx/reader034/viewer/2022051818/54b4e7934a7959212a8b465f/html5/thumbnails/3.jpg)
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
![Page 4: Net](https://reader034.vdocuments.mx/reader034/viewer/2022051818/54b4e7934a7959212a8b465f/html5/thumbnails/4.jpg)
Base Class Library
Common Language Specification
Common Language Runtime
Data and XML
VB C++ C#
Visu
al Stu
dio
.NE
T
WebServices
JScript …
UserInterface
4
![Page 5: Net](https://reader034.vdocuments.mx/reader034/viewer/2022051818/54b4e7934a7959212a8b465f/html5/thumbnails/5.jpg)
5
.NET – What Is It?
Operating System + Hardware
.NET Framework
.NET Application
![Page 6: Net](https://reader034.vdocuments.mx/reader034/viewer/2022051818/54b4e7934a7959212a8b465f/html5/thumbnails/6.jpg)
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
![Page 7: Net](https://reader034.vdocuments.mx/reader034/viewer/2022051818/54b4e7934a7959212a8b465f/html5/thumbnails/7.jpg)
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
![Page 8: Net](https://reader034.vdocuments.mx/reader034/viewer/2022051818/54b4e7934a7959212a8b465f/html5/thumbnails/8.jpg)
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
![Page 9: Net](https://reader034.vdocuments.mx/reader034/viewer/2022051818/54b4e7934a7959212a8b465f/html5/thumbnails/9.jpg)
.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
![Page 10: Net](https://reader034.vdocuments.mx/reader034/viewer/2022051818/54b4e7934a7959212a8b465f/html5/thumbnails/10.jpg)
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
![Page 11: Net](https://reader034.vdocuments.mx/reader034/viewer/2022051818/54b4e7934a7959212a8b465f/html5/thumbnails/11.jpg)
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
![Page 12: Net](https://reader034.vdocuments.mx/reader034/viewer/2022051818/54b4e7934a7959212a8b465f/html5/thumbnails/12.jpg)
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
![Page 13: Net](https://reader034.vdocuments.mx/reader034/viewer/2022051818/54b4e7934a7959212a8b465f/html5/thumbnails/13.jpg)
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
![Page 14: Net](https://reader034.vdocuments.mx/reader034/viewer/2022051818/54b4e7934a7959212a8b465f/html5/thumbnails/14.jpg)
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
![Page 15: Net](https://reader034.vdocuments.mx/reader034/viewer/2022051818/54b4e7934a7959212a8b465f/html5/thumbnails/15.jpg)
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
![Page 16: Net](https://reader034.vdocuments.mx/reader034/viewer/2022051818/54b4e7934a7959212a8b465f/html5/thumbnails/16.jpg)
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
![Page 17: Net](https://reader034.vdocuments.mx/reader034/viewer/2022051818/54b4e7934a7959212a8b465f/html5/thumbnails/17.jpg)
17
![Page 18: Net](https://reader034.vdocuments.mx/reader034/viewer/2022051818/54b4e7934a7959212a8b465f/html5/thumbnails/18.jpg)
18