Demo for azure service bus & masstransit
Sending/Receiving messages From/To
- Queues
- Topics
- Subscriptions
Solution structure :
App
: console application net core 3.1Lib
: class library net std 2.0
Demo will start 2 hosted services :
BusHostedService
: responsible of starting/stopping busFakeSenderHostedService
: responsible of publishing messages to bus
Bus is created & configured with MassTransitBootstrapper
helper class
Tools
: vs19, net core 3.1, masstransit 6, nlog 4.6