Share via


SimpleService Sample

This sample demonstrates the following:

  • Exposing and consuming Web services for devices, by using a Device Profiles for Web Services (DPWS) client and server.
  • Discovery.
  • One-way and two-way messaging.
  • Attachments (MTOM).
  • Eventing.
  • Reading and writing objects between the client and server.
  • Data serialization.
  • How to discover hosted service endpoints.

The SimpleService sample works in conjunction with the SimpleServiceClient sample. The SimpleService and SimpleServiceClient samples were created using MFSvcUtil, which is a code generation tool for .NET Micro Framework.

For information about running and exploring this sample, see the Readme.txt file in the directory under:

Documents\Microsoft .NET Micro Framework 4.1\Samples\