azure-eventgrid-dotnet

Publish and consume Azure Event Grid events from .NET applications.

2.9k|323|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/microsoft/skills --skill azure-eventgrid-dotnet-microsoft
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: azure-eventgrid-dotnet
Source: https://github.com/microsoft/skills/tree/main/.github/plugins/azure-sdk-dotnet/skills/azure-eventgrid-dotnet
Command: npx skills add https://github.com/microsoft/skills --skill azure-eventgrid-dotnet-microsoft

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Azure Event Grid integration for .NET developers is made simple by providing a native client library to publish and consume events across topics, domains, and namespaces.

Core Features & Use Cases

  • Client library for publishing events to Event Grid topics and domains (push delivery) and for consuming events from namespaces (pull delivery).
  • Supports both EventGridEvent and CloudEvent schemas, with options for API key authentication, Azure Identity, and SAS tokens.
  • Real-world scenarios include building event-driven microservices, integrating Azure services, and enabling serverless workflows with reliable event delivery.

Quick Start

Install the Azure.Messaging.EventGrid package and start publishing events using EventGridPublisherClient.

Frequently Asked Questions about azure-eventgrid-dotnet

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I publish events to Azure Event Grid from a .NET application?

To publish Azure Event Grid events from .NET, use the EventGridPublisherClient to send events to topics or domains. Install the Azure.Messaging.EventGrid package and authenticate using API keys, Azure Identity, or SAS tokens.

What is the difference between push and pull delivery in Azure Event Grid for .NET?

Push delivery in Azure Event Grid sends events to endpoints via EventGridPublisherClient, while pull delivery allows receivers to consume events from namespaces on demand using EventGridReceiverClient, supporting flexible event-driven architectures.

Can I use CloudEvent schemas with Azure Event Grid in C#?

Yes, the .NET Azure Event Grid client supports both EventGridEvent and CloudEvent schemas. You can publish and consume events using either format across topics, domains, and namespaces within your cloud applications.

What authentication methods does the Azure Event Grid .NET client support?

The Azure Event Grid .NET client supports three authentication methods: API key authentication, Azure Identity, and Shared Access Signature (SAS) tokens. These options secure event publishing and consuming across topics and namespaces.

How do I consume events from Azure Event Grid namespaces in .NET?

To consume events from Azure Event Grid namespaces in .NET, use the EventGridReceiverClient for pull delivery. This client enables receivers to fetch events on demand, supporting reliable event-driven microservices and serverless workflows.

Is Azure Event Grid suitable for event-driven microservices in .NET?

Yes, Azure Event Grid is designed for event-driven microservices in .NET. It provides reliable event delivery across topics and domains, supporting both push and pull delivery models for integrating Azure services and serverless workflows.