Dev & Engineering ✓ Microsoft · Official azure-event-hubsdotnetevent-streamingcheckpointingpartition-managementazure-identity

Azure Event Hubs for .NET

A practical .NET guide to high-throughput Azure Event Hubs production, consumption, partitioning, and checkpointing.

FollowSkills review · FSRS-2.0
Use with care
47/ 100 5-point scale 2.4 / 5
1 2 3 4 5 6
1Trust14 / 25 · 2.8/5

The skill documents Entra ID, connection-string alternatives, RBAC roles, and client reuse, but it does not clearly address least-privilege configuration beyond role names, secret protection, event-content logging risks, user confirmation, external-effect boundaries, or rollback. No red-line risk is visible, so the score is reduced.

2Reliability5 / 20 · 1.3/5

It covers the main sending, buffered sending, processor receiving, partition, error-handling, and checkpointing paths, but static evidence cannot establish that they run. The batch example reassigns a variable declared with a using declaration, which may be a C# compilation problem; the DefaultAzureCredential construction is also questionable, and cancellation, retry, and concurrent checkpoint handling are thin. The score is therefore limited.

3Adaptability10 / 15 · 3.3/5

Trigger terms, SDK scope, sending and receiving scenarios, and the production processor recommendation are reasonably clear. However, non-fit boundaries, input/output constraints, compatibility limits, and Chinese-language guidance are incomplete. The core function depends on Azure services, with no mainland-China reachability, region, or service-availability guidance, so points are deducted.

4Convention9 / 15 · 3.0/5

The document provides a name, description, MIT license, version metadata, installation commands, environment variables, structured sections, examples, best practices, and related SDKs. It lacks a changelog, explicit maintenance ownership and update path, troubleshooting FAQs, dependency governance, and a known-limitations section, so full marks are not justified.

5Effectiveness5 / 15 · 1.7/5

The material can serve as a practical reference for common Event Hubs .NET patterns and production receiving. Potential compilation or configuration issues, plus the absence of a verifiable complete project, tests, idempotency guidance, rebalancing details, dead-letter handling, and production operations coverage, mean users still need substantial review and correction.

6Verifiability4 / 10 · 2.0/5

Repository context shows CI, evaluation workflows, and test harness code, providing some audit signals. However, the supplied material does not show path-specific tests, evaluation results, or third-party execution evidence for this skill. Key code correctness therefore cannot be independently reproduced from static reading, limiting the score to 5 or below.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 9ccaf7c3704a
Before you use it
  • Compile-check the batching example before adoption, especially whether reassignment of a variable declared with a using declaration is legal, and verify the actual DefaultAzureCredential constructor and AZURE_TOKEN_CREDENTIALS behavior.
  • Do not commit or log connection strings; EventBody may contain sensitive data, so the sample console output should be reviewed against production data-classification and logging policies.
  • Add guidance for cancellation, guaranteed processor shutdown, transient-error backoff, concurrent checkpointing, duplicate delivery, and mainland-China region and network reachability.
See the full review method →

What does this skill do, and when should you use it?

This skill supports .NET developers building high-throughput streaming workflows with Azure.Messaging.EventHubs. It covers immediate batch producers, buffered background producers, and production consumption with EventProcessorClient and Blob Storage checkpoints. It also documents Entra ID authentication, connection-string alternatives, RBAC roles, event positions, partition keys, error handling, and ASP.NET Core integration. It is a strong fit for Azure Event Hubs applications, provided the project can supply the required Azure resources, credentials, packages, and permissions.

Provides installation commands for the Event Hubs, processor, Azure Identity, and Blob Storage NuGet packages; reads namespace, hub name, authentication, and checkpoint settings from environment variables; demonstrates EventHubProducerClient for size-aware batch sending; demonstrates EventHubBufferedProducerClient for automatic background batching and send callbacks; configures EventProcessorClient to consume by partition, handle processing errors, and update Blob Storage checkpoints; shows partition IDs, partition keys, EventPosition values, ASP.NET Core client registration, and EventHubsException handling.

  1. A .NET backend that must send events to Azure Event Hubs in controlled batches.
  2. A high-volume producer that benefits from automatic background batching and failure callbacks.
  3. A production consumer that needs partition-aware processing and Blob Storage checkpointing.
  4. A service that must preserve ordering for events sharing a customer or business key.
  5. An ASP.NET Core application that wants to register and reuse an Event Hubs producer through dependency injection.

What are this skill's strengths and limitations?

Pros
  • Covers the main implementation path from package installation and authentication through sending, receiving, partitioning, checkpointing, and error handling.
  • Clearly distinguishes immediate batch sending, buffered sending, simple consumption, and production processing.
  • Includes copyable C# and dotnet command examples.
  • Includes ASP.NET Core dependency injection and client-reuse guidance.
Limitations
  • The production receiving pattern depends on Blob Storage for checkpoint management.
  • Successful deployment requires correct Azure credentials, environment variables, and RBAC assignments.
  • The scope is Azure Event Hubs with the .NET SDK rather than other languages or general messaging platforms.
  • The supplied material does not show dedicated test results for this individual skill, and the repository is still under active development.

How do you install this skill?

