Home / Companies / Ably / Blog / Post Details
Content Deep Dive

Serverless WebSockets with Azure Functions

Blog post from Ably

Post Details
Company
Date Published
Author
Marc Duiker
Word Count
3,054
Language
English
Hacker News Points
11
Summary

This tutorial demonstrates how to distribute data in real-time using WebSockets in a serverless application running on Azure. The context used is a multiplayer, turn-based game similar to Advanced Dungeons & Dragons (ADnD). Key points include the use of serverless WebSockets in C# Azure Functions to publish messages and serverless WebSockets in a JavaScript front-end to receive messages. Additionally, it covers persisting state in Azure Functions using Durable Entities.