MassTransit / Sample-ConsoleService

A sample .NET Core 2.2 Console Service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sample MassTransit .NET Core Service

In this sample, a .NET core service is created (using .NET Core 3.1) which supports logging, configuration, and dependency injection, along with a basic MassTransit configuration to connect to RabbitMQ.

In the past, this would have been accomplished using Topshelf, however, at this point Topshelf is really specific to Windows and isn't needed with .NET Core to create Linux/Mac services.

Building

To build the sample, just go into the folder and type dotnet run. It will attempt to connect to the broker based upon the configuration in the appsettings.json file.

About

A sample .NET Core 2.2 Console Service

License:Apache License 2.0


Languages

Language:C# 100.0%