Install the collection with npx skills add microsoft/skills, then select the required skill in the wizard. The collection is installed into the selected agent directory, such as .github/skills/ for GitHub Copilot. The supplied material does not document a dedicated command for installing only azure-eventhub-dotnet; its source file is .github/plugins/azure-sdk-dotnet/skills/azure-eventhub-dotnet/SKILL.md. For the .NET application, install the documented packages with dotnet add package Azure.Messaging.EventHubs, dotnet add package Azure.Messaging.EventHubs.Processor, dotnet add package Azure.Identity, and dotnet add package Azure.Storage.Blobs as needed.

How do you use this skill?

After placing the skill where the agent can discover it, trigger it with a request such as: “Implement .NET Azure Event Hubs batch sending and production EventProcessorClient checkpointing for my service.” Before running the examples, configure EVENTHUB_FULLY_QUALIFIED_NAMESPACE, EVENTHUB_NAME, and the checkpoint-related variables. Assign Azure Event Hubs Data Sender, Azure Event Hubs Data Receiver, or Azure Event Hubs Data Owner as appropriate. Use EventProcessorClient for production receiving, configure a Blob Storage checkpoint container, and register both event and error handlers.

How does this skill compare with similar options?

EventProcessorClient is explicitly presented as the production receiving option, while EventHubConsumerClient is described as suitable only for prototyping. For sending, EventHubProducerClient provides immediate batch control, whereas EventHubBufferedProducerClient handles automatic background batching. For authentication, the examples emphasize DefaultAzureCredential while also documenting connection strings as an alternative.

FAQ

Is this skill suitable for production work?
It provides production-oriented guidance, especially around EventProcessorClient, Blob Storage checkpoints, error handling, batching, and client reuse. Azure resources, permissions, deployment, and operational controls still need to be supplied by the project.
Does production consumption require Blob Storage?
The documented EventProcessorClient pattern uses Blob Storage for checkpoints, so that production pattern requires Blob Storage. EventHubConsumerClient can read events more simply, but the source explicitly says it is not for production.
Which permissions are required?
Sending requires Azure Event Hubs Data Sender, receiving requires Azure Event Hubs Data Receiver, and both operations can use Azure Event Hubs Data Owner.

More skills from this repository

All from microsoft/agent-skills

Dev & Engineering ✓ Microsoft · Official

Azure Event Hubs TypeScript Skill

Build TypeScript event-streaming applications with batching, partition-aware consumers, checkpointing, and Azure identity authentication.

Dev & Engineering ✓ Microsoft · Official

Azure Event Hubs for Python

A practical guide to high-throughput event ingestion, consumption, and checkpointing in Python.

Dev & Engineering ✓ Microsoft · Official

Azure Event Hubs Java Skill

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

Dev & Engineering ✓ Microsoft · Official

Fabric Capacity Manager for .NET

Manage Microsoft Fabric capacities programmatically through Azure Resource Manager.

Dev & Engineering ✓ Microsoft · Official

Azure Event Hubs for Rust

A practical guide to sending, batching, and consuming Azure Event Hubs data with the official Rust SDK.

Dev & Engineering ✓ Microsoft · Official

Azure Bot Service ARM SDK for .NET

Helps .NET developers provision Azure Bots and configure their channels 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 Event Grid for .NET

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

Dev & Engineering ✓ Microsoft · Official

Azure Bot Service Python Manager

Create, manage, and configure Azure Bot Service resources and channels from Python.

Dev & Engineering ✓ Microsoft · Official

MongoDB Atlas Azure ARM Manager

Helps .NET developers manage MongoDB Atlas organizations through Azure Marketplace and Azure ARM.

Dev & Engineering ✓ Microsoft · Official

Azure AI Foundry Projects for .NET

Guides .NET developers through Foundry project, agent, and evaluation operations.

Dev & Engineering ✓ Microsoft · Official

Azure Persistent Agents for .NET

A practical .NET playbook for building and operating Azure AI persistent agents.

Dev & Engineering ✓ Microsoft · Official

Azure API Management for .NET

Provision and govern Azure API Management resources from .NET.

Dev & Engineering ✓ Microsoft · Official

Azure Redis Management for .NET

Helps .NET developers provision and operate Azure Cache for Redis through Azure Resource Manager.

Dev & Engineering ✓ Microsoft · Official

Azure SQL ARM for .NET

Provision and manage Azure SQL resources from .NET.

Dev & Engineering ✓ Microsoft · Official

Azure MySQL Flexible Server for .NET

Manage Azure MySQL Flexible Server infrastructure and databases from .NET with the Azure Resource Manager SDK.

Dev & Engineering ✓ Microsoft · Official

Azure Key Vault Secrets for Rust

Guides Rust applications in securely storing and managing passwords, API keys, and connection strings in Azure Key Vault.

Dev & Engineering ✓ Microsoft · Official

Azure W&B Resource Manager for .NET

Deploy and manage Weights & Biases instances in Azure with the .NET ARM SDK.

Dev & Engineering ✓ Microsoft · Official

Azure PostgreSQL Flexible Server for .NET

Manage Azure PostgreSQL Flexible Server deployments and operations with .NET.

Dev & Engineering ✓ Microsoft · Official

Azure Identity for Python

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

Related skills