+ All Categories

.Net

Date post: 13-Jan-2015
Category:
Upload: nidhi22jogi
View: 90 times
Download: 2 times
Share this document with a friend
Description:
Read This for basics of microsoft .net framework
Popular Tags:
18
PRESENTATION ON MICROSOFT .NET FRAMEWORK Jogi Nidhi M. Joshi Bhumi S.
Transcript
Page 1: .Net

PRESENTATION ON MICROSOFT .NET

FRAMEWORK

Jogi Nidhi M.Joshi Bhumi S.

Page 2: .Net

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

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

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

5

.NET – What Is It?

Operating System + Hardware

.NET Framework

.NET Application

Page 6: .Net

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

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

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

.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

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

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

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

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

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

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

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

17

Page 18: .Net

18


Recommended