azure-web-pubsub-ts

Enable real-time messaging in JavaScript apps using Azure Web PubSub SDKs.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Real-time messaging and pub/sub in JavaScript apps using Azure WebPubSub SDKs, enabling live bidirectional communication with minimal boilerplate.

Core Features & Use Cases

  • Server-side: manage hubs, generate client access tokens, broadcast messages, manage groups, and handle connections.
  • Client-side: connect via WebPubSubClient, publish and subscribe to group messages, and handle events.
  • Express integration: create a WebPubSubEventHandler to secure and route events in an Express app.

Quick Start

Install the Azure Web PubSub SDKs and use the provided examples to set up server- and client-side messaging.

Frequently Asked Questions about azure-web-pubsub-ts

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

FAQPage Schema
How do I add real-time WebSocket messaging to a Node.js and TypeScript application?

Real-time WebSocket messaging in a Node.js and TypeScript application is enabled by using Azure Web PubSub SDKs to manage hubs, generate client tokens, and facilitate bidirectional communication with minimal boilerplate.

How do I generate client access tokens and manage groups with Azure Web PubSub?

To generate client access tokens and manage groups, use the server-side Azure Web PubSub SDK in a Node.js environment to handle hub connections, broadcast messages, and route user connections securely.

Does Azure Web PubSub work with Express for routing and handling events?

Azure Web PubSub works with Express by using the WebPubSubEventHandler to securely route and process real-time messaging events within an Express-based application structure.

How do I connect a JavaScript client to Azure Web PubSub to subscribe to group messages?

To connect a JavaScript client to Azure Web PubSub, use the WebPubSubClient SDK to establish connections, subscribe to group messages, publish updates, and handle incoming real-time events.

What is the best way to handle live bidirectional communication without writing custom WebSocket boilerplate?

The best way to handle live bidirectional communication without custom WebSocket boilerplate is using Azure Web PubSub SDKs, which abstract connection management and provide native pub/sub group messaging features.