This sample shows interacting with Service Bus topiscs using the MessageReceiver and MessageSender classes.
Refer to the main README document for setup instructions.
The sample is documented inline in the Program.cs C# file.
To keep things reasonably simple, the sample program keeps message sender and message receiver code within a single hosting application, even though these roles are often spread across applications, services, or at least across independently deployed and run tiers of applications or services. For clarity, the send and receive activities are kept as separate as if they were different apps and share no API object instances.