You recommend using Topshelf for running endpoints as a Window Service which is fine but this is not supported in .Net Core 2 by the looks of things. What is recommended in this scenario?
Service support for .NET Core is still pretty lame. There are nasty libraries that fill in the "gaps" but I don't see the point in using all those hooks versus just targeting .NET 4.5.2 instead of .NET core. The only reason to use .NET Core IMHO is non-windows systems and ASP.NET Core 2, and it has support for IHostedService, which you can use to start and stop your bus instance. So...
Most helpful comment
Service support for .NET Core is still pretty lame. There are nasty libraries that fill in the "gaps" but I don't see the point in using all those hooks versus just targeting .NET 4.5.2 instead of .NET core. The only reason to use .NET Core IMHO is non-windows systems and ASP.NET Core 2, and it has support for IHostedService, which you can use to start and stop your bus instance. So...