Announcing Azure Web PubSub chat in public preview
Chat is a fundamental interaction model across many industries, but building robust chat systems is complex. Azure Web PubSub chat, now in public preview, simplifies this by offering chat-specific APIs built on Azure Web PubSub. Developers can now focus on the chat experience rather than managing underlying real-time messaging infrastructure. This new capability allows for easy creation and management of chat rooms, membership, and ordered messaging. It also provides persistent message history retrieval and robust connection interruption recovery. The system supports built-in and custom roles and permissions, enhancing security and control. Chat data is securely stored in the user's Azure Storage account, ensuring data ownership. A JavaScript client SDK and a Chat REST API are available for frontend and backend development, respectively. This separation allows for responsive client-side experiences and controlled server-side logic. Users can expect reliable conversations across multiple devices and connection changes due to automatic reconnection and message recovery. Azure Web PubSub chat complements the existing standard Web PubSub hub, offering a choice based on application needs. Getting started involves creating an Azure Web PubSub resource, linking storage, and adding a chat hub.