Skip to content
This repository has been archived by the owner on May 21, 2022. It is now read-only.
/ dual-host Public archive

Console application that's running an implementation of IHostedService together with a web server that's exposing a /health endpoint

License

Notifications You must be signed in to change notification settings

MirzaMerdovic/dual-host

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dual-host

An example of an Console Application that start an instance of IHostedService together with a web server.

There are two examples:

  1. Using Nancy SelfHost as a web server
  2. Using Kestrel

both implementation expose one single route: /health

Note: Nancy can also be used using Kestrel, but than we need to introduce Owin pipelines, which was something that I wanted to avoid since AspNet Core already offers us a pipeline that works great with Kestrel

About

Console application that's running an implementation of IHostedService together with a web server that's exposing a /health endpoint

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages