Upload
anna-golden
View
219
Download
2
Tags:
Embed Size (px)
Citation preview
Introduction to VB.NetIntroduction to VB.Net
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
.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.
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
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
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
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…
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
.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
IDEIDE
First ApplicationFirst Application
Module HelloWorldModule HelloWorld
Sub Main()Sub Main()
System.Console.WriteLine("Hello world!")System.Console.WriteLine("Hello world!")
End SubEnd Sub
End ModuleEnd Module