Microsoft announces the general availability of Event Hubs .NET Standard client

Microsoft last week announced the general availability of Event Hubs clients. With these new libraries, you can now write a single code base that is portable across different .NET runtimes, including .NET Core, .NET framework, and the Universal Windows Platform. You can also take this library and run it on Windows Server with .NET Framework 4.6, or on a Mac/Linux machine using .NET Core.

Microsoft released the following new NuGet packages:

  1. Microsoft.Azure.EventHubs – This library comprises the Event Hubs specific functionality that is currently found in the WindowsAzure.ServiceBus library. In here you will be able to do things like send and receive events from an Event Hub.
  2. Microsoft.Azure.EventHubs.Processor – Replaces functionality of the Microsoft.Azure.ServiceBus.EventProcessorHost library. This is the easiest way to receive events from an Event Hub, and keeps you from having to remember things such as offsets and partition information between receivers.

Read more about it here.