Dev & Engineering ✓ Microsoft · Official azure-event-griddotnetcloud-eventsevent-driven-architecturepub-sub-messagingazure-functionsevent-processing

Azure Event Grid for .NET

Practical .NET guidance for publishing, receiving, and processing Azure Event Grid events.

FollowSkills review · FSRS-2.0
Not recommended
53/ 100 5-point scale 2.7 / 5
Trust16 / 25 · 3.2/5

The document covers API key, SAS, and Entra ID authentication and recommends managed identity in production, providing basic credential and data-flow transparency. However, it still presents keys and SAS prominently, lacks explicit user confirmation, least-privilege guidance, sensitive-data handling, duplicate-send warnings, and rollback details for publishing and failover, so points are deducted.

Reliability8 / 20 · 2.0/5

The skill presents coherent paths for publishing, pull delivery, parsing, triggers, and common HTTP error handling. It lacks skill-specific reproducible tests, does not verify its package/API assumptions within the file, mixes Azure Functions programming models, and gives limited abnormal-input and idempotency guidance; therefore the static score remains below the 10-point ceiling.

Adaptability10 / 15 · 3.3/5

Triggers and target scenarios are reasonably clear, covering topics, domains, namespaces, CloudEvents, and EventGridEvents. Non-fit boundaries, input/output contracts, and environment prerequisites are not explicit, and there is no evidence of Chinese-language support or mainland-China network reachability; Azure service availability may therefore constrain use, warranting deductions.

Convention9 / 15 · 3.0/5

The document is well structured with installation, authentication, examples, type references, best practices, error handling, related SDKs, and references. It includes MIT, author, and version metadata, while repository-level license, security, and CI signals add governance context. Skill-level changelog, named maintenance responsibility, update path, FAQ, and known limitations are missing, so points are deducted.

Effectiveness6 / 15 · 2.0/5

It covers common Event Grid publishing, consumption, parsing, and function-trigger tasks with directly reusable snippets. Static review cannot establish compilation or runtime correctness; infrastructure setup, RBAC, retries, and deployment prerequisites remain for the user to supply, and some examples may require substantial review, so the score is conservatively capped and reduced.

Verifiability4 / 10 · 2.0/5

The skill includes NuGet, API, Quickstart, pull-delivery, and GitHub source references, and the repository supplies general testing and evaluation workflows. There is no skill-path-specific committed test evidence, execution output, or corroborating validation, so the conclusion relies mainly on documentation and remains below the static ceiling.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a
Before you use it
  • Publishing, acknowledging, rejecting, and failover create external Azure effects; confirm targets, permissions, duplicate-delivery behavior, and recovery strategy before use.
  • Do not place the example access keys or SAS tokens in source code; verify RBAC, credential sourcing, package versions, and API compatibility.
  • No mainland-China reachability or Chinese-language guidance is provided; validate service and documentation access separately before deployment.
See the full review method →

What it does & when to use it

This skill helps .NET developers build event-driven applications with the Azure Event Grid SDK. It covers push delivery for topics and domains and pull delivery for namespaces. The guidance includes EventGridEvent and CloudEvent schemas, API key, Microsoft Entra, and SAS authentication. It also includes Azure Functions triggers, event parsing, system events, batching, failure handling, and failover examples.

It shows how to install the relevant NuGet packages, configure topic, domain, or namespace endpoints and credentials, and create EventGridPublisherClient, EventGridSenderClient, and EventGridReceiverClient instances. It demonstrates sending individual and batched events, routing events through domain topics, receiving and acknowledging or releasing events, rejecting dead-letter events, parsing JSON payloads, handling system events, and consuming EventGridEvent or CloudEvent values in Azure Functions.

  1. A .NET developer publishing order, inventory, or other business events to an Azure Event Grid topic or domain.
  2. A team connecting Azure Event Grid with other platforms through the CloudEvents format.
  3. A developer using namespace pull delivery to receive events and acknowledge, retry, or reject them based on processing results.
  4. An Azure Functions developer processing native Event Grid events or CloudEvents with Event Grid triggers.
  5. A team configuring Entra ID, access-key, or SAS authentication while handling authorization errors, oversized payloads, and regional failover.

Pros & cons

Pros
  • Covers both push and pull delivery across topics, domains, and namespaces.
  • Provides concrete C# examples for both EventGridEvent and CloudEvent.
  • Includes multiple authentication methods, Azure Functions consumption, system-event parsing, and error handling.
  • Addresses batching, idempotent handlers, dead lettering, and failover patterns.
Limitations
  • The repository README identifies the collection as work in progress, so skills and tests may change.
  • The source does not provide a dedicated test result for this individual skill.
  • Running the examples requires Azure Event Grid resources, endpoints, and suitable credentials; the skill does not create them.
  • The skill provides implementation guidance but does not document a complete project template or deployment workflow.

How to install

