Shedding Light on windows Programming Home Training Resources Registration About the Paul Yao Company
The Paul Yao Company


Microsoft Windows Embedded Partner


Principles of .NET Compact Framework Programming

Overview

This workshop introduces programmers to the elements needed to write programs for the .NET Compact Framework on Windows Mobile(tm)-based Pocket PC, Pocket PC Phone, or SmartPhone, as well as on Microsoft(R) Windows(R) CE .NET-powered embedded devices. The focus of this workshop is on working well on mobile and embedded smart devices.

Who Should Attend

This lecture and lab-based workshop is intended for software engineers who need to understand the design and operation of the .NET Comapct Framework. This includes software architects, designers, programmers, testers, and development managers. No prior experience with Windows(R) programming is required, although programming experience is required to make the most of the programming labs which are offered during the workshop.

Workshop Highlights

  • Windows Mobile Pocket PCs and SmartPhones
  • New Item
  • Build robust user-interface code
  • Data storage options
  • Device connectivity and synchronization
  • Custom controls and graphics programming

Performance Objectives

On completion of this workshop, attendees will be able to...

  • Describe the rationale behind .NET Compact Framework programming.
  • Describe the role of the Common Language Runtime (CLR) in .NET programming.
  • Create a dynamic link library which exposes a public class.
  • Describe the available support for calling native code from managed code.
  • Write code for a stable, manageable Pocket PC and SmartPhone user-interface.
  • Write code to handle mouse (or stylus) and keyboard input.
  • Describe the role of data binding, and write code that correctly supports both simple and complex data binding.
  • Write code for menus, toolbars, and dialog boxes.
  • Create custom controls; understand the elements required for design-time support.
  • Describe storage options; write code to access files and the system registry.
  • Write code to move data between persistent storage and ADO.NET classes.
  • Describe available options for synchronizing SQL Server CE-based databases with server-based SQL Server databases.
  • Describe the design issues around using Web Services in Compact Framework programs.
  • Write code for a Web Services client.
  • Write code for connecting and moving data using Bluetooth, WiFi, and Infrared.
  • Write code to draw text, vector, and raster data.
  • Write code that creates hardcopy output from a Compact Framework program.

Workshop Syllabus

MONDAY TUESDAY WEDNESDAY THURSDAY FRIDAY

ARCHITECTURE

  • Windows CE
  • What is .NET?
  • Elements of the Compact Framework

MINIMUM COMPACT FRAMEWORK PROGRAM

  • Program elements
  • Commonly used classes
  • Form Events
  • Controls

FUNDAMENTAL DATA TYPES

  • Standard Types
  • Conversion
  • Memory Management
  • Creating Class Libraries

PLATFORM INVOKE

  • Declaring Functions
  • Supported Parameters
  • Manual Marshaling

CREATING FORMS

  • The Form Class
  • Properties, Methods, and Events
  • Manipulating Forms

MOUSE AND KEYBOARD INPUT

  • System input model
  • Mouse Events
  • Mouse Cursor
  • Keyboard Events
  • Keyboard Caret

INSIDE CONTROLS

  • Supported Controls in Windows Mobile Platforms
  • PMEs: Inherited vs. Supported
  • Strategies for managing controls

DATA BINDING

  • Simple / Complex Binding
  • The DataGrid Control

COMMAND INPUT

  • Menus
  • Toolbars
  • Dialog Boxes

CUSTOM CONTROLS

  • Base Classes
  • Overriding Events and Methods
  • Design-Time Support

STORAGE

  • File I/O
  • System Registry

ADO.NET PROGRAMMING

  • Core Classes
  • XML Storage
  • SQL Server CE Databases

SYNCHRONIZING MOBILE DATA

  • Remote Data Access (RDA)
  • Merge Replication

THE REMOTE API (RAPI)

  • Desktop system considerations
  • Startup and Shutdown
  • Supported Services

BUILDING WEB SERVICE CLIENTS

  • A simple web service server
  • Client Fundamentals
  • Performance considerations

WIRELESS CONNECTIVITY

  • Establishing Connections
  • Monitoring status
  • Shutdown and Cleanup

COMPACT FRAMEWORK GRAPHICS

  • Raster graphics
  • Vector graphics

TEXT AND FONTS

  • Font enumeration
  • Creating and managing fonts

PRINTING

  • The Printing Pipeline
  • Some printing alternatives
CONTACT US LOGISTICS REQUEST MORE INFORMATION