+ All Categories
Home > Education > DDAB, VB.NET, .NET Framework

DDAB, VB.NET, .NET Framework

Date post: 08-May-2015
Category:
Upload: manohar-prasad
View: 2,147 times
Download: 0 times
Share this document with a friend
13
Microsoft .NET Framework Presented by: Manohar Prasad, Specialization: IB+IT, Roll No.- 1999/01030003
Transcript
Page 1: DDAB, VB.NET, .NET Framework

Microsoft .NET Framework

Presented by: Manohar Prasad,Specialization: IB+IT,Roll No.- 1999/01030003

Page 2: DDAB, VB.NET, .NET Framework

What is .NET ?What is .NET ?

.NET is a platform that provides a standardized set of services.

It’s just like Windows, except distributed over the Internet.It exports a common interface so that it’s programs can be run on any system that supports .NET.

A specific software frameworkIncludes a common runtime

.NET is a platform that provides a standardized set of services.

It’s just like Windows, except distributed over the Internet.It exports a common interface so that it’s programs can be run on any system that supports .NET.

A specific software frameworkIncludes a common runtime

04/11/23 2www.manoharprasad.wordpress.com

Page 3: DDAB, VB.NET, .NET Framework

Event-Driven Programming

Event-driven programming means making some action to perform (through some program/code) on the occurrence of events.

In this programming, programmer does not specify how to create objects, how to place them on screen and how to change their properties etc. He simply writes the code to handle events.

Page 4: DDAB, VB.NET, .NET Framework

.NET Framework.NET Framework

Programming model for .NETPlatform for running .NET managed code in a virtual machineProvides a very good environment to develop networked applications and Web ServicesProvides programming API and unified language-independent development framework

Programming model for .NETPlatform for running .NET managed code in a virtual machineProvides a very good environment to develop networked applications and Web ServicesProvides programming API and unified language-independent development framework

04/11/23 4www.manoharprasad.wordpress.com

Page 5: DDAB, VB.NET, .NET Framework

The Core of .NET Framework: FCL & CLR

Common Language RuntimeGarbage collectionLanguage integrationMultiple 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.

04/11/23 5www.manoharprasad.wordpress.com

Page 6: DDAB, VB.NET, .NET Framework

.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 ToolkitMobile Internet Toolkit

WindowsWindowsFormsForms

Common Language SpecificationCommon Language Specification

C++C++ C#C# VBVB PerlPerl J#J# ……

Visu

al S

tud

io .N

ET

Visu

al S

tud

io .N

ET

04/11/23 6www.manoharprasad.wordpress.com

Page 7: DDAB, VB.NET, .NET Framework

Common Language RuntimeCommon Language RuntimeManages running code – like a virtual machine

ThreadingMemory managementNo interpreter: JIT-compiler produces native code – during the program installation or at run time

Manages running code – like a virtual machine

ThreadingMemory managementNo interpreter: JIT-compiler produces native code – during the program installation or at run time

04/11/23 7www.manoharprasad.wordpress.com

Page 8: DDAB, VB.NET, .NET Framework

Automatic Memory Management

The CLR manages memory for managed code

All allocations of objects and buffers made from a Managed HeapUnused objects and buffers are cleaned up automatically through Garbage Collection

04/11/23 8www.manoharprasad.wordpress.com

Page 9: DDAB, VB.NET, .NET Framework

Multiple Language Support

IL (MSIL or CIL) – Intermediate LanguageIL (MSIL or CIL) – Intermediate Language It is low-level (machine) language, like It 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 all CLS is a set of specifications that all languages and libraries need to followlanguages and libraries need to follow This will ensure interoperability between This will ensure interoperability between

languageslanguages

04/11/23 9www.manoharprasad.wordpress.com

Page 10: DDAB, VB.NET, .NET Framework

Intermediate Language

.NET languages are compiled to an Intermediate Language (IL)IL is also known as MSIL or CILCLR compiles IL in just-in-time (JIT) manner – each function is compiled just before executionThe JIT code stays in memory for subsequent calls

04/11/23 10www.manoharprasad.wordpress.com

Page 11: DDAB, VB.NET, .NET Framework

Common Type System (CTS)

All .NET languages have the same primitive data types. An int in C# is the same as an int in VB.NETWhen communicating between modules written in any .NET language, the types are guaranteed to be compatible on the binary level

04/11/23 11www.manoharprasad.wordpress.com

Page 12: DDAB, VB.NET, .NET Framework

Common Language Specification

Any language that conforms to the CLS is a .NET language

A language that conforms to the CLS has the ability to take full advantage of the Framework Class Library (FCL)

04/11/23 12www.manoharprasad.wordpress.com

Page 13: DDAB, VB.NET, .NET Framework

04/11/23 13www.manoharprasad.wordpress.com


Recommended