SKILL

azure-web-pubsub-ts

Build real-time messaging applications using Azure Web PubSub SDKs for JavaScript (@azure/web-pubsub, @azure/web-pubsub-client). Use when implementing WebSocket-based real-time features, pub/sub messaging, group chat, or live notifications.

Target: Cloud, operations & security. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • Azure Web PubSub SDKs for TypeScript
  • Installation
  • Environment Variables
  • Server-Side: WebPubSubServiceClient
  • Authentication
  • Generate Client Access Token
  • Send Messages
  • Group Management

Real-time messaging with WebSocket connections and pub/sub patterns. 1. Use Microsoft Entra Token Credential - Use DefaultAzureCredential for local development; use ManagedIdentityCredential or WorkloadIdentityCredential for production 2. Register handlers before start - Don't miss initial events 3. Use groups for channels - Organize messages by topic/room 4. Handle reconnection - Client auto-reconnects by default 5. Validate in handleConnect - Reject unauthorized connections early 6. Use noEcho - Prevent message echo back to sender when needed

Source repository
microsoft/skills
Source file
.github/plugins/azure-sdk-typescript/skills/azure-web-pubsub-ts/SKILL.md
Fixed revision
9287b443662d2433c85621c7325ee72a0ce499b5
Read the complete original documentation ↗

Requirements

  • Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.

A small first task

先阅读原作者说明,再决定是否在自己的 AI 工具中使用。

Instructions for your AI tool

Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: Microsoft Skills · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-10T19:02:06.612Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.