Install the collection with npx skills add microsoft/skills, then select the required skill in the wizard. This skill is located at .github/plugins/azure-sdk-dotnet/skills/azure-eventgrid-dotnet/SKILL.md. For a .NET project, install the packages supported by the source: dotnet add package Azure.Messaging.EventGrid; add dotnet add package Azure.Messaging.EventGrid.Namespaces for namespace pull delivery; and add dotnet add package Microsoft.Azure.Messaging.EventGrid.CloudNativeCloudEvents for CloudNative CloudEvents interoperability.

How to use

Invoke this skill when the task mentions “Event Grid,” “EventGridPublisherClient,” “CloudEvent,” “EventGridEvent,” “publish events .NET,” “event-driven,” or “pub/sub.” Then select the appropriate publisher, sender, or receiver client, configure the matching endpoint and credential, and apply the provided C# patterns for sending, receiving, acknowledging, releasing, rejecting, or parsing events.

Compared to similar skills

EventGridEvent is an Azure-specific schema, while CloudEvent follows the CNCF standard and offers stronger cross-platform interoperability. Topics and domains use push delivery through EventGridPublisherClient; namespaces use pull delivery through EventGridSenderClient and EventGridReceiverClient.

FAQ

Does this skill create Azure Event Grid resources automatically?
No. It provides client configuration and code patterns, but the source does not describe resource provisioning or infrastructure deployment.
Should a new project use EventGridEvent or CloudEvent?
The skill recommends CloudEvents for new implementations because it is an industry standard with cross-platform interoperability.
What can I do when event processing fails?
Namespace pull delivery supports acknowledging successfully processed events, releasing events for retry, and rejecting events that cannot be processed into a dead-letter flow.
What permissions are required?
You need credentials authorized for the relevant Event Grid endpoint, such as an access key, SAS credential, or Microsoft Entra credential. Entra authentication also requires appropriate RBAC permissions.

More skills from this repository

All from microsoft/agent-skills

Dev & Engineering ✓ Microsoft · Official

Azure Identity for Python

A practical skill for securing Python Azure applications with Microsoft Entra ID credentials.

Dev & Engineering ✓ Microsoft · Official

Azure Event Hubs Java Skill

Build production-oriented Java event streaming applications on Azure Event Hubs.

Dev & Engineering ✓ Microsoft · Official

Azure Tables for Python

A practical guide to building authenticated Azure Tables applications with Python entity CRUD, queries, and partition-scoped batch operations.

Dev & Engineering ✓ Microsoft · Official

Azure Identity for TypeScript

Configure secure, flexible Microsoft Entra ID authentication for TypeScript Azure applications.

Automation & Ops ✓ Microsoft · Official

Azure Reliability Advisor

Assess and improve reliability for Azure Functions and App Service.

Dev & Engineering ✓ Microsoft · Official

Azure Cloud Architect

Guides coding agents through production-grade Azure architecture design and review using Azure Architecture Center practices.

Dev & Engineering ✓ Microsoft · Official

Azure AI Text Analytics for Python

Guides Python developers through Azure-powered text analysis and NLP workflows.

Automation & Ops ✓ Microsoft · Official

Azure Resource Architecture Visualizer

Analyze Azure resource groups and turn their dependencies into detailed Mermaid architecture diagrams.

Dev & Engineering ✓ Microsoft · Official

Azure Maps for .NET

Build .NET location features for search, routing, maps, geolocation, and weather.

Dev & Engineering ✓ Microsoft · Official

Azure AI Vision Image Analysis

Guides Python coding agents in implementing Azure AI Vision image understanding.

Dev & Engineering ✓ Microsoft · Official

Azure Blob Storage for Python

Guides secure, production-minded Blob Storage operations in Python.

Dev & Engineering ✓ Microsoft · Official

Azure Queue Storage for Python

Gives coding agents reliable Python patterns for secure Azure Queue Storage messaging and asynchronous task processing.

Automation & Ops ✓ Microsoft · Official

Azure AI Gateway Governance

Use Azure API Management to govern traffic across AI models, MCP tools, and agents.

Automation & Ops ✓ Microsoft · Official

AKS Automatic Readiness

Assess Kubernetes workloads for AKS Automatic compatibility and identify migration blockers before you switch.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB ARM for .NET

Provision and manage Azure Cosmos DB resources from .NET through ARM.

Dev & Engineering ✓ Microsoft · Official

Azure Playwright Workspace Manager

Provision and manage Microsoft Playwright Testing workspaces with .NET and Azure Resource Manager.

Dev & Engineering ✓ Microsoft · Official

Azure Cosmos DB for Python

A practical guide for building reliable Python applications on Azure Cosmos DB’s NoSQL API.

Dev & Engineering ✓ Microsoft · Official

Azure Key Vault SDK for Python

Gives Python coding agents practical guidance for securely managing Azure Key Vault secrets, keys, and certificates.

Dev & Engineering ✓ Microsoft · Official

Azure API Management for Python

Gives coding agents practical Python SDK patterns for managing Azure API Management services, APIs, products, subscriptions, and policies.

Dev & Engineering ✓ Microsoft · Official

Azure Monitor Query for Python

Generate Python code for querying Azure Monitor logs and metrics.

Related skills