Dela via


Azure Event Grid libraries for .NET

Build event-driven applications that listen and react to events from Azure services and custom sources using simple HTTP-based event handling with Azure Event Grid.

Learn more about Azure Event Grid and get started with the Azure Blob storage event tutorial.

Client SDK

Create events, authenticate, and post to topics using the Azure Event Grid client SDK.

Install the NuGet package directly from the Visual Studio Package Manager console or with the .NET Core CLI.

Visual Studio Package Manager

Install-Package Azure.Messaging.EventGrid

.NET Core CLI

dotnet add package Azure.Messaging.EventGrid

For an overview of the latest client SDK, samples, see the Azure Event Grid client library for .NET page. This page also has a link to the migration guide that helps you migrate applications that use the old .NET library (Microsoft.Azure.EventGrid) to use the latest one (Azure.Messaging.EventGrid).

Under the Client section of the table of contents, you will also see documentation for the old Microsoft.Azure.EventGrid library.

Management SDK

Create, update, or delete Event Grid instances, topics, and subscriptions with the management SDK.

Install the NuGet package directly from the Visual Studio Package Manager console or with the .NET Core CLI.

Visual Studio Package Manager

Install-Package Microsoft.Azure.Management.EventGrid

.NET Core CLI

dotnet add package Microsoft.Azure.Management.EventGrid

Learn more