Date post: | 21-Dec-2015 |
Category: |
Documents |
View: | 214 times |
Download: | 0 times |
Visual Basic .NETIntroduction
Mike TaultyDeveloper & Platform GroupMicrosoft [email protected]://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 toolVB6 = Language + IDE + RuntimeRuntime deployed “everywhere”
SupportExtended (paid) phase: 2005 to 2008Runtimes (OS shipped) unaffectedVBA unaffected
A fragmented platform
Windows API
Stateless,Stateless,Code embeddedCode embeddedin HTML pagesin HTML pages
Sub-classing,Sub-classing,Power,Power,
ExpressivenessExpressiveness
RAD,RAD,Composition,Composition,
DelegationDelegation
VB Forms MFC & ATL ASP
Visual Studio, .NET Framework, Common Language Runtime
Consistent API availability regardless ofConsistent API availability regardless oflanguage and programming modellanguage and programming model
Different Tools
Different Languages
Different Libraries (API’s)
Where are we with VB.NET?
.NET Version 1.1Separation of runtime, library, language and IDEServer 2003*, XP, 2000, NT, ME, 9890 million downloads from Windows UpdateSDK, Redistributable (23MB), Service Pack 1Dates: 2000, 2003, 2008, 2013
Version 2.0 on its way…
And where are we going?And where are we going?
Builds on the .NET Framework
Well-structured programming framework for Windows
Continued commitment to backwards compatibility
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
Common Language Runtime
VisualBasic C# C++
Compiler Compiler Compiler
.NET Assembly
Metadata
Code (CIL)
Common Language Runtime
.NET Assembly
Metadata
Code (CIL)
Code (CIL)
Common Type System (CTS)
Int16
Int32
float
double
string
object
Common Intermediate Language (CIL)
.ldstr “Hello World”
BaseClassLibrary
Metadata
Type Definitions
Classes Fields Methods
Params Events …
Type References
Assemblies Modules Methods
Fields Classes …
Common Language Runtime
Common LanguageRuntime (CLR)
Class Loader
IL to NativeCompilers
CodeManager
GarbageCollector
Security Engine Debug Engine
Type Checker Exception Manager
Thread Support COM Marshaler
Base Class Library Support
.NET Assembly
Metadata
Code (CIL)
Native Code
0101010101010101010101010101010100101011
Verified?
Permitted?
Agenda
Scene setting
The Common Language Runtime
The VB.NET Language
The .NET Framework & applications
VB Language for .NET
OO additions
Exception handling
Event handling
Properties
Namespaces
Attributes
Parameters
ArraysShort-circuiting logici++, i += 2Data Type changes
Agenda
Scene setting
The Common Language Runtime
The VB.NET Language
The .NET Framework & applications
System
System.Data System.Xml
System.Web
Globalization
Diagnostics
Configuration
Collections
Resources
Reflection
Net
IO
Threading
Text
ServiceProcess
Security
Design
OleDb
SqlTypes
SqlClient
XPath
XSLT
RuntimeInteropServices
Remoting
Serialization
Serialization
Configuration SessionState
Caching Security
ServicesDescription
Discovery
Protocols
UIHtmlControls
WebControls
System.Drawing
Imaging
Drawing2D
Text
Printing
System.Windows.Forms
Design ComponentModel
The .NET Framework
Unified Tools, Libraries, Platform
Operating SystemOperating System
Common Language RuntimeCommon Language Runtime
Base Class LibraryBase Class Library
ADO.NET and XMLADO.NET and XML
ASP.NETASP.NET WindowsWindowsFormsForms
Common Language SpecificationCommon Language Specification
VBVB C++C++ C#C# JScriptJScript J#J#V
isua
l Stu
dio
.NE
TV
isua
l Stu
dio
.NE
T
Web ServicesWeb Services Web FormsWeb Forms
Unified Tools, Libraries, Platform
Operating SystemOperating System
Common Language RuntimeCommon Language Runtime
Base Class LibraryBase Class Library
ADO.NET and XMLADO.NET and XML
ASP.NETASP.NET WindowsWindowsFormsForms
Common Language SpecificationCommon Language Specification
VBVB C++C++ C#C# JScriptJScript J#J#V
isua
l Stu
dio
.NE
TV
isua
l Stu
dio
.NE
T
Web ServicesWeb Services Web FormsWeb Forms