Send and receive messages with Azure Event Hubs using .NET Part 2 – Create the .NET Core console project for sending

Launch Visual Studio 2019 and create a C# .Net Core console app.

Now this first app will be the sender app so note the project and of the solution.

Open the Nuget Package console and add the nuget package as such.

Install-Package Azure.Messaging.EventHubs

There we go! Now in the next post we’ll write the code and watch our Event Hub update in the portal!

Send and receive messages with Azure Event Hubs using .NET Part 1 – Create an Event Hub

Let’s write some code and work with Azure Event Hubs. You can check out more about it here and here to view all the pre-requisites.

First jump over to the portal to create an Event Hub namespace.

Next go to the Event Hub namespace and create an event hub.

There you go! Next time we’ll download and add the event hub packages in visual studio.