Learn your way! Get started

Advanced.NET Framework 2.0 Using VB 2005: Volume 1

with expert Don Kiely


Course at a glance

Included in these subscriptions:

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

Release date Release date 12/28/2006
Level Level Advanced
Runtime Runtime 11h 43m
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
Platform Platform Internet Explorer Only


Enterprise Solutions
Enterprise Solutions

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



Course description

In this volume, you will learn about implementing service processes and application domains in your .NET applications using the System and ServiceProcess namespaces. You will see how to take advantage of multi-threading to create fast and efficient processes through the Threading namespace. You will learn how to internationalize your .NET application by using the globalization classes. Enhance your user interface with the System.Drawing and System.Text namespaces.

Meet the expert

Don Kiely Don Kiely is a featured instructor on many of our SQL Server and Visual Studio courses. He is a nationally recognized author, instructor, and consultant specializing in Microsoft technologies. Don has many years of teaching experience, is the author or co-author of several programming books, and has spoken at many industry conferences and user groups. In addition, Don is a consultant for a variety of companies that develop distributed applications for public and private organizations.


Course outline



Module 1

Application Configuration (35:30)
  • Introduction (04:44)
  • .NET Configuration System (03:49)
  • Configuration API (02:38)
  • Config Files Security (02:09)
  • Standard Config Sections (01:54)
  • Demo: Application Settings (02:29)
  • Read AppSettings (04:27)
  • View Raw AppSettings XML (02:43)
  • Demo: Connection Strings (00:43)
  • Conn. Strings in web.config (00:58)
  • Read Connection Strings (03:25)
  • Retrieve all Conn. Strings (02:13)
  • Other Standard Sections (00:33)
  • Demo: Impersonate Setting (01:54)
  • Summary (00:43)
Manipulate Config Files (32:42)
  • Introduction (01:13)
  • Demo: Write to AppSettings (00:24)
  • Add a Setting (04:35)
  • Remove a Setting (01:51)
  • Standard Config. Settings (00:05)
  • Toggle Debugging in Setting (03:46)
  • Read machine.config (02:55)
  • Read Root web.config (02:29)
  • Read App. web.config (02:51)
  • Config Files in WinForms (01:45)
  • Section Groups / Props. (00:20)
  • Read machineKey section (03:08)
  • Section Collections (00:29)
  • Read from Pages Section (02:00)
  • Enumerating Section Groups (04:11)
  • Summary (00:31)
Custom Config Sections (28:39)
  • Introduction (01:55)
  • Create a Custom Section (01:14)
  • Write Section Handlers (02:01)
  • Declarative Section Handler (03:39)
  • Link Class in web.config (02:04)
  • Test Declarative Header (02:19)
  • Programmatic Section Handler (02:55)
  • Property Validators (00:45)
  • Test Programmatic Header (01:03)
  • More Complex Sect. Header (03:05)
  • View Class Code (07:15)
  • Summary (00:21)

Module 2

Custom Config Providers (22:05)
  • Introduction (00:49)
  • View SettingsProvider (00:59)
  • User vs App. Scope (01:56)
  • Use SettingsProvider (00:47)
  • userSettings Section (00:56)
  • SQL Settings Provider (01:51)
  • View AssemblyInfo (00:45)
  • GetPropertyValues Code (02:01)
  • GetValue Code (01:10)
  • SetPropertyValues Code (01:42)
  • Scope Support Functions (06:22)
  • Test the Provider (02:15)
  • Summary (00:26)
Installation Components (17:27)
  • Introduction (02:20)
  • Overview (01:44)
  • Pre-Defined Components (01:54)
  • Create a Windows App (02:04)
  • Add an Installer (00:51)
  • View Installer Code (02:10)
  • Add Code to Form (00:50)
  • Create Deployment Project (02:15)
  • Build the App (00:26)
  • Test the App (02:31)
  • Summary (00:16)
Custom Install Components (24:49)
  • Introduction (00:31)
  • Overview (04:21)
  • Create Install Comp. (05:02)
  • InstallHappened Event (00:59)
  • Database events Code (02:48)
  • Run Installation Code (00:50)
  • InstallUtil.exe Tool (01:53)
  • AssemblyInstaller Class (02:02)
  • View Installer Code (05:53)
  • Summary (00:25)
Configuring Assemblies (18:46)
  • Introduction (00:47)
  • Specify Framework Version (04:06)
  • Specific Assembly Versions (03:00)
  • Concurrent Garbage Coll. (01:16)
  • Register Remote Objects (04:22)
  • .NET Configuration Tool (04:35)
  • Summary (00:35)

Module 3

Event Logs (28:56)
  • Introduction (01:00)
  • Overview: Tools (01:25)
  • WinForms Components (00:33)
  • Use an Event Log (01:53)
  • Security Note About Logs (02:02)
  • EventLog Class (02:15)
  • Create an Event Log (00:44)
  • Setup Form Code (03:00)
  • Create/Delete Logs Code (03:44)
  • Read From an Event Log (03:24)
  • Log Changed Code (01:26)
  • Get Log Entries Code (03:35)
  • Write to an Event Log (02:16)
  • WriteEvent Method (01:07)
  • Summary (00:24)
Processes (18:26)
  • Introduction (01:39)
  • Run ProcessManager Demo (01:59)
  • List Running Processes (03:31)
  • List Process"s Modules (02:53)
  • Retrieve Current Process (01:07)
  • Starting a New Process (06:40)
  • Summary (00:33)
Application Performance (12:09)
  • Introduction (01:24)
  • Run Perf. Counter App (01:09)
  • Windows Perf. Tool (02:30)
  • Create Perf. Counters (04:30)
  • Using Perf. Counters (02:12)
  • Summary (00:22)
Debugging (41:08)
  • Introduction (01:36)
  • Run Debugging Sample (03:48)
  • View Debug Sample Code (01:27)
  • Overview: Stack Trace (01:22)
  • Examine Stack Trace (01:38)
  • Stack Trace Code (03:43)
  • Debugger Attributes (03:58)
  • BrowsableAttribute (02:37)
  • DisplayAttribute (02:58)
  • HiddenAttribute (02:24)
  • StepThroughAttribute (01:17)
  • TypeProxyAttribute (05:47)
  • VisualizerAttribute (00:59)
  • View Text Visualizer (02:16)
  • Impl. Custom Visualizer (04:20)
  • Summary (00:51)

Module 4

Tracing (17:10)
  • Introduction (02:14)
  • Run Tracing Demo (01:10)
  • Trace Sources (05:00)
  • Trace Switches (01:30)
  • Trace Listeners (03:26)
  • Filtering Traces (01:16)
  • Configuring Traces (02:15)
  • Summary (00:13)
Instrumenting (30:14)
  • Introduction (01:33)
  • The Debug Class (00:27)
  • Write Debug Information (03:48)
  • Debug Fail (03:09)
  • Assertions (04:44)
  • The Trace Class (02:49)
  • Debug vs Trace (00:56)
  • Trace Switching (05:13)
  • Correlating Traces (05:09)
  • Enable Debugging/Tracing (01:43)
  • Summary (00:38)
Management (23:48)
  • Introduction (01:57)
  • WMI Object Browser (02:35)
  • Interesting WMI Classes (02:58)
  • Access Windows Resources (03:16)
  • Enum. Physical Drives (05:12)
  • Enum. Logical Disks (02:32)
  • Enum. Network Adapters (01:37)
  • Enum. System Processes (01:01)
  • Enum. Paused Services (02:07)
  • Summary (00:29)
Events (12:44)
  • Introduction (01:45)
  • WMI Query (01:33)
  • Sample App. Code (00:39)
  • Synchronous WMI Events (03:42)
  • Asynchronous WMI Events (03:21)
  • Summary (01:41)

Module 5

Code Access Security (42:23)
  • Introduction (03:14)
  • Overview: CAS (03:12)
  • CAS: Evidence (02:44)
  • CAS: Security Policy (03:08)
  • CAS: Code Groups (01:49)
  • CAS: Permissions (04:00)
  • Sample Runtime Sec. Pol. (02:47)
  • CAS / Windows Security (02:33)
  • Configuring CAS (00:55)
  • Framework Config. Tool (07:57)
  • Default Permission Sets (00:32)
  • Create Permission Set (03:37)
  • Analyze Assemblies (02:58)
  • Reset All Sec. Pols. (02:02)
  • Summary (00:46)
Assemblies (30:58)
  • Introduction (02:20)
  • Use CAS in Assemblies (05:10)
  • Testing CAS (06:04)
  • VS Project Sec. Settings (03:41)
  • Set Security on Assemblies (01:33)
  • Add RequestMinimum (02:20)
  • Add RequestOptional (02:23)
  • Add UIPermission (01:39)
  • Edit File/UI Permissions (02:37)
  • Add RequestRefuse (02:04)
  • Summary (01:02)

Module 6

Methods (34:24)
  • Introduction (02:22)
  • Use CAS with Methods (01:31)
  • Method Permission Requests (02:40)
  • Setup Method Example (02:39)
  • Declarative Demand (01:17)
  • Imperative Demand (01:28)
  • Declarative Demand Fail (01:18)
  • Imperative Demand Fail (01:06)
  • Declarative Link Demand (01:37)
  • Declarative Assert (01:51)
  • Imperative Assert (00:47)
  • Declarative Permit Only (01:01)
  • Imperative Permit Only (00:21)
  • Declarative Inheritance (01:05)
  • Analyze Permissions (02:16)
  • Safe Error Handling (02:12)
  • Custom Permission Sets (03:01)
  • Named Permission Sets (04:59)
  • Summary (00:43)
Windows Identity (37:46)
  • Introduction (01:14)
  • Authentication (03:27)
  • .NET Role-Based Security (03:27)
  • IIdentity / IPrincipal (03:14)
  • Identities / Principals (02:21)
  • Windows Identity (02:47)
  • Use Windows Identity (01:26)
  • Windows Principal (02:09)
  • Use Windows Principal (03:16)
  • Group Membership (01:59)
  • Use Group Membership (02:12)
  • Impersonation (01:04)
  • Use Impersonation (00:56)
  • Create an IIS Directory (07:39)
  • Summary (00:28)
Security Demands (21:28)
  • Introduction (01:13)
  • PrincipalPermission Class (01:09)
  • Declarative Demands (02:19)
  • Imperative Demands (02:05)
  • Generic/Custom Identities (00:35)
  • Generic Identities/Principals (01:57)
  • Use Generic Objects (03:46)
  • Custom Identities/Principals (08:02)
  • Summary (00:19)

Module 7

Windows Security (22:16)
  • Introduction (01:47)
  • DACLs / SACLs (05:18)
  • Effective Permissions (02:42)
  • Explore DACLs / SACLs (07:18)
  • Access Control (01:06)
  • Classes/Enumerations (01:18)
  • Access/Audit Rule Classes (02:00)
  • Summary (00:45)
Access Audit Rules (29:48)
  • Introduction (00:52)
  • Run Access Control Demo (03:27)
  • View Access Control Code (04:27)
  • Retrieve Security Info (02:38)
  • Retrieve Access Rules (02:54)
  • Retrieve Audit Rules (00:51)
  • Get Rules for Directories (01:20)
  • Get Rules for Registry (02:25)
  • Change Access Rules (00:15)
  • Allowing Access (03:45)
  • Denying Access (00:54)
  • Removing Access (01:53)
  • Change Audit Rules (01:23)
  • AuditFlags.None value (01:41)
  • Summary (00:57)
Low Level Security (21:38)
  • Introduction (01:28)
  • ACL / ACE Classes (03:00)
  • CommonSecurityDescriptor (00:42)
  • PropagationFlags Enums. (02:16)
  • Maintain Security Settings (01:19)
  • Ownership (02:48)
  • Securing New Objects (03:10)
  • Access Object Ownership (02:54)
  • Inheritance/Propagation (01:55)
  • SetAccessRuleProtection (01:20)
  • Summary (00:39)

Module 8

Cryptography (42:39)
  • Introduction (01:57)
  • Cryptography Overview (02:25)
  • Protection Issues (04:07)
  • Algorithms (04:22)
  • Block Padding (02:20)
  • Cryptography in .NET (05:42)
  • Hashing Data (04:38)
  • Hashing Algorithms (01:30)
  • Algorithm Characteristics (01:28)
  • .NET Framework Classes (00:57)
  • Cryptography Demo (02:48)
  • Hashing Code (02:05)
  • Hashing a File (01:00)
  • Message Integrity (02:41)
  • Compare Hash Codes (00:20)
  • CryptoConfig Object (01:36)
  • Key Hashing Algorithm (01:12)
  • Summary (01:24)
Encryption (32:05)
  • Introduction (01:39)
  • Symmetric Key Encryption (02:42)
  • Algorithms (02:12)
  • Algorithm Characteristics (01:52)
  • Symmetric in .NET (00:17)
  • Symmetric Key Demo (03:17)
  • Symmetric Key Code (02:44)
  • Encrypt/DeCrypt Data (04:54)
  • Random Number (02:00)
  • Asymmetric Key Encryption (03:10)
  • RSA (00:20)
  • Asymmetric in .NET (00:59)
  • Asymmetric Key Demo (01:04)
  • Asymmetric Key Code (04:07)
  • Summary (00:42)
Digital Sigs and DPAPI (23:44)
  • Introduction (01:41)
  • Digital Signature Hierarchy (00:45)
  • Digital Signature Demo (01:27)
  • Digital Signature Code (02:43)
  • DSACryptoServiceProvider (01:12)
  • Data Protection API (DPAPI) (03:24)
  • The DPAPI Process (02:23)
  • Store Options (01:50)
  • ProtectedMemory Class (02:52)
  • ProtectedMemory Demo (03:09)
  • ProtectData Option (01:26)
  • Summary (00:47)