Masstransit: Running host as Windows Service .Net Core 2.0

Created on 20 Jan 2018  路  1Comment  路  Source: MassTransit/MassTransit

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?

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...

>All comments

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...

Was this page helpful?
0 / 5 - 0 ratings