Exam prep for everything you need in one comprehensive library!

Subscribe Now

Advanced.NET Framework 2.0 Using VB 2005: Volume 1

with Don Kiely, Gregory Reddick, and F. Scott Barker


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.



11+ hours of media runtime

Application Configuration

  • .NET Configuration System
  • Configuration API
  • Config Files Security
  • Standard Config Sections
  • Demo: Application Settings
  • Read AppSettings
  • View Raw AppSettings XML
  • Demo: Connection Strings
  • Conn. Strings in web.config
  • Read Connection Strings
  • Retrieve all Conn. Strings
  • Other Standard Sections
  • Demo: Impersonate Setting

Manipulate Config Files

  • Demo: Write to AppSettings
  • Add a Setting
  • Remove a Setting
  • Standard Config. Settings
  • Toggle Debugging in Setting
  • Read machine.config
  • Read Root web.config
  • Read App. web.config
  • Config Files in WinForms
  • Section Groups / Props.
  • Read machineKey section
  • Section Collections
  • Read from Pages Section
  • Enumerating Section Groups

Custom Config Sections

  • Create a Custom Section
  • Write Section Handlers
  • Declarative Section Handler
  • Link Class in web.config
  • Test Declarative Header
  • Programmatic Section Handler
  • Property Validators
  • Test Programmatic Header
  • More Complex Sect. Header
  • View Class Code

Custom Config Providers

  • View SettingsProvider
  • User vs App. Scope
  • Use SettingsProvider
  • userSettings Section
  • SQL Settings Provider
  • View AssemblyInfo
  • GetPropertyValues Code
  • GetValue Code
  • SetPropertyValues Code
  • Scope Support Functions
  • Test the Provider

Installation Components

  • Overview
  • Pre-Defined Components
  • Create a Windows App
  • Add an Installer
  • View Installer Code
  • Add Code to Form
  • Create Deployment Project
  • Build the App
  • Test the App

Custom Install Components

  • Overview
  • Create Install Comp.
  • InstallHappened Event
  • Database events Code
  • Run Installation Code
  • InstallUtil.exe Tool
  • AssemblyInstaller Class
  • View Installer Code

Configuring Assemblies

  • Specify Framework Version
  • Specific Assembly Versions
  • Concurrent Garbage Coll.
  • Register Remote Objects
  • .NET Configuration Tool

Event Logs

  • Overview: Tools
  • WinForms Components
  • Use an Event Log
  • Security Note About Logs
  • EventLog Class
  • Create an Event Log
  • Setup Form Code
  • Create/Delete Logs Code
  • Read From an Event Log
  • Log Changed Code
  • Get Log Entries Code
  • Write to an Event Log
  • WriteEvent Method

Processes

  • Run ProcessManager Demo
  • List Running Processes
  • List Process"s Modules
  • Retrieve Current Process
  • Starting a New Process

Application Performance

  • Run Perf. Counter App
  • Windows Perf. Tool
  • Create Perf. Counters
  • Using Perf. Counters

Debugging

  • Run Debugging Sample
  • View Debug Sample Code
  • Overview: Stack Trace
  • Examine Stack Trace
  • Stack Trace Code
  • Debugger Attributes
  • BrowsableAttribute
  • DisplayAttribute
  • HiddenAttribute
  • StepThroughAttribute
  • TypeProxyAttribute
  • VisualizerAttribute
  • View Text Visualizer
  • Impl. Custom Visualizer

Tracing

  • Run Tracing Demo
  • Trace Sources
  • Trace Switches
  • Trace Listeners
  • Filtering Traces
  • Configuring Traces

Instrumenting

  • The Debug Class
  • Write Debug Information
  • Debug Fail
  • Assertions
  • The Trace Class
  • Debug vs Trace
  • Trace Switching
  • Correlating Traces
  • Enable Debugging/Tracing

Management

  • WMI Object Browser
  • Interesting WMI Classes
  • Access Windows Resources
  • Enum. Physical Drives
  • Enum. Logical Disks
  • Enum. Network Adapters
  • Enum. System Processes
  • Enum. Paused Services

