developing pos applications with pos for net n.
Skip this Video
Download Presentation
Developing POS Applications with POS for .NET

Loading in 2 Seconds...

play fullscreen
1 / 27

Developing POS Applications with POS for .NET - PowerPoint PPT Presentation

  • Uploaded on

Developing POS Applications with POS for .NET. Frank Prengel Embedded Developer Evangelist Microsoft Germany. What you will learn. What is WEPOS? WEPOS vs. XP Embedded What is POS for .NET? Using POS for .NET Managing POS Devices. What is WEPOS?. What is WEPOS?.

I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
Download Presentation

PowerPoint Slideshow about 'Developing POS Applications with POS for .NET' - dara

Download Now An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
developing pos applications with pos for net

Developing POS Applicationswith POS for .NET

Frank Prengel

Embedded Developer Evangelist

Microsoft Germany

what you will learn
What you will learn

What is WEPOS?

WEPOS vs. XP Embedded

What is POS for .NET?

Using POS for .NET

Managing POS Devices

what is wepos1
What is WEPOS?
  • Windows Embedded for Point of Service
  • XP Embedded leads to different vendors producing different devices and custom images
    • Great flexibility for embedded systems
    • POS configuration challenges
  • WEPOS offers a standard platform for the retail industry and more…
    • UPOS/OPOS Support – Allows ISVs to write one application for hardware
    • Offers access to upcoming technologies such as RFID and Biometric scanners
    • Provides integration to Enterprise solutions
    • Legacy support provides the best in Total Cost of Ownership (TCO)
what is wepos2
What is WEPOS?
  • Microsoft’s recommended OS for full-featured Point of Service terminals
    • Point of Sale, Kiosks, Self-Checkout/Checkin, Fuel Pumps, Automated Teller Machines, Security Terminals, etc.
  • First in a series of Microsoft retail-focused investments that will continue through Windows Vista
    • Two parts: WEPOS and POS for .NET
wepos features 1 2
WEPOS Features 1/2
  • Standard, retail-optimised OS platform for Point of Service devices
    • Only POS platform to provide Plug-n-Play support for retail peripherals
    • Based on Windows XP with Service Pack 2
    • Provides an Windows XP Pro-like setup
    • Reduced OS footprint
  • Extend PC management to POS
    • Support for standard PC management technologies (SMS, SUS)
wepos features 2 2
WEPOS Features 2/2
  • Broad application support
    • WEPOS retail application verification
    • Standard SDK with consistent APIs
    • Comprehensive programming language & technology support: .NET 1.1 & 2.0, Win32, COM, Java, …
  • UPOS support:
    • POS for .NET 1.0 (UPOS v1.8)
    • POS for .NET 1.1 (UPOS v1.9) - New!
    • UPOS/OPOS -
wepos vs xp embedded1
WEPOS vs. XP Embedded



XPe Setup


Component Designer





Raw Image


Transfer To target


Install: Updates,


Apps, Etc.

Final Image

Final Image

  • Custom themes, logon screens, splash screens
  • Changes through standard Window applets and tools, or custom VBscripts
    • Custom Shells – registry keys
    • Customer Security
    • Logon / Splash screens
what is pos for net
What is POS for .NET?
  • SDK to develop POS Applications and service objects in .NET
    • Run time for WEPOS and Windows XP Professional
    • Supports .NET Framework 1.1 & 2.0
    • POS for .NET 1.1 supports UPOS v1.9
  • Abstract POS hardware from the software
  • Standardise on a logic device name
  • Change a device without having to recode the application
  • Plug & Play is at the heart of POS for .NET
pos for net
POS for .NET
  • SDK install from WEPOS CD, or web download
  • Includes support to develop and test applications on XP Pro SP2 or WEPOS
    • Not supported on XP Embedded
  • Documentation for .NET Classes and Management tools
  • Sample code for service objects and applications
  • POS Device Management command line tools – remote or local management
pos for net architecture vs opos






OPOS Driver

Control Object

Service Object

Service Object

Device Driver

POS Device

POS Device

POS for .NET


POS for .NET Architecture (vs. OPOS)
pos for net vs upos
POS for .NET vs. UPOS
  • PosExplorer replaces Control Objects
    • Eliminates CO/SO mismatches
    • PnP - DeviceAdded/Removed events
    • Device discovery and instantiation
    • Integrated with management
      • Logical device names, default devices, enable/disable devices
  • Small deviations from UPOS to adhere to the .NET design guidelines
    • Enums replace constants
    • Typed arrays replace delimited strings
    • No in/out parameters
writing a service object
Writing a Service Object
  • Typically written by device manufacturers and shipped with the device
  • May be installed by INF or stand alone installer (drag-and-drop)
  • Derive from either Interface, Basic, or Base class


Scanner Service Object

Device Driver

Scanner Device

pos for net supported devices
POS for .NET Supported Devices
















* New for POS for .NET 1.1

CoinDispenser *








writing a service object1
Writing a Service Object
  • Interface classes
    • Abstract classes for each of the 24 UPOS defined device categories (Msr, Scanner, etc.)
    • Implemented as classes instead of interfaces so we can rev them to match UPOS without breaking clients
  • Basic classes
    • Implemented for all 24 device categories
    • Derive from interface classes
    • UPOS common functionality fully implemented
    • Integrated device statistics support
    • CommonProperties class allows full access to internal properties
base classes
Base Classes
  • Available for:
    • CashDrawer, CheckScanner, LineDisplay, Msr, PinPad, PosKeyboard, PosPrinter, Scanner
  • Derive from basic classes
  • Implement device specific functionality
  • Easiest way to implement a service object
  • <DeviceClass>Properties class allows full access to internal properties
service object attributes
Service Object Attributes
  • *PosAssembly – Assembly contains SO(s)
  • *ServiceObject – Class implements SO
  • HardwareID – Maps SO to hardware
    • Can also use Control Configuration XML file

* Required attribute

[assembly:PosAssembly("Manufacturer Name")]

[ServiceObject("Scanner", "MyScanner", "Description", 1, 9)]


sos config locations
SOs & Config: Locations
  • Put your Service Object DLLs in"%ProgramFiles%\Common Files\Microsoft Shared\Point Of Service\Control Assemblies"
  • Put your config files in"%ProgramFiles%\Common Files\Microsoft Shared\Point Of Service\Control Configurations"
  • Configurable in the registry:[HKLM/Software/Pos for .NET]
device management
Device Management
  • WMI Classes (root\MicrosoftPointOfService)
    • ServiceObject – Information about installed SO’s
    • POSDevice – Information about installed devices
    • LogicalDevice – Alias for POSDevice
    • DeviceProperty – name/value pair set on POSDevice
  • Posdm.exe command-line tool
    • Exposes WMI via command line
  • MMC snap-in coming in next release
  • All tools support remote management
what you have learned
What you have learned
  • WEPOS provides a common platform for Point of Service applications
  • Simpler to install and support than XPe, but requires some post install manual setup
  • POS for .NET 1.1 makes it easy to develop UPOS compliant applications using .NET

Windows Embedded for Point of Service homepage:

VB.NET example code for app’s and SO’s:

  • Product Catalog:
  • News group support: (

POS for .NET 1.1 SDK download:



© 2006 Microsoft Corporation. All rights reserved.

This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.