Toll Free: 800-735-7418
Local: 303-377-9333
info@hartmannsoftware.com
 
 

 
.NET FRAMEWORK USING VISUAL BASIC

Course Description  
This 4-day course is designed to provide a sound introduction to the .NET Framework for programmers who already know the VB.NET language and the fundamentals of Windows Forms. The course focuses on core portions of the .NET Framework that are common across many application areas. The course is practical, with many examples and a case study. The goal is to equip you to begin building significant applications using the .NET Framework.

Course Length: 4 Days
Course Tuition: $1590 (US)
Prerequisites
A working knowledge of VB.NET, including building simple GUIs with Windows Forms.
Course Outline  


• .NET Fundamentals
What Is Microsoft .NET?
Open Standards and Interoperability
Windows Development Problems
Common Language Runtime
Attribute-Based Programming
Metadata
Types
.NET Framework Class Library
Interface-Based Programming
Everything is an Object
Common Type System
ILDASM
ILDASM in .NET SDK
Language Interoperability
Managed Code
Assemblies
Assembly Deployment
JIT Compilation
ASP.NET and Web Services
The Role of XML
Performance

• Class Libraries
Objects and Components
Limitation of COM Components
Components in .NET
Class Libraries at the Command Line
Monolithic versus Component
Class Libraries Using Visual Studio
References in Visual Studio
References at Compile Time and Run Time
Project Dependencies
Specifying Version Numbers

• Assemblies, Deployment and Configuration
Assemblies
Customer Management System
ILDASM
Assembly Manifest
Assembly Dependency Metadata
Assembly Metadata
Versioning an Assembly
AssemblyVersion Attribute
Strong Names
Digital Signatures
Verification with Digital Signatures
Hash Codes
Digitally Signing an Assembly
Digital Signing Flowchart
Signing the Customer Assembly
Signed Assembly Metadata
Private Assembly Deployment
Assembly Cache
Deploying a Shared Assembly
.NET Framework Configuration Tool
Versioning Shared Components
How the CLR Locates Assemblies
Resolving an Assembly Reference
Version Policy in a Configuration File
Configuration Tool and Config Files
Finding the Assembly
Application Settings
Application Settings Using Visual Studio
MySettings
Application Configuration File
User Configuration File

• Metadata and Reflection
Metadata
Reflection
System.Reflection.Assembly
System.Type
System.Reflection.MethodInfo
Dynamic Invocation
Late Binding

• I/O and Serialization
Input and Output in .NET
Directories
Files and Streams
“Read” Command
Code for “Write” Command
Serialization
Attributes

• .NET Programming Model
Garbage Collection
Finalize Method
Dispose
Finalize/Dispose Test Program
Garbage Collection Performance
Generations
Processes
Threads
.NET Threading Model
Race Conditions
Thread Synchronization Programming
Monitor
Synchronization of Collections
Asynchronous Calls
Asynchronous Delegates
Using a CallBack Method
.NET 2.0 BackgroundWorker
Application Isolation
Application Domain
Application Domains and Assemblies
AppDomain
CreateDomain
App Domain Events
Distributed Programming in .NET
.NET Remoting Architecture
Remote Objects and Mobile Objects
Object Activation and Lifetime
Singleton and SingleCall

• .NET Security
Fundamental Problem of Security
Authorization
Authentication
The Internet and .NET Security
Code Access Security
Role-Based Security
.NET Security Concepts
Configuring Security in .NET
Caspol.exe
Policy Levels
Code Groups
Standard Code Groups
Other Assemblies
Programming Code Access Security
Evidence-Based Security
Host and Assembly Evidence
Enumerating Evidence
Imperative CAS Using Evidence
EvidenceCASClient Program
DoSomethingForClient Method
Running over the Intranet
Configuring LocalIntranet_Zone
Permissions
IPermission Interface
IPermission Demand Method
IPermission Inheritance Hierarchy
Stack Walking
Assert
Deny
PermitOnly and Revert Methods
Other CAS Methods
ZoneIdentityPermission Class
Declarative CAS
Role-Based Security in .NET
Identity Objects
Principal Objects
Windows Principal Information
Custom Identity and Principal
BasicIdentity.vb
BasicSecurity.vb
Users.vb
Roles.vb
RoleDemo.vb
PrincipalPermission

• Interoperating with COM and Win32
Interoperating Between Managed and Unmanaged Code
COM Interop and PInvoke
Calling COM Components from Managed Code
The TlbImp.exe Utility
TlbImp Syntax
Using TlbImp
Register the COM Server
OLE/COM Object Viewer
Run the COM Client
Implement the .NET Client Program
Import a Type Library Using Visual Studio
Platform Invocation Services (Pinvoke)
Marshalling ByRef Parameters
Translating Types

• Database Programming Using ADO.NET
ADO.NET
ADO.NET Architecture
.NET Data Providers
Programming with ADO.NET Interfaces
.NET Namespaces
Connected Data Access
ADO.NET Class Libraries
Connecting to an OLE DB Data Provider
Using Commands
Creating a Command Object
ExecuteNonQuery
Using a Data Reader
Disconnected Datasets
Data Adapters
Command Builder
Main Program
Creating a Data Adapter and Generating Commands
Filling the Dataset
Displaying the Data Set
Adding a Row to the Data Set
Deleting a Row
Changing a Row
Updating the Database
Data Bound Controls
DataGridView Control
Performing a Query
Creating a Dataset Manually
Manual DataSet Code
Using XML Data
XML Schema and Data
Using XML with a DataSet

• Debugging Fundamentals
Compile-Time Errors
Runtime Errors
Debugging
Project Configurations
Custom Configurations
Build Settings for a Configuration
Release Configuration
Customizing a Toolbar
Using the Visual Studio Debugger
Overflow Exception
Just-in-Time Debugging
Standard Debugging – Breakpoints
Standard Debugging – Watch Variables
Stepping with the Debugger
The Call Stack
JIT Debugging in Windows Apps
Configuration File
Debugged Version of WinBytes

• Tracing
Instrumenting an Application
Order Application
Debugging Review
Tracing
Debug and Trace Classes
System.Diagnostics in VB Projects
Viewing Trace Output
Debug Statements
Debug Output
Assert
WriteLine Syntax
Event Logs
Viewing Event Logs
Event Log Entry Types
.NET EventLog Component
Retrieving Entries from an Event Log
Handling EventLog Events

• More about Tracing
Trace Switches
BooleanSwitch
Using a Configuration File
TraceSwitch
SwitchDemo
Trace Listeners
DefaultTraceListener
A Stream Listener
A Custom Listener
Trace Output to a Window
An Event Log Listener
Tracing in the Order Application
Trace Output

Contact us for course schedules or more information.
 

Registration and Pricing
The Virtual Classroom
Mentoring Services


Fresh Off The Press MySQL Admin/Dev
Sharepoint for Developers
Advanced XML
Securing Java Web Services
Exploring Design Patterns
Fast Track to Java EE
Ajax using C# (VS 2008) Oracle 11G New Features Complete LINQ