Core Foundations of Microsoft .NET 2.0 Development (Course Code: 2956)

Course Schedule:

Object reference not set to an instance of an object.

Overview:

This three-day instructor-led course provides students with the enabling knowledge and skills required to create Microsoft .NET Applications with Visual Studio 2005. Students learn how to develop advanced .NET applications.

Learning Method:

This course will be presented in a lecture/tutorial sessions using a combination of lectures, group discussions and practical exercises. Each student will be provided with a comprehensive set of course notes. This hands-on course combines exercises and practical work to solidify your learning.

Who will benefit from this course?

This course is designed for Application Developers with the skills to develop business applications by using Visual Studio 2005 with either Visual Basic .NET or Visual C#. This course will be most useful to people who are already working in the job role of an application developer and who intend to use their new skills and knowledge on the job immediately after training.

Pre-requisites

Before attending this course, you must be able to:

  • understand the purpose and components of the .NET 2.0 Framework and the Common Language Runtime
  • understand the components of typical .NET 2.0 applications
  • understand and use .NET Framework 2.0 Common Type System (CTS) and how to use variable types including dates/times, numbers, strings, objects and arrays
  • use basic file IO classes from the Framework such as StreamReader, StreamWriter, Directory, DirectoryInfo, File and FileInfo
  • use basic Framework provided type conversions
  • use basic Framework provided text conversion and manipulations including StringBuilder
  • use classes with the System.Collections namespace
  • use the System.Math class
  • basic language syntax for decision structures, loop structures, declaring and using variables
  • write code using language specific functionality such as the My. classes for Visual Basic
  • understand classes and objects, methods, properties and functions
  • write code to implement overridden methods
  • understand the class hierarchy present in the .NET Framework 2.0
  • write code to declare a class
  • write code to create an instance of a class
  • write code to compare if an object is equal to another object
  • write code to dispose of an object
  • understand the lifecycle of an object
  • write code to handle exceptions via a try-catch block
  • write code to implement static methods and properties
  • adding projects to a solution
  • removing projects from a solution
  • creating new project types
  • adding new and existing files to a project
  • compile a project
  • carry out basic project debugging
  • use the object browser
  • use the help system especially provided to help VB6.0 developers migrate to .NET
  • understand assemblies and how they relate to deployment
  • understand and create a deployment project
  • be able to create deployment wizards using the Deployment Setup wizard
  • select an appropriate deployment project based on the application

What can you expect to gain from this course?

After completing this course, you will have the skills to:

  • develop applications that use system types and collections
  • implement service processes, threading, and application domains in a .NET Framework application
  • embed configuration, diagnostic, management, and installation features into a .NET Framework application
  • implement serialisation and input/output functionality in a .NET Framework application

Course Content:

Module 1:Implementing System Types and Interfaces
  • In this module, students learn about the purpose of system types in the .NET Framework and implementation of special system types introduced in the .NET Framework 2.0. Students also learn about the purpose of interfaces in developing .NET Framework applications. Finally, students learn how to implement system types and interfaces.
  • Examining Primary System Types
  • Working with Special System Types
  • Working with Interfaces
  • Exercise: Implementing System Types and Interfaces
Module 2:Implementing Collections and Generics
  • In this module, students learn the basic information on how to work with primary collections, generic collections, specialised collections, and collection base classes.
  • Examining Collections and Collection Interfaces
  • Working with Primary Collection Types
  • Working with Generic Collections
  • Working with Specialised Collections
  • Working with Collection Base Classes
  • Exercise: Implementing Collections and Generics
Module 3:Configuring and Installing Assemblies
  • In this module, students learn how to create, share, install, and configure assemblies in the .NET Framework. Students also learn how to perform installation tasks related to assembly installation.
  • Working with an Assembly
  • Sharing an Assembly by Using the Global Assembly Cache
  • Installing an Assembly by Using Installation Types
  • Configuring an Assembly by Using Configuration Type
  • Performing Installation Tasks
  • Exercise: Configuring and Installing Assemblies
Module 4:Monitoring and Debugging Applications
  • In this module, students learn how to manage event logs and application processes. Students also learn how to monitor application performance, debug and trace applications, and embed management information and events in the .NET Framework applications.
  • Managing an Event Log
  • Working with Application Processes
  • Managing Application Performance
  • Debugging Applications
  • Tracing Applications
  • Embedding Management Information and Events
  • Exercise: Monitoring and Debugging Applications
Module 5:Reading and Writing Files
  • In this module, students learn how to manage drives, directories, and files. Students also learn how to work with streams, text, and strings. Finally, students learn how to compress, decompress, and search for patterns within file contents.
  • Managing the File System
  • Working with Byte Streams
  • Compressing and Protecting Stream Information
  • Managing Application Data
  • Manipulating Strings Efficiently
  • Working with Regular Expressions
  • Exercise: Reading and Writing Files
Module 6:Serialising Data
  • In this module, students learn how to serialise objects into binary and Simple Object Access Protocol (SOAP) formats. The students also learn how to serialise objects into custom XML and how to create custom serialisation classes.
  • Generating Serialised Binary and Soap Formats
  • Generating Serialised XML Formats
  • Creating Custom Serialisation Classes
  • Exercise: Serialising Data
Module 7:Implementing Delegates and Events
  • In this module, students learn the concepts of delegates and events and their uses in the .NET framework.
  • Controlling Interaction Between Components by Using Delegates
  • Controlling Interaction Between Components by Using Events
  • Exercise: Implementing Delegates and Events