azure-eventgrid-dotnet

仓库创建 2026年1月17日最近提交 22 天前SkillHot 收录 22 天前
▸ 精选理由

适合构建事件驱动架构与云端事件转发场景。

▸ 风险提示

需配置 Azure 主题/域与凭据,并会与外部服务通信。

这个 Skill 做什么

在 .NET 中发布和消费 Azure Event Grid 事件的客户端库。

在 .NET 中负责跟 Azure Event Grid 打交道,发事件、订阅事件,支持 CloudEvent 和 EventGridEvent 格式。当你在搭事件驱动架构、做 pub/sub 或把消息推送到 topic/domain 时会用到。它既有发布客户端也支持命名空间的拉取场景,能无缝接入现有事件流。

▸ 展开 SKILL.md 英文原文

Azure Event Grid SDK for .NET. Client library for publishing and consuming events with Azure Event Grid. Use for event-driven architectures, pub/sub messaging, CloudEvents, and EventGridEvents. Triggers: "Event Grid", "EventGridPublisherClient", "CloudEvent", "EventGridEvent", "publish events .NET", "event-driven", "pub/sub".

开发编程事件总线Pub/SubDotnet通用
2.7k
Stars
304
Forks
40
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/microsoft/skills/main/.github/plugins/azure-sdk-dotnet/skills/azure-eventgrid-dotnet/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/microsoft/skills/main/.github/plugins/azure-sdk-dotnet/skills/azure-eventgrid-dotnet/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Azure.Messaging.EventGrid (.NET)

Client library for publishing events to Azure Event Grid topics, domains, and namespaces.

## Installation

```bash
# For topics and domains (push delivery)
dotnet add package Azure.Messaging.EventGrid

# For namespaces (pull delivery)
dotnet add package Azure.Messaging.EventGrid.Namespaces

# For CloudNative CloudEvents interop
dotnet add package Microsoft.Azure.Messaging.EventGrid.CloudNativeCloudEvents
```

**Current Version**: 4.28.0 (stable)

## Environment Variables

```bash
EVENT_GRID_TOPIC_ENDPOINT=https://<topic-name>.<region>.eventgrid.azure.net/api/events  # Required: Event Grid topic or domain endpoint
EVENT_GRID_TOPIC_KEY=<access-key>  # Only 
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有