This package includes two classes that include boilerplate code for implementing standalone or Docker container or Kubernetes based service applications as well as supporting testing your service using the Xunit framework.
Prometheus service and .NET Runtime metrics
Service and network dependencies
Handles Linux and OS/X termination signals
Default exception logging
See the NeonService documentation for more details and examples.
ServiceDependencies can be used to define external network endpoints that need to be ready for the service to start.
MetricsOptions can be used to control whether the service exports Prometheus metrics.
ProcessTerminator is the lower-level class that receives and handles Linux and OS/X termination signals.