Course Information

Course CodeMS2555 (MOC2555) (M2555)
Fee£1295 (Exclusive of VAT)
DurationFive Days
Delivery FormatInstructor-led

Introduction

This five-day, instructor-led course provides students with the skills required to build Microsoft Windows Forms applications by using the Microsoft .NET Framework.This course is a part of the Microsoft Visual C# .NET curriculum and is intended to provide C# programmers with the skills required to create Windows Forms applications by using the .NET Framework. The course will cover the major topics for Windows client application programming on the .NET Framework. These topics include: Windows Forms, GDI+, simple data access, interoperating with unmanaged code, threading and asynchronous programming issues, simple remoting, Web access, Web Services consumption, debugging, security, and deployment issues for desktop applications.

Audience

This course is intended for the intermediate programmer who is responsible for designing and building Windows-based applications with the .NET Framework. It is designed for developers who have C# development skills.Students are required to have the following skills:

Typically, these individuals perform the following key activities:

Completion

Prerequisites

The course assumes that students have the following skills:

The following prerequisites are recommended for this course:

OR

Examinations

Materials

The student kit includes a comprehensive workbook and other necessary materials for this class.

Course Outline

Module 1: Introducing Windows Forms

The following topics are covered in this module:

Lessons

Lab 1.1: Creating Windows Forms

After completing this module, students will be able to:

Module 2: Working with Controls

This module explains how to create event procedures (handlers) in your application that will run in response to user actions. Students will learn how to add programming logic to the event procedures of a control, how to use the Windows Forms intrinsic controls, dialog boxes, and menus, and how to validate the data entered by users of your application.

Lessons

Lab 2.1: Working with Controls

After completing this module, students will be able to:

Module 3: Building Controls

This module explains how to extend the functionality of an existing Windows control, combine multiple existing controls into a composite control, and build a new custom control. Students will also learn how to add design-time licensing support to a control.

Lessons

Lab 3.1: Building Controls

After completing this module, students will be able to:

Module 4: Using Data in Windows Forms Applications

This module explains how to bind Windows forms to various data sources by using ADO .NET. Students will learn about binding Windows forms to data from sources such as databases and XML files. Students will get an overview of the XML Web services programming model and learn how to create applications that use XML Web services. The module also provides an overview of how to persist data to and read data from files and isolated storage.

Lessons

Lab 4.1: Accessing Data with ADO.NET

Lab 4.2: Calling an XML Web Service

After completing this module, students will be able to:

Module 5: Interoperating with Managed Objects

This module explains how to use .NET and COM components in a Windows Forms application. Students will also learn how to call Win32 APIs in their Windows Forms application.

Lessons

Lab 5.1: Interoperating with COM and Calling Win32 APIs

After completing this module, students will be able to:

Module 6: Printing and Reporting in Windows Forms Applications

The following topics are covered in this module:

Lessons

Lab 6.1: Printing Formatted Documents

After completing this module, students will be able to:

Module 7: Asynchronous Programming

This module explains how to use the techniques of asynchronous programming and multithreading to avoid blocking the user interface of an application.

Lessons

Lab 7.1: Making Asynchronous Calls to an XML Web Service

After completing this module, students will be able to:

Module 8: Enhancing the Usability of Applications

This module covers how to use the accessibility, Help, and localization features available in the .NET Framework.

Lessons

Lab 8.1: Enhancing the Usability of an Application

After completing this module, students will be able to:

Module 9: Deploying Windows Forms Applications

This module explains assemblies and how to use strong-named assemblies and the Global Assembly Cache (GAC) in the .NET Framework. Students will also learn how to configure and deploy .NET-based applications.

Lessons

Lab 9.1: Deploying an Application

After completing this module, students will be able to:

Module 10: Securing Windows Forms Applications

This module explains the .NET Framework security model. Students will learn how to use .NET Framework security features in Windows Forms applications.

Lessons

Lab 10.1: Adding and Testing Permission Requests

After completing this module, students will be able to: