Learn your way! Get started

Developing Apps Using Visual Basic 2008: What's New

with experts Ken Getz, Robert Green


Course at a glance

Included in these subscriptions:

  • Dev & IT Pro Video
  • Dev & IT Pro Power Pack
  • Power Pack Plus

Release date Release date 2/18/2008
Level Level Intermediate
Runtime Runtime 10h 51m
Closed captioning Closed captioning N/A
Transcript Transcript N/A
eBooks / courseware eBooks / courseware Included
Hands-on labs Hands-on labs Included
Sample code Sample code Included
Exams Exams Included


Enterprise Solutions
Enterprise Solutions

Need reporting, custom learning tracks, or SCORM? Learn More



Course description

Visual Studio 2008 adds a large set of new functionality for the Visual Basic developer. From new language features, including LINQ (Language Integrated Query) to new client-side data support, Visual Studio 2008 and the .NET Framework 3.5 make it easier than ever to create robust, enterprise-level applications. This course, including full written courseware, demonstrations, and lab exercises, introduces the most important new features in Visual Studio 2008 for experienced Visual Basic developers.

Prerequisites

Before taking this course, students should have a good working knowledge of Visual Studio 2005 and the .NET Framework 2.0, or should have completed AppDev's Developing Applications Using Visual Basic 2005 and Developing Applications Using Visual Basic 2005: Additional Topics.

Meet the experts

Ken Getz Ken Getz is a featured instructor for several of our Visual Studio courses. He is a Visual Basic and Visual C# expert and has been recognized multiple times as a Microsoft MVP. Ken is a seasoned instructor, successful consultant, and the author or co-author of several best-selling books. He is a frequent speaker at technical conferences like Tech-Ed, VSLive, and DevConnections and he has written for several of the industry's most-respected publications including Visual Studio Magazine, CoDe Magazine, and MSDN Magazine.

Robert Green Robert Green is a Visual Studio expert and a featured instructor for several of our Visual Basic and Visual C# courses. He is currently a Technical Evangelist in the Developer Platform and Evangelism (DPE) group at Microsoft. He has also worked for Microsoft on the Developer Tools marketing team and as Community Lead on the Visual Basic team. Robert has several years of consulting experience focused on developer training and is a frequent speaker at technology conferences including TechEd, VSLive, VSConnections, and Advisor Live.


Course outline



Module 1

Introduction to LINQ (44:46)
  • Introduction (01:52)
  • Working with Data (04:39)
  • LINQ and VB/C# (00:48)
  • LINQ and Language Features (02:04)
  • LINQ Usages (01:08)
  • LINQ Overview (00:43)
  • LINQ Syntax (02:20)
  • Demo: Query Expressions (02:00)
  • Intellisense with LINQ (01:26)
  • Extension Methods (02:39)
  • Demo: Custom Extension (02:23)
  • More Complex Objects (00:30)
  • Object Initializers (02:15)
  • Demo: Object Initializers (02:31)
  • Query Extension Methods (01:52)
  • Lambda Expressions (02:04)
  • Demo: Lambda Expressions (02:16)
  • Anonymous Types (01:45)
  • Demo: Anonymous Types (02:28)
  • Interesting Examples (00:54)
  • Demo: List Processes (03:44)
  • LINQ and Delayed Execution (01:05)
  • Summary (01:11)
LINQ to SQL (20:34)
  • Introduction (00:43)
  • Overview: LINQ to SQL (01:23)
  • Create Data Model (00:25)
  • Demo: Add LINQ to SQL Class (03:06)
  • Demo: View Data Model (01:41)
  • Demo: Query SQL Database (01:38)
  • Demo: Call Stored Proc (01:33)
  • Anonymous Types w/SQL (00:52)
  • Demo: Anonymous Types (01:32)
  • Modify SQL Data (01:47)
  • Demo: Modify SQL Data (04:37)
  • Summary (01:11)
LINQ to DataSets / XML (27:05)
  • Introduction (01:08)
  • Overview: LINQ to DataSets (00:59)
  • LINQ to Typed DataSets (00:28)
  • Demo: Typed DataSets (03:16)
  • LINQ to Untyped DataSets (02:24)
  • Demo: Untyped DataSets (03:32)
  • LINQ to XML (01:57)
  • Demo: LINQ to XML (06:32)
  • Transform XML (00:49)
  • Demo: Transform XML (04:02)
  • For More Information (00:52)
  • Summary (00:59)

Module 2

