To deploy your service to an embedded device, you need to create a UWP app based on the Waher.IoTGateway.App template. You add a reference to your service project. You're then ready to run the UWP app. The app will automatically find your service module, as the Console and Service encapsulations did. You can both execute it locally, for testing purposes, and remotely, on an embedded device.