/PlayingWithGenericHost

Try out the GenericHost / WorkerService and running as a Windows Service.

Primary LanguageC#

Playing with GenericHost

This console application demonstrates the use of GenericHost as known WorkerService.

You can find a few examples of running background jobs in different ways.

What is the HostBulder?

Run this application as a Windows Service

  1. Publish the application with the predefined PublishAsWinService.pubxml (c:\svc)
  2. Run the WinServiceCommands.bat file (create, start, stop, delete functions)

Examples

Resources