Hierarchical Data / Caching (34:54)
  • Introduction (00:59)
  • Work with Related Data (02:38)
  • TableAdapterManager (01:01)
  • Demo: TableAdapterManager (00:27)
  • View DataSet (00:13)
  • View Relations (04:34)
  • AutoIncrement Properties (02:43)
  • Connected Scenarios (01:59)
  • Synch Local Data (01:15)
  • Synch Services for ADO.NET (01:13)
  • SQL Server Compact 3.5 (00:40)
  • Set Up Synchronization (00:54)
  • Demo: ADO.NET Synch (00:48)
  • Add Local Database Cache (00:58)
  • Configure Tables (03:25)
  • Explore Solution Files (00:38)
  • Rebind Data Controls (02:30)
  • Synchronize Data (02:38)
  • Test Synch/Remote Data (03:06)
  • SyncStatistics Class (00:35)
  • SyncDirection Property (01:12)
  • Summary (00:18)
N-Tier Data (33:01)
  • Introduction (00:42)
  • Overview: 2-Tier (01:11)
  • Overview: N-Tier (02:24)
  • Demo: Split DataSet Code (03:23)
  • Create N-Tier App (00:34)
  • Define 2-Tier DataSource (00:59)
  • DataSet Project Property (01:38)
  • Create Multi-Tier Form (00:17)
  • Define N-Tier DataSource (04:16)
  • Test N-Tier App (00:47)
  • LINQ to SQL (01:03)
  • LINQ to SQL Mappings (00:49)
  • DataContext Class (00:42)
  • Entity Classes (00:12)
  • Object Relational Designer (00:36)
  • Demo: LINQ to SQL (02:30)
  • View Designer Class (02:01)
  • Create Front End (06:29)
  • Configure Behavior (00:42)
  • Specify Mappings (01:22)
  • Summary (00:14)

Module 3

Introduction to WPF (40:16)
  • Introduction (01:06)
  • Overview: WPF (01:01)
  • View Example WPF App (00:39)
  • Windows Forms (01:16)
  • What WPF Provides (01:57)
  • Graphics and Composition (00:44)
  • WPF Questions (03:21)
  • Family.Show App (05:25)
  • Inconvenient Truth (01:54)
  • WPF and XAML (01:38)
  • XAML / WPF Designer (01:11)
  • Demo: A Simple WPF App (00:26)
  • Explore WPF App Parts (01:35)
  • View XAML Markup (01:37)
  • Modify Properties (01:02)
  • Add Controls (03:26)
  • Handle Events (02:33)
  • Useful Project Tools (01:18)
  • Investigate Routed Events (01:14)
  • Properties of RoutedEventArgs (01:31)
  • Demo: Modify the App (04:18)
  • Summary (00:54)
Content / Grid Controls (34:56)
  • Introduction (00:50)
  • Overview: Content Controls (00:40)
  • Add Image to ListBox (03:12)
  • Content Property (00:50)
  • Work w/Layout Controls (01:33)
  • StackPanel Control (03:36)
  • Add TextBox to StackPanel (01:30)
  • List Box as Container (04:39)
  • Grid Control (00:21)
  • Create Row/Column Definitions (00:57)
  • Specifying Column/Row Sizes (02:11)
  • Add Controls to Grid (02:25)
  • Dependency Properties (01:07)
  • DependencyObject Class (00:49)
  • Investigate Dependency Props (01:16)
  • Declare the Property (00:26)
  • In Constructor (00:28)
  • Property Wrapper (01:07)
  • Use Attached Properties (02:17)
  • Programming the Grid (03:01)
  • Summary (01:30)

Module 4

WPF Layout (25:44)
  • Introduction (02:09)
  • Examine Solution App (02:16)
  • Controls in App (00:28)
  • Create the Layout (00:33)
  • Create New Project (01:11)
  • Layout Controls on Form (00:34)
  • Add Second Grid (02:02)
  • Add Controls to Grid (04:28)
  • Save / Test Form (00:34)
  • MoviePlayer Control (00:31)
  • Demo: MoviePlayer Control (00:57)
  • Add Stack Panel (01:11)
  • Add Media Element Control (01:19)
  • Add a Slider (00:40)
  • Modify Row Definitions (00:48)
  • Configure Buttons (02:12)
  • Configure Stack Panel (01:29)
  • Configure Slider (00:28)
  • Configure Column Sizes (01:12)
  • Summary (00:31)
WPF Code (50:12)
  • Introduction (01:30)
  • Add Timer to User Control (01:59)
  • Add Constructor (00:41)
  • Event Handler Code (02:05)
  • Add Button Code (02:59)
  • Hook Up Event Handlers (02:17)
  • Add the User Control (04:16)
  • Test the Application (01:29)
  • Create / Bind Data Source (00:23)
  • Create ThumbnailList Class (01:30)
  • Set FolderName Property (01:36)
  • Demo: ThumbnailList Class (02:11)
  • Prepare Window1 Class (00:59)
  • Demo: Window1 Class (02:43)
  • Hook up Data Binding (00:25)
  • Demo: Data Binding (01:35)
  • Data Binding Syntax (02:24)
  • Display the Video (02:31)
  • Add Data Converter/Template (00:29)
  • Create a Type Converter (00:47)
  • IValueConverter Interface (01:37)
  • Demo: Type Converter (01:59)
  • Add Converter Resource (00:38)
  • Add Resources (01:55)
  • Create Data Template (06:35)
  • Save / Test Application (01:02)
  • Summary (01:24)

Module 5

Create a WCF Service (41:43)
  • Introduction (00:56)
  • Windows Comm. Foundation (02:13)
  • WCF / Web Services (00:46)
  • WCF / .NET Remoting (00:49)
  • Demo: Simple WCF Service (04:02)
  • WCF Building Blocks (00:53)
  • Services (00:28)
  • Service Contracts (00:54)
  • Data Contracts (00:51)
  • Endpoints (01:45)
  • Bindings (01:16)
  • WCF Provided Bindings (02:01)
  • Demo: Create WCF Service (03:18)
  • Create Connection String (00:52)
  • Examine Data Code (01:08)
  • View app.config (01:43)
  • Test Service (00:46)
  • Create a Host for Service (03:09)
  • Modify Web.config (01:17)
  • View Service in Browser (00:30)
  • Call Service w/Windows App (00:12)
  • Examine Windows Client (01:05)
  • Add Service Reference (01:22)
  • Examine Endpoint (00:42)
  • Bind the Data (08:14)
  • Summary (00:18)
Host a WCF Service (26:56)
  • Introduction (00:30)
  • Overview (00:38)
  • Hosting Options (00:54)
  • Host in IIS (00:48)
  • Host in Client App (01:00)
  • Channels (00:58)
  • Demo: Host a WCF Service (00:13)
  • Create Console App (00:15)
  • Add Reference (01:03)
  • Add ServiceHost Code (02:26)
  • Run the Service Host (00:24)
  • Create Client App (01:09)
  • Set Up Data Binding (00:22)
  • Add New DataSource (03:28)
  • Create an Endpoint (00:35)
  • ChannelFactory (04:46)
  • Set Start Up Projects (00:15)
  • Test the App (00:27)
  • Use NetTCPBinding (02:10)
  • Define Multiple Endpoints (00:09)
  • Multiple Listening Protocols (03:58)
  • Summary (00:19)
Configuration (20:34)
  • Introduction (00:56)
  • ServiceModel Configuration (01:16)
  • <services> Element (00:38)
  • Configuration Example (00:37)
  • Multiple Endpoints (01:10)
  • Demo: Config WCF Services (01:02)
  • Service Config Editor (01:06)
  • Create New Service (01:59)
  • Create/Edit Endpoints (01:33)
  • Save config File (00:21)
  • Include in Project (01:16)
  • Test Service (01:21)
  • Create Client End Points (02:08)
  • View Client app.config (00:34)
  • Implement End Points (02:40)
  • Test App (00:23)
  • Edit Config File (00:55)
  • Summary (00:31)

Module 6

Introduction to Workflow (33:31)
  • Introduction (00:48)
  • Overview: WWF (02:50)
  • Demo: Simple Workflow (00:12)
  • Create Sequential Workflow (00:50)
  • Add Activities (02:13)
  • Test Workflow (00:33)
  • Debug Workflow (00:57)
  • Examine Startup Code (02:03)
  • Overview: Activities (01:14)
  • Conditional Activites (01:06)
  • IfElse Activity (01:06)
  • While Activity (00:47)
  • Demo: IfElse Activity (02:40)
  • Set Conditions (00:42)
  • Declarative Rule Condition (00:23)
  • Rule Expression Editor (03:00)
  • Add/Remove IfElse Branch (00:13)
  • Code Condition (02:18)
  • Test IfElse Workflow (00:48)
  • Demo: While Activity (00:15)
  • Add While Activity (00:30)
  • Add Sequence Activity (03:52)
  • Bind to a Property (02:29)
  • Test While Workflow (00:59)
  • Summary (00:31)
WWF Decisions / Hosting (31:54)
  • Introduction (00:45)
  • Rules in Workflows (00:51)
  • Overview: RuleSet (01:11)
  • Overview: Policy Activity (01:00)
  • Demo: RuleSets/Policies (02:20)
  • Use a Policy Activity (01:03)
  • Create a RuleSet (00:34)
  • Add New Rules (03:26)
  • Test Workflow (01:12)
  • Call Methods in Rules (01:42)
  • RuleSetReference Property (03:47)
  • Workflow Architecture (01:32)
  • Host Workflow in Windows App (00:43)
  • Pass Parameters (00:59)
  • Demo: Host Workflow in Form (03:17)
  • Set Workflow References (03:06)
  • Demo: Pass Parameters (02:45)
  • Test Host Workflow (00:54)
  • Summary (00:39)

Module 7

Comm. / State Machines (39:13)
  • Introduction (00:37)
  • Call From Workflow (02:07)
  • Demo: Call Methods in Host (02:27)
  • Create the Interface (02:18)
  • Call Methods (03:37)
  • Implement Interface (04:38)
  • Save/Build/Test Solution (00:47)
  • Hook up Data Exchange (02:27)
  • Handle Host Events (00:44)
  • Event Arguments (00:35)
  • State Machine Workflows (02:43)
  • State / SetState Activites (00:37)
  • Demo: State Machine WF (00:24)
  • Examine EventArgs Class (00:27)
  • Examine the Interface (00:24)
  • Examine Host Interface (01:35)
  • Create the Workflow States (00:45)
  • Modify State Activity (01:16)
  • Configure State Transitions (01:47)
  • Configure Workflow Events (06:02)
  • StateFinalization Activity (00:37)
  • Test the Application (01:20)
  • Summary (00:49)
Client App Services (37:22)
  • Introduction (01:11)
  • Manage Members / Roles (01:41)
  • Configure Web Site Security (00:48)
  • Demo: Web Site Security (00:11)
  • Run aspnet_regsql (00:20)
  • ASP.NET SQL Server Wizard (00:48)
  • Create Web Site (01:12)
  • Set Web Site Properties (00:42)
  • Set up Security (00:15)
  • Web Site Administration Tool (01:13)
  • Create Roles (00:17)
  • Add Users/Access Rules (01:33)
  • Manage Roles (01:26)
  • Windows Application Features (01:03)
  • Role Based Security (00:58)
  • Project Settings (00:49)
  • Client Application Services (01:21)
  • Authentication (01:09)
  • Demo: Remote Authentication (00:49)
  • Enable Client App Services (01:42)
  • Set Authentication Mode (00:18)
  • Configure Web Site to Listen (01:21)
  • Use Authentication Service (03:57)
  • Modify Login Form (01:55)
  • Use Credentials Provider (09:03)
  • Summary (01:07)
Roles/Settings/Custom Prov. (33:51)
  • Introduction (00:42)
  • Overview: Roles (01:05)
  • Overview: Settings (01:21)
  • Demo: Remote Roles/Profiles (02:24)
  • Use Roles Service (03:09)
  • Add/Define Settings (01:52)
  • Bind Settings (02:43)
  • Save Settings (00:23)
  • Run Application (01:10)
  • Use Profile Service (01:41)
  • Load Web Settings (01:46)
  • Test Web Settings (02:22)
  • Custom Membership Providers (01:33)
  • Custom Role Providers (00:55)
  • Demo: Membership/Role Prov. (01:23)
  • View User.xml/Roles.xml (00:48)
  • Create Membership Provider (03:25)
  • Create Role Provider (02:22)
  • Test the Providers (01:49)
  • Summary (00:49)

Module 8

VSTO Excel (37:00)
  • Introduction (01:31)
  • Office Projects VS 2008 (01:45)
  • What Can Office Do (00:44)
  • What Kind of Apps (01:03)
  • Document vs. Application (01:42)
  • Excel Add-In (01:10)
  • Ribbon Customizations (01:32)
  • Demo: Create Excel Add-In (00:49)
  • Demo: Ribbon Customization (00:40)
  • Office Ribbon IDs (02:30)
  • Lay out Custom Tab/Group (03:12)
  • Add Data Source (01:31)
  • Add Data / Hook Events (05:31)
  • Create Custom Task Pane (04:05)
  • Program Custom Task Pane (01:45)
  • Manage Task Pane Display (02:17)
  • Task Pane/ToggleButton (02:06)
  • Test Excel Add-In (00:46)
  • Summary (02:13)
VSTO Word (23:26)
  • Introduction (02:19)
  • Content Control Types (00:44)
  • Managed Wrappers (00:46)
  • Create Form (00:52)
  • Demo: Content Controls (00:53)
  • Create New Form (00:57)
  • Add New Data Source (01:34)
  • Add Content Controls (03:14)
  • Program Content Controls (04:53)
  • Enhance Data Binding (04:12)
  • Test Word Add-In (01:18)
  • Summary (01:39)
VSTO Outlook (14:27)
  • Introduction (01:28)
  • Form Regions (00:16)
  • Four Types of Regions (00:30)
  • Create Form Regions (01:02)
  • Create New Office Add-in (00:23)
  • Add New Form Region (00:56)
  • Add New Data Source (01:35)
  • Lay out Form Contents (03:09)
  • Test the Form (00:26)
  • Populate the Mail Message (03:03)
  • Test Outlook Add-in (00:47)
  • Summary (00:48)