Azure-Samples / event-grid-dotnet-publish-consume-events

.NET Samples that show how you can use Event Grid to publish and consume events, and how to manage topics and event subscriptions.
MIT License
39 stars 33 forks source link

page_type: sample languages:

DISCLAIMER: The data plane samples in this repo are for Microsoft.Azure.EventGrid v3 (3.x). For the samples for Azure.Messaging.EventGrid v4 (4.x and above) please visit here. This repo is archived since v4 has become stable. For management plane samples, please visit here.

DISCLAIMER: If you are looking to migrate from Microsoft.Azure.EventGrid v3(3.x) to Azure.Messaging.EventGrid v4(4.x), we suggest getting started at the migration guide.

Microsoft Azure Event Grid Publish/Consume Samples for C

This contains C# samples for publishing events to Azure Event Grid and consuming events from Azure Event Grid. It also contains a set of management samples that demonstrates how to manage topics and event subscriptions.

Features

These samples demonstrates the following features:

Data Plane:

The above two samples use the Event Grid data plane SDK (Microsoft.Azure.EventGrid).

Management Plane:

The above three samples use the Event Grid management plane SDK (Microsoft.Azure.Management.EventGrid).

Getting Started

Prerequisites

Installation

  1. Verify you received the events: In this step, we will be verifying that the events are delivered to your event subscription. Here are the steps:

    a. In the Logs view of the Azure Function, verify that you can see the logs that show the receipt of the EventGridEvent.

Resources

(Any additional resources or related projects)