Learn your way! Get started

Exploring Visual C# 2005

with expert Ken Getz


Course at a glance

Included in these subscriptions:

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

Release date Release date 11/1/2005
Level Level Beginner
Runtime Runtime 8h 23m
Closed captioning Closed captioning N/A
Transcript Transcript N/A
eBooks / courseware eBooks / courseware N/A
Hands-on labs Hands-on labs N/A
Sample code Sample code Included
Exams Exams N/A
Platform Platform Internet Explorer Only


Enterprise Solutions
Enterprise Solutions

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



Course description

After completing this course, you will not only have an idea of how to transition your existing skills to Visual C# 2005, you will have a good understanding of the important areas within the .NET Framework. This course demonstrates many of the new features in Visual Studio 2005 and is aimed at experienced developers as well as those new to .NET.

Meet the expert

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.


Course outline



Module 1

Intro to VS 2005 (01:14:41)
  • Introduction (02:28)
  • The Goal (00:37)
  • What is .NET, Anyway? (02:18)
  • .NET Framework Components (06:53)
  • .NET Languages (00:49)
  • Visual Studio 2005 (02:36)
  • Applications You Can Build (01:50)
  • Create a VB App With Notepad (03:24)
  • Create a C# App With Notepad (02:05)
  • Create a Console Project in VS (01:33)
  • Option Strict (00:56)
  • Intellisense (01:30)
  • Run the Application (00:44)
  • Start Debugging (01:17)
  • Add a C# Proj. to the Solution (04:15)
  • Add a Reference (03:31)
  • Single Step from VB to C# (01:59)
  • Imports / Using Statements (03:34)
  • More Visual Studio Features (01:38)
  • Inserting Code Snippets (03:41)
  • ildasm.exe (04:57)
  • How Do I Distribute this App? (01:17)
  • Important Questions (12:06)
  • The Problem? (02:08)
  • The Solution (03:58)
  • .NET Pieces and Parts (01:10)
  • Summary (01:16)
Visual Studio 2005 Demo (19:22)
  • Introduction (00:52)
  • Database Setup (01:03)
  • User Setup (01:02)
  • MSMQ Setup (01:11)
  • Create the ConLink App (02:14)
  • Inserting Code Snippets (01:40)
  • Sub SlowString (04:00)
  • Function Login() (00:46)
  • Function RegGuest (00:11)
  • Add Error Handling (00:56)
  • Sub Main (00:27)
  • Run the App (02:07)
  • Other Fixup Tools (02:00)
  • Summary (00:49)

Module 2

Intro: .NET Framework Classes (14:23)
  • Introduction (00:56)
  • Looking at System Services (01:11)
  • What"s in the BCL? (01:24)
  • A Note About Namespaces (02:04)
  • System Namespace (02:08)
  • Systems.Collections (00:59)
  • System.Data (00:31)
  • System.Diagnostics (00:33)
  • System.Globalization (00:30)
  • System.IO (00:53)
  • System.NET (00:20)
  • System.Reflection (00:43)
  • System.Security (00:11)
  • System.ServiceProcess (00:16)
  • System.Web.UI.WebControls (00:19)
  • System.Windows.Forms (00:23)
  • Summary (00:56)
.NET Framework Classes (39:14)
  • Introduction (01:15)
  • String Class (01:56)
  • String Class Demo (02:37)
  • StringBuilder Class (01:31)
  • StringBuilder Class Demo (04:04)
  • FileVersionInfo Class (00:39)
  • FileVersionInfo Class Demo (02:34)
  • FileSystemWatcher Class (01:09)
  • FileSystemWatcher Cl. Demo (05:27)
  • New Classes in Framework 2.0 (01:17)
  • Work with Services Demo (00:23)
  • Common Dialog Demo (00:31)
  • Network Event Demo (02:12)
  • Drive Info Demo (00:43)
  • Audio Demo (02:26)
  • My Namespace Simplifies (01:00)
  • Static Classes (00:45)
  • Dynamic Classes (01:53)
  • My Namespace Demo (05:39)
  • Summary (01:04)
Create the Sample Solution (12:04)
  • Introduction (00:33)
  • Create a Blank Solution (00:56)
  • Create the ConData Project (00:26)
  • Registration Class Code (02:29)
  • SQLHotelData Class Code (01:23)
  • Constants Class Code (00:45)
  • Add TestConData Project (00:54)
  • Add Code to TestConData (01:12)
  • Run the TestConData Project (02:55)
  • Summary (00:26)

Module 3

Serializing Data (32:11)
  • Introduction (01:02)
  • Introducing Serialization (00:27)
  • Serialization/Deserialization (01:41)
  • What"s Up? (01:09)
  • Using Serialization (02:36)
  • .NET Framework/Serialization (00:45)
  • Introducing Formatter Objects (00:51)
  • Formatter Classes (01:05)
  • Built-in Serialization Demo (04:03)
  • Built-in Deserialization Demo (02:09)
  • Serialize Customer1 Demo (03:59)
  • Where Is the Data Going? (00:41)
  • Why Message Queuing? (01:44)
  • Message Queuing Terminology (01:47)
  • Programming Basics (01:08)
  • Send Customer via MSMQ (05:01)
  • Retr. Customer from MSMQ (00:50)
  • Summary (01:03)
Add Messaging to Solution (16:30)
  • Introduction (00:41)
  • Create a Message Queue (02:19)
  • Make Reg. Class Serializable (00:41)
  • Add Queuing Support (00:59)
  • Add NotifyHotel Code (01:46)
  • Add TestQueue Project (02:22)
  • Add Information Into the Queue (00:47)
  • Retrieve Info From the Queue (01:51)
  • Run the Application (03:45)
  • Summary (01:14)
Data Access with ADO.NET (45:53)
  • Introduction (00:42)
  • Why ADO.NET (02:08)
  • What is ADO.NET? (01:34)
  • Connected or Disconnected? (01:33)
  • ADO.NET Architecture (03:45)
  • DataTable Object (01:19)
  • Filling a DataTable Manually (00:41)
  • Fill DataTable Demo (03:11)
  • Connecting to a Data Source (00:39)
  • Setting Up Connections (02:32)
  • Commands (01:57)
  • Reading Data with DataReader (00:51)
  • SQL DataReader Demo (04:18)
  • Working With Data (01:44)
  • Getting Data Into a DataSet (00:42)
  • OleDb DataSet Demo (04:17)
  • SQL DataSet Demo (01:33)
  • Fill DataTable Demo (02:04)
  • Viewing Data While Debugging (00:37)
  • Inserting Data (00:50)
  • Insert Data Using Stored Proc. (05:16)
  • New Features in ADO.NET (02:25)
  • Summary (01:02)
Add Data Handling to Solution (10:49)
  • Introduction (00:39)
  • Insert_ConReg Stored Proc. (02:20)
  • Add Insert Attendee Code (00:55)
  • SQLConnection/Command (00:49)
  • Insert Parameter Code (02:05)
  • Code That Does the Work (00:35)
  • UpdateHotelReg Procedure (00:37)
  • Test the Code (01:59)
  • Summary (00:47)

Module 4

Windows Services (22:10)
  • Introduction (01:12)
  • What"s Up With Windows Serv. (00:29)
  • Introducing Windows Services (01:07)
  • View Current Running Services (02:25)
  • Things to Consider (02:19)
  • Steps for Building Win. Serv. (00:44)
  • Create a Windows Service (01:31)
  • FileSystemWatcher1_Created (02:36)
  • Install/Run the Windows Serv. (04:10)
  • Uninstall the Windows Service (00:20)
  • Debugging Your Service (04:00)
  • Summary (01:13)
Add Win. Service to Solution (11:19)
  • Introduction (00:45)
  • Create ConDaemon Project (00:56)
  • Add MessageQueue Comp. (00:45)
  • Add Installer (00:38)
  • Add Code for the Service (03:48)
  • Install the Service (00:36)
  • Debug the Service (00:48)
  • Test the Service (01:38)
  • Uninstall the Service (00:15)
  • Summary (01:05)
Windows Forms (53:50)
  • Introduction (00:55)
  • Why Windows Forms? (01:25)
  • Not Just About User Interface (01:13)
  • Visual Inheritance (01:36)
  • Forms in Visual Studio (00:58)
  • Create a New Windows App. (01:07)
  • Windows Forms Controls (02:02)
  • Form1.Designer.cs code (01:21)
  • Creating an MDI Container (00:39)
  • Create a Base Form (02:13)
  • Anchoring / Docking (01:29)
  • Create an Inherited Form (03:54)
  • Disp. Forms Programmatically (02:21)
  • Add Code to the Base Form (01:35)
  • Snap Lines (01:41)
  • View Event Handler Code (03:09)
  • Background Thread Demo (02:34)
  • BackgroundWorker Comp. (08:07)
  • Data Binding Example (05:11)
  • New Controls in VS 2005 (03:51)
  • ClickOnce Deployment (01:00)
  • Deployment Demo (04:13)
  • Summary (01:07)
Add ConMon to Solution (09:00)
  • Introduction (00:46)
  • Create RegData Class (02:32)
  • Create ConMon Project (02:27)
  • Add Code to ConMon Project (01:46)
  • Run the Sample Project (00:22)
  • Summary (01:05)

Module 5

ASP.NET Web Forms (53:02)
  • Introduction (00:55)
  • What"s Good: Classic ASP (00:53)
  • What"s Bad: Classic ASP (01:15)
  • Introducing ASP.NET (01:23)
  • ASP.NET Requirements (02:16)
  • Designing Web Pages (00:34)
  • Create a New Web Application (04:08)
  • Add Controls to a Web Page (01:31)
  • Run the Web Page (02:34)
  • View Source of Web Page (01:27)
  • .aspx and .cs Source Files (01:00)
  • What Happened? (00:56)
  • Separation of UI and Code (00:38)
  • How Web Pages Work (01:46)
  • Web Forms (00:41)
  • Server Controls (01:01)
  • Server-Side Control Classes (00:50)
  • Web Controls (02:46)
  • Login Controls Demo (02:48)
  • Calendar Control Demo (04:02)
  • Validation Controls Demo (07:58)
  • Data Binding Demo (10:23)
  • Summary (01:07)
Add Website to Solution (16:50)
  • Introduction (00:42)
  • Create ConWebReg Website (01:00)
  • Create a Stylesheet (00:53)
  • Apply the Stylesheet (00:27)
  • Create a Table (04:01)
  • Add Validation Controls (05:43)
  • Add Code to Save Data (01:37)
  • Run the Website (01:14)
  • Summary (01:09)

Module 6

COM Interoperability (21:57)
  • Introduction (01:03)
  • Why COM in a .NET World? (00:25)
  • COM Nomenclature (00:54)
  • COM and the CLR (00:37)
  • Bi-Directional COM Interop (00:33)
  • Calling COM from .NET (00:30)
  • .NET Using COM Interop (01:06)
  • How Do I Do It? (00:45)
  • Create an ActiveX DLL (01:37)
  • Call ComDemo From Excel (01:11)
  • Call ConDemo From VS 2005 (03:47)
  • Object Lifetime (03:59)
  • What About Deployment? (01:59)
  • Set Up Reg-Free COM (02:14)
  • Summary (01:11)
COM Interoperability Demo (07:20)
  • Introduction (00:44)
  • OldConMan ActiveX DLL (02:39)
  • Update Code (01:47)
  • Test OldConMan ActiveX DLL (00:54)
  • Summary (01:14)
Web Services (28:39)
  • Introduction (00:46)
  • What"s The Problem (01:00)
  • Introducing Web Services (01:33)
  • It"s All About Standards (00:50)
  • Transporting Information (01:09)
  • Web Services and You (01:10)
  • Consuming a Web Service (01:46)
  • Consume an Exisiting WS (00:14)
  • Set a Reference to the WS (01:40)
  • Add Code to Call the WS (01:57)
  • Test the Web Service (01:09)
  • Reference.cs file (01:32)
  • Call a More Complex WS (02:27)
  • Look For Other Web Serivces (01:20)
  • Making Web Service Requests (01:26)
  • Create a New Web Service (03:23)
  • Test the Web Service (00:43)
  • Consume the Web Service (02:27)
  • Deploy the Web Service (00:40)
  • Summary (01:18)
Add Web Service to Solution (14:15)
  • Introduction (00:50)
  • Create ConService WS (01:07)
  • WebMethod RegisterGuest (01:03)
  • Impersonation in web.config (02:06)
  • Modify ConDaemon (01:59)
  • Install the ConDaemon (00:51)
  • Test the Application (02:45)
  • Is It Time to Go Home Yet? (01:09)
  • Summary (02:24)