Home     Business Solutions    eLearning     Room Rentals    Resources     About Us    Careers    Directions    Contact Us     
IT Technologies
    - SharePoint
    - MDOP
    - Vista
    - Visual Studio
    - Win Server 2008


Download our
current catalog!










New Horizons Computer Learning Center
410-597-9722

Complete C#.NET 2005

Course Length: 5 Days

Overview:
The .NET platform brings a streamlined elegance to Windows and Web development, and C# is the language designed specifically for the .NET development. This 5 day instructor-led course provides in-depth coverage of both the language (C# 2005) and the platform (.NET 2.0). The class begins with an overview of the core atoms of the .NET universe; CLR, CTS, CLS, CIL and the assembly / namespace / type distinction. You will then learn the details of the C# language including several new features such as nullable data types, partial classes and generics. The focus of the class then shifts to various technologies provided by the .NET 2.0 platform, including file I/O and object serialization, reflection services, Windows Forms 2.0, ADO.NET 2.0 and an introduction to ASP.NET 2.0 Web applications and XML Web services. Throughout the week, attendees will also be exposed to numerous aspects of the Visual Studio 2005 IDE and make use of various integrated development tools (refactoring support, code snippets, visual type designers, etc). Throughout the course you will complete several practical hands-on exercises that demonstrate how to apply .NET technologies in the real world. This course uses Visual Studio 2005 and .NET 2.0

Course Objectives:
Upon successful completion of this course, students will learn:

  • The architecture of Microsoft .NET 2.0
  • How to develop several different types of .NET applications (Console, Windows, web, web services and class libraries)
  • The three pillars of OOP (Object Oriented Programming)
  • How to efficiently retrieve and manipulate data from multiple data sources
  • The Visual Studio 2005 editor and all of its advantages
  • How to work with .NET assemblies (EXEs and DLLs)
  • Reading, writing and serializing data to streams and files
  • Late binding with Reflection

Course Content

Lesson 1: The Philosophy of .NET

  • Remembering the World of COM
  • COM Problems and .NET Solutions
  • The .NET Universe
  • The .NET Universe: The Common Type System
  • The .NET Universe: The Common Language Specification
  • The .NET Universe: The Common Language Runtime
  • The .NET Universe: Namespaces
  • The .NET Universe: Common Intermediate Language
  • The .NET Universe: Assemblies and Manifests
  • Paths to Managed Code: A Survey of .NET Languages
  • The CLI: The Basis of .NET's Platform Independence
  • Building C# Applications Using csc.exe

Lesson 2: C# Language Fundamentals

  • The Anatomy of a Basic C# Application
  • C# Decision Constructs
  • Looping Constructs
  • Parameter Modifiers
  • Method Overloading
  • Exception Handling
  • Building Custom Exceptions

Lesson 3: Object Oriented Programming with C#

  • Object Oriented Development In C#
  • Encapsulation and Class Development
  • Constructors and Finalizers
  • Field Initialization
  • Implementing Class Properties
  • Defining Static Members
  • Constant and Read Only Fields
  • Using the this Keyword for Self-Reference
  • Implementation Inheritance
  • Implementation Inheritance: A Complete Example
  • Implementing the Employee Base Class
  • Implementing the WageEmployee Class
  • Implementing the SalesEmployee Class
  • Implementing the Manager Class
  • Abstract Methods and Classes
  • Interfaces and Polymorphism
  • Explicit Interface Implementation
  • Interfaces versus Abstract Classes
  • Multiple Interface Inheritance
  • Type Casting
  • Inheritance and Composition
  • Defining Nested Types
  • Overloading Operators
  • Overloading the Comparison Operators

Lesson 4: Common Language Runtime Fundamentals

  • Value Types and Reference Types
  • System.Object
  • Overriding Select System.Object Members
  • System Data Types
  • .NET String Formatting (with or without the Console)
  • Boxing and Unboxing
  • Array Manipulation
  • String Manipulation
  • Defining Enumerations
  • Namespaces
  • Understanding Delegates
  • Using Events

Lesson 5: C# 2.0 Language Enhancements

  • Partial Class Definitions
  • Static Class Definitions
  • Refined Property Declaration Syntax
  • Understanding C# Nullable Types
  • Delegate Covariance and Contravariance
  • Understanding Anonymous Methods
  • Understanding Method Group Conversion

Lesson 6: Understanding Generics

  • Understanding the Role of Generics
  • Issues with Boxing and Unboxing
  • Issues with Custom Collections
  • Consuming Generic Types
  • Creating Custom Generic Methods
  • Building Custom Generic Types
  • Constraining Generic Type Parameters

Lesson 7: Understanding .NET Assemblies

  • An Overview of .NET Binaries (a.k.a. The Assembly)
  • Building a Single File Test Assembly
  • Building a Client
  • Cross Language Inheritance
  • Exploring the Manifest
  • Understanding Private Assemblies
  • Authoring Application Configuration Files
  • Creating a Strong Name (and installing into the GAC)
  • Versioning Policies and Shared Assemblies
  • Redirecting Assembly Requests
  • Understanding Publisher Policy
  • The Machine.Config File
  • Using the Element
  • Assembly Binding Summary

Lesson 8: Programming with Windows Forms

  • An Overview of the System.Windows.Forms.dll Assembly
  • Building a Main Window by Hand
  • The Application Class
  • The Form Hierarchy
  • Adding Controls to a Form By Hand
  • The Control.ControlCollection Type
  • Handling Mouse Events
  • Handling Keyboard Events
  • Handling Paint Messages
  • Visual Studio Windows Application Project Workspaces
  • Working with the New Windows Forms Designer
  • Working with Additional Designer Tools
  • Handling Events with the VS.NET IDE
  • Working with the New 'Strip' Controls
  • Working with the MaskedTextBox
  • Working with the WebBrowser Widget
  • Creating Modal Dialog Boxes
  • Windows Form Inheritance

Lesson 9: Reflection and Attribute Based Programming

  • Understanding Reflection
  • Investigating System.Type
  • Fun with System.Type
  • Examining the System.Reflection Namespace
  • Dynamically Loading an Assembly
  • Late Binding
  • Attribute Based Programming
  • Assembly Level Attributes
  • Building Custom Attributes
  • Restricting Attribute Usage
  • Attribute Reflection

Lesson 10: Input, Output and Object Serialization

  • The System.IO Namespace
  • The Abstract FileSystemInfo Type
  • The DirectoryInfo Type
  • The DriveInfo Type
  • Understanding the Stream Concept
  • Working with StreamReaders and StreamWriters
  • Working with BinaryReaders and BinaryWriters
  • Reading and Writing Binary Data
  • Object Serialization
  • Understanding Object Graphs
  • Configuring Objects For Serialization
  • Serializing an Object Graph to File
  • Serializing an Object Graph to a SOAP Message
  • Customizing the Object Serialization Process

Lesson 11: Data Access with ADO.NET

  • Another Data Access API? Why?
  • The System.Data.dll Assembly
  • The Role of ADO.NET Data Providers
  • The DataReader
  • Inserting New Data Using Command Objects
  • Deleting Data Using Command Objects
  • Updating Data Using Command Objects
  • Working with Individual Parameter Objects
  • Calling Stored Procedures
  • ADO .NET: The Disconnected Layer
  • DataSets, DataTables, DataRows and DataColumns
  • Understanding the DataAdapter
  • Modifying Data in a DataSet
  • The Role of the CommandBuilder Object
  • Adding Table Relationships
  • Consuming Table Relationships
  • Filtering the DataSet

Lesson 12: New Features in ADO.NET 2.0

  • Understanding ADO.NET Data Provider Factories
  • A Complete Data Provider Factory Example
  • Working with the Connection String Builder
  • Working with the Element
  • DataTables as Data Readers

Lesson 13: An Introduction to ASP.NET

  • Problems with Classic ASP
  • Benefits of ASP.NET
  • The ASP.NET Namespaces
  • Options for Hosting ASP.NET 2.0 Web Applications
  • The Role of WebDev.WebServer.exe
  • Upgrading an ASP.NET 1.x Project to Visual Studio 2005
  • Building a Simple ASP.NET Web Page with Visual Studio 2005
  • The New Code Behind Page Development Model
  • Understanding Web Form Controls
  • Working with Web Form Controls
  • The Derivation of a Web Form Control
  • Understand the Issue of State Management
  • Working with Application and Session Data

Lesson 14: An Introduction to XML Web Services

  • Introduction to Web Services
  • The Web Services Architecture
  • Creating Web Services
  • Testing Web Services
  • Viewing the WSDL Contract
  • Building a Web Service Client
  • Exposing Complex Types

6940 Tudsbury Road, Baltimore, MD 21244
P: 410-597-9722
www.nhbaltimore.com

New Horizons Computer Learning Centers
6940 Tudsbury Road, Baltimore, MD 21244   (410) 597-9722
Copyright © 2005 New Horizons Computer Learning Centers of Baltimore. All rights reserved.