Building Applications with the .NET Framework
- What is the .NET Framework?
- The role of the Common Language Runtime (CLR)
- What is the CLR and what does it do in .NET?
- .NET object-oriented language choices
- Multi-language interoperability
- Memory Management and Garbage Collection
- .NET Compilation Model
- Microsoft Intermediate Language (MSIL)
- Just-in-Time compilation
- Assemblies and Namespaces
- The Base Class Library
VB Language Features
- Core VB Language Features
- Compiled
- Object-oriented
- Structured exception handling
- Multi-Threading support
- Generics
- My namespace
- Partial Types
- VB 2008 Features
- Anonymous Types
- Extension Methods
- LINQ/Lambdas
- Compiling VB applications
Visual Studio 2008 Features
- .NET Development Tools
- VS 2008 Editions
- VS 2008 Features
- Projects and Solutions
- Intellisense
- Refactoring
- Code Snippets
- Class Designer
- Debugging and Visualizers
VB Language Syntax
- VB Basics
- Writing statements
- Commenting Code
- XML Comments
- Value vs. Reference Types
- VB Operators
- Defining Variables, Constants, and Arrays in VB
- What is a variable?
- Understanding variable scoping
- Option Explicit and Option Strict
- Declaring variables
- Understanding Type Inference
- Declaring constants
- Declaring arrays
- Conditionals and Looping
- If…Else statements
- IsNot keyword
- If (boolean, value, value)
- Select Case statements
- Looping statements
Classes and Structs
- What are classes?
- What are objects?
- Class members
- Creating a class from scratch
- Setting class member access visibility
- Adding constructors
- Adding fields to a class
- Adding property set and get statements to a class
- Property indexers
- Adding methods to a class
- Sub Vs. Function
- Method parameters (ByVal and ByRef)
- Allowing for optional parameters
- Using the ParamArray keyword
- Shared methods
- Calling methods
- The Role of Namespaces
- What is a Structure?
- Differences between classes and structures
- Creating a class in VS 2008 with the Class Designer
Object-Oriented Programming
- What is object-oriented programming?
- The role of System.Object in .NET
- Understanding Abstraction, Encapsulation, Polymorphism and Inheritance
- Using abstract classes
- Method overloading and overriding
- Shadowing
- Understanding boxing and unboxing in .NET
- Operator Overloading
- Using .NET Attributes
- Structured Exception handling
- Error handling in VB
- Exception objects
- Using Try…Catch blocks
- Adding a Finally block
- Throwing exceptions
Working with Generics
- What are Interfaces?
- Defining interfaces
- Implementing interfaces
- Interfaces and Polymorphism
- Interfaces in the .NET Framework
- Implementing IEnumerable
Delegates and Events
- The role of Events and Delegates in .NET
- Understanding events in VB applications
- Understanding and Creating Events
- Understanding and Creating Delegates
- Hooking up Event Handlers with AddHandler
Using the Base Class Library
- Overview of functionality in the framework class library
- Working with System.IO classes
- Stream readers and writers
- Reading files
- Writing to files
- Working with Memory Streams
- Working with Dates and Times
- Accessing remote data and sending email with System.Net classes
- Building strings with the StringBuilder class
- Pattern searching with Regular Expressions
- Working with Threads
Data Access with ADO.NET
- Introduction to ADO.NET
- What’s new in ADO.NET?
- Managed Provider Classes in ADO.NET
- Connection
- Command
- DataReader
- DataAdapter
- DataSet
- Generic database access with DbProviderFactory classes
- Using Multiple Active Resultsets (MARS)
Introduction to Language Integrated Query (LINQ)
- What is Language Integrated Query (LINQ)
- The role of anonymous types
- LINQ Expressions
- Lambda Expressions
- Using LINQ to Objects
- Using LINQ to SQL