Step by step: .NET Core, Azure Service Bus and AMQP

Today I’ll show you how to create a small console application with a Step by step: .NET Core, Azure Service Bus and AMQP example.

First be aware of the following prerequisites:

OS Prerequisites
Windows Windows: You must have .NET Core SDK for Windows or both Visual Studio 2015 Update 3* and .NET Core 1.0 for Visual Studio installed.
linux, mac or docker checkout .NET Core

You will also need an Azure Service Bus namespace, topic and subscription with the correct set of credentials. (Start here: How to use Service Bus topics and subscriptions if you don’t know how to configure the Service Bus)

Now let’s start:

1. Create a folder for your new project
2. Create the project
3. Create a settings file
4. Modify the project file
5. Restore packages
6. Modify Program.cs
8. Build
9. Run

You can get the code here: https://github.com/cmendible/dotnetcore.samples/tree/master/azureservicebus.amqp.console

Hope it helps!

1 thought on “Step by step: .NET Core, Azure Service Bus and AMQP

Leave a Reply