Events

  • WMI Query
  • Sample App. Code
  • Synchronous WMI Events
  • Asynchronous WMI Events

Code Access Security

  • Overview: CAS
  • CAS: Evidence
  • CAS: Security Policy
  • CAS: Code Groups
  • CAS: Permissions
  • Sample Runtime Sec. Pol.
  • CAS / Windows Security
  • Configuring CAS
  • Framework Config. Tool
  • Default Permission Sets
  • Create Permission Set
  • Analyze Assemblies
  • Reset All Sec. Pols.

Assemblies

  • Use CAS in Assemblies
  • Testing CAS
  • VS Project Sec. Settings
  • Set Security on Assemblies
  • Add RequestMinimum
  • Add RequestOptional
  • Add UIPermission
  • Edit File/UI Permissions
  • Add RequestRefuse

Methods

  • Use CAS with Methods
  • Method Permission Requests
  • Setup Method Example
  • Declarative Demand
  • Imperative Demand
  • Declarative Demand Fail
  • Imperative Demand Fail
  • Declarative Link Demand
  • Declarative Assert
  • Imperative Assert
  • Declarative Permit Only
  • Imperative Permit Only
  • Declarative Inheritance
  • Analyze Permissions
  • Safe Error Handling
  • Custom Permission Sets
  • Named Permission Sets

Windows Identity

  • Authentication
  • .NET Role-Based Security
  • IIdentity / IPrincipal
  • Identities / Principals
  • Windows Identity
  • Use Windows Identity
  • Windows Principal
  • Use Windows Principal
  • Group Membership
  • Use Group Membership
  • Impersonation
  • Use Impersonation
  • Create an IIS Directory

Security Demands

  • PrincipalPermission Class
  • Declarative Demands
  • Imperative Demands
  • Generic/Custom Identities
  • Generic Identities/Principals
  • Use Generic Objects
  • Custom Identities/Principals

Windows Security

  • DACLs / SACLs
  • Effective Permissions
  • Explore DACLs / SACLs
  • Access Control
  • Classes/Enumerations
  • Access/Audit Rule Classes

Access Audit Rules

  • Run Access Control Demo
  • View Access Control Code
  • Retrieve Security Info
  • Retrieve Access Rules
  • Retrieve Audit Rules
  • Get Rules for Directories
  • Get Rules for Registry
  • Change Access Rules
  • Allowing Access
  • Denying Access
  • Removing Access
  • Change Audit Rules
  • AuditFlags.None value

Low Level Security

  • ACL / ACE Classes
  • CommonSecurityDescriptor
  • PropagationFlags Enums.
  • Maintain Security Settings
  • Ownership
  • Securing New Objects
  • Access Object Ownership
  • Inheritance/Propagation
  • SetAccessRuleProtection

Cryptography

  • Cryptography Overview
  • Protection Issues
  • Algorithms
  • Block Padding
  • Cryptography in .NET
  • Hashing Data
  • Hashing Algorithms
  • Algorithm Characteristics
  • .NET Framework Classes
  • Cryptography Demo
  • Hashing Code
  • Hashing a File
  • Message Integrity
  • Compare Hash Codes
  • CryptoConfig Object
  • Key Hashing Algorithm

Encryption

  • Symmetric Key Encryption
  • Algorithms
  • Algorithm Characteristics
  • Symmetric in .NET
  • Symmetric Key Demo
  • Symmetric Key Code
  • Encrypt/DeCrypt Data
  • Random Number
  • Asymmetric Key Encryption
  • RSA
  • Asymmetric in .NET
  • Asymmetric Key Demo
  • Asymmetric Key Code

Digital Sigs and DPAPI

  • Digital Signature Hierarchy
  • Digital Signature Demo
  • Digital Signature Code
  • DSACryptoServiceProvider
  • Data Protection API (DPAPI)
  • The DPAPI Process
  • Store Options
  • ProtectedMemory Class
  • ProtectedMemory Demo
  • ProtectData Option