220 likes | 343 Views
Thursday Evening. 6.30 VB.NET Introduction 7.30 Break for food 8.00 VB.NET Migration 8.45 Q & A 9.00 Done. Visual Basic .NET Introduction. Mike Taulty Developer & Platform Group Microsoft Ltd mtaulty@microsoft.com http://mtaulty.com. Agenda. Scene setting The Common Language Runtime
E N D
Thursday Evening • 6.30 VB.NET Introduction • 7.30 Break for food • 8.00 VB.NET Migration • 8.45 Q & A • 9.00 Done
Visual Basic .NETIntroduction Mike Taulty Developer & Platform Group Microsoft Ltd mtaulty@microsoft.com http://mtaulty.com
Agenda • Scene setting • The Common Language Runtime • The VB.NET Language • The .NET Framework & applications
Where did we get to with VB6? • Millions of developers worldwide • The productivity tool • VB6 = Language + IDE + Runtime • Runtime deployed “everywhere” • Support • Extended (paid) phase: 2005 to 2008 • Runtimes (OS shipped) unaffected • VBA unaffected
Consistent API availability regardless of language and programming model Visual Studio, .NET Framework, Common Language Runtime Different Tools RAD, Composition, Delegation Stateless, Code embedded in HTML pages Sub-classing, Power, Expressiveness Different Languages VB Forms MFC & ATL ASP Different Libraries (API’s) A fragmented platform Windows API
Where are we with VB.NET? • .NET Version 1.1 • Separation of runtime, library, language and IDE • Server 2003*, XP, 2000, NT, ME, 98 • 90 million downloads from Windows Update • SDK, Redistributable (23MB), Service Pack 1 • Dates: 2000, 2003, 2008, 2013 • Version 2.0 on its way…
And where are we going? Builds on the .NET Framework Well-structured programming framework for Windows Continued commitment to backwards compatibility
Agenda • Scene setting • The Common Language Runtime • The VB.NET Language • The .NET Framework & applications
Visual Basic C# C++ .NET Assembly Metadata Compiler Compiler Compiler Code (CIL) Common Language Runtime
Metadata Code (CIL) Base Class Library Type Definitions Classes Fields Methods .NET Assembly Common Type System (CTS) Params Events … Common Intermediate Language (CIL) Metadata Int16 float string Type References Code (CIL) Int32 double object .ldstr “Hello World” Assemblies Modules Methods Fields Classes … Common Language Runtime
.NET Assembly Metadata Code (CIL) Common Language Runtime Common Language Runtime (CLR) Verified? Base Class Library Support Permitted? Thread Support COM Marshaler Native Code 0101010101 0101010101 0101010101 0100101011 Type Checker Exception Manager Security Engine Debug Engine IL to Native Compilers Code Manager Garbage Collector Class Loader
Agenda • Scene setting • The Common Language Runtime • The VB.NET Language • The .NET Framework & applications
VB Language for .NET Arrays Short-circuiting logic i++, i += 2 Data Type changes • OO additions • Exception handling • Event handling • Properties • Namespaces • Attributes • Parameters
Agenda • Scene setting • The Common Language Runtime • The VB.NET Language • The .NET Framework & applications
The .NET Framework System.Web System.Windows.Forms Services UI Design ComponentModel Description HtmlControls Discovery WebControls Protocols System.Drawing Caching Security Drawing2D Printing Text Configuration SessionState Imaging System.Data System.Xml OleDb SqlClient XSLT Serialization Design SqlTypes XPath System Collections IO Security Runtime InteropServices Configuration Net ServiceProcess Remoting Diagnostics Reflection Text Serialization Globalization Resources Threading
Unified Tools, Libraries, Platform VB C++ C# JScript J# Visual Studio.NET Common Language Specification ASP.NET Windows Forms Web Services Web Forms ADO.NET and XML Base Class Library Common Language Runtime Operating System
Unified Tools, Libraries, Platform VB C++ C# JScript J# Visual Studio.NET Common Language Specification ASP.NET Windows Forms Web Services Web Forms ADO.NET and XML Base Class Library Common Language Runtime Operating System
Resources • http://msdn.microsoft.com/vbrun
© 2003-2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.