Template includes:
- RabbitMQ package - Byndyusoft.Messaging.RabbitMq.
- Package for masking sensitive data in logs and traces - Byndyusoft.MaskedSerialization.
- Health checks using method /healthz.
- OpenTelemetry Tracing and Metrics.
Projects:
-
src
- RabbitMqConsumerTemplate - Consumer that handles incoming messages
- Contracts - Consumer integration contracts
-
tests
- UnitTests - Unit Tests
- IntegrationTests - Consumer Integration Tests
dotnet new --install Byndyusoft.Net.RabbitMqConsumerTemplate
Template with bsrabbitconsumer name should appear in your project list
dotnet new bsrabbitconsumer -o <DIRECTORY_NAME>
Note: Service name will match to the directory name. Here you can see full list of available options.