Quorum Windows service build
Tony Beveridge edited this page Dec 10, 2015
·
3 revisions
It is recommended that you use Visual Studio 2015 and therefore will need to install this extension:
https://visualstudiogallery.msdn.microsoft.com/f1cc3f3e-c300-40a7-8797-c509fb8933b9
There are two app.config appSettings that must be set correctly before building:
<add key="quorum.environment" value="my-machine" />
<add key="quorum.workerTypeAssembly" value="WorkerAdapterExample" />
They are:
- quorum.environment - a comma separated list of machine names in the quorum.
- quorum.workerTypeAssembly - the assembly that has the work implementation contained within it. The project WorkerAdapterExample in the solution contains an empty implementation that can be modified to suit
See here for a full configuration reference.
Once installed:
- Open the Quorum solution
- Find the project QuorumWindowsService
- Right click for the VS menu, and build
This will have created an installer that installs the service, and has an empty worker associated with it. The next step describes implementing a useful worker.
The Quorum Windows service project is excluded from the build by default, but you can easily include it by changing options under Build/Configuration Manager.
Build and base set up
Windows Service
Security considerations
Guides