12
Introduction to Introduction to VB.Net VB.Net

Introduction to VB.Net. What is.NET? A brand of Microsoft technologies A platform for creating distributed Web applications A combination of new and updated

Embed Size (px)

Citation preview

Page 1: Introduction to VB.Net. What is.NET? A brand of Microsoft technologies A platform for creating distributed Web applications A combination of new and updated

Introduction to VB.NetIntroduction to VB.Net

Page 2: Introduction to VB.Net. What is.NET? A brand of Microsoft technologies A platform for creating distributed Web applications A combination of new and updated

What is .NET?What is .NET?

A brand of Microsoft technologiesA brand of Microsoft technologies

A platform for creating distributed Web A platform for creating distributed Web applicationsapplications

A combination of new and updated A combination of new and updated technologiestechnologies

Page 3: Introduction to VB.Net. What is.NET? A brand of Microsoft technologies A platform for creating distributed Web applications A combination of new and updated

.NET.NET

.NET represents an advanced new .NET represents an advanced new generation of software that will drive the generation of software that will drive the Next Generation Internet. Next Generation Internet. Its purpose is to make information Its purpose is to make information available any time, any place, and on any available any time, any place, and on any device.device.

Page 4: Introduction to VB.Net. What is.NET? A brand of Microsoft technologies A platform for creating distributed Web applications A combination of new and updated

Technologies in .NETTechnologies in .NET

The .NET FrameworkThe .NET Framework

Visual Studio.NETVisual Studio.NET

Support for Web ServicesSupport for Web Services

Other .NET technologiesOther .NET technologies .NET My Services.NET My Services .NET Enterprise Services.NET Enterprise Services

Page 5: Introduction to VB.Net. What is.NET? A brand of Microsoft technologies A platform for creating distributed Web applications A combination of new and updated

The .NET FrameworkThe .NET Framework

Consists of two major components:Consists of two major components: The Common Language Runtime (CLR)The Common Language Runtime (CLR) Various Class LibrariesVarious Class Libraries

The .NET Framework is the foundation The .NET Framework is the foundation for .NET developmentfor .NET development Needed by all Visual Studio.NET developersNeeded by all Visual Studio.NET developers Required by users running .NET appsRequired by users running .NET apps

Page 6: Introduction to VB.Net. What is.NET? A brand of Microsoft technologies A platform for creating distributed Web applications A combination of new and updated

Base Class LibraryBase Class Library

Common Language SpecificationCommon Language Specification

Common Language RuntimeCommon Language Runtime

ADO.NET: Data and XMLADO.NET: Data and XML

VBVB C++C++ C#C#V

isual S

tud

io.N

ET

Visu

al Stu

dio

.NE

T

ASP.NET: Web ServicesASP.NET: Web Servicesand Web Formsand Web Forms

JScriptJScript ……

WindowsWindowsFormsForms

WindowsWindowsFormsForms

Page 7: Introduction to VB.Net. What is.NET? A brand of Microsoft technologies A platform for creating distributed Web applications A combination of new and updated

Common Language Runtime

.NET Framework Class Library

ASP.NET ADO.NETWindows

FormsEnterpriseServices

Windows

BrowserApps

Web ServicesApps

LocalApps

The .NET Framework includes the CLR and the class libraries

…more

more…

Page 8: Introduction to VB.Net. What is.NET? A brand of Microsoft technologies A platform for creating distributed Web applications A combination of new and updated

Common Language RuntimeCommon Language Runtime

Common Type System (CTS)Common Type System (CTS)

A just-in-time (JIT) compiler converts A just-in-time (JIT) compiler converts Microsoft Intermediate Language (MSIL) Microsoft Intermediate Language (MSIL) code into native codecode into native code

Performs other functionsPerforms other functions Garbage collectionGarbage collection Exception managingException managing MoreMore

Page 9: Introduction to VB.Net. What is.NET? A brand of Microsoft technologies A platform for creating distributed Web applications A combination of new and updated

.NET Applications.NET Applications

Local apps that run in WindowsLocal apps that run in Windows

ASP.NET apps that run in browsersASP.NET apps that run in browsers

Web Services that may be invoked by Web Services that may be invoked by applications via the Internet; a means of applications via the Internet; a means of distributed computingdistributed computing

Multiple .NET languages all support these Multiple .NET languages all support these multiple application typesmultiple application types

Page 10: Introduction to VB.Net. What is.NET? A brand of Microsoft technologies A platform for creating distributed Web applications A combination of new and updated

IDEIDE

Page 11: Introduction to VB.Net. What is.NET? A brand of Microsoft technologies A platform for creating distributed Web applications A combination of new and updated

First ApplicationFirst Application

Page 12: Introduction to VB.Net. What is.NET? A brand of Microsoft technologies A platform for creating distributed Web applications A combination of new and updated

Module HelloWorldModule HelloWorld

Sub Main()Sub Main()

System.Console.WriteLine("Hello world!")System.Console.WriteLine("Hello world!")

End SubEnd Sub

End ModuleEnd Module