Back to Azure Sdk For

Azure Event Grid libraries for .NET

sdk/eventgrid/README.md

2019-05-16T16-523.0 KB
Original Source

Azure Event Grid libraries for .NET

Azure Event Grid allows you to build applications with event-based architectures. The Event Grid service fully manages all routing of events from any source, to any destination, for any application. Azure service events and custom events can be published directly to the service, where the events can then be filtered and sent to various recipients, such as built-in handlers or custom webhooks. To learn more about Azure Event Grid: What is Event Grid?

Libraries for data access

The current generation of the Azure Event Grid client library uses the package name Azure.Messaging.EventGrid. Microsoft recommends using Azure.Messaging.EventGrid for new applications. If you are unable to upgrade existing applications, then Microsoft recommends using version 3.2 or higher of the previous package, Microsoft.Azure.EventGrid.

Azure.Messaging.EventGrid

This package is the current generation client library and is of the Azure SDK for .NET. The source code is available on GitHub.

Use the following packages to publish and consume events from Event Grid:

Nuget PackageReferenceSamples
Azure.Messaging.EventGridAPI Reference for Azure.Messaging.EventGridSamples for Azure.Messaging.EventGrid

Microsoft.Azure.EventGrid

Use the following legacy packages to publish and consume events from Event Grid:

Nuget PackageReferenceSamples
Microsoft.Azure.EventGridAPI Reference for Microsoft.Azure.EventGridSamples for Azure.Messaging.EventGrid

Libraries for resource management

Use the following library to work with the Azure Event Grid resource provider:

Nuget PackageReference
Azure.ResourceManager.EventGridAPI Reference for Azure.ResourceManager.EventGrid