Skip to content
Mike Schenk edited this page May 5, 2016 · 6 revisions

Easy Service Host is a library that makes it easy to develop, install, and run your .NET executable as a windows service. It also makes debugging easy by allowing you to run the same executable as a normal command-line program whether attached to your debugger or not.

Uses

  • Self-hosted OWIN servers
  • WCF services
  • Message queue message handlers
  • Periodic or batch processing servers
  • Anything else that needs to run continuously on a server.

Features

  • Dependency-Free
  • Run the same executable as a regular console application for development and debugging or as a windows service installed on a server
  • Press Ctrl+C to "stop" the service when running in the console
  • Your process can accept any command-line parameters it needs
  • Install multiple instances of the same service with different command-line parameters from a single directory to support multi-tenant or other scenarios.
  • Perform custom installation and uninstallation steps.
  • Automatically elevate when attempting to install or uninstall as a standard user.

Clone this wiki locally