You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 19, 2018. It is now read-only.
Is it possible to make the Webhost, a HostedService, maybe by removing the HostedServiceExecutor (from its internals), or providing another easy to use mechanism setup and host Http/WebApi/Mvc.
So I can create a IHost, and choose to host WebApi/Mvc as a background service.
the reasoning for this is if we consider the WebApi is an Adaptor (as in Ports/Adaptors) this would be one of possibly others (typically I would also have AMQP consumers for a bus, using something like EasyNetQ or MassTransit) all (consistantly) hosted via IHostedService.