~/talk

Making Static Dynamic - Adding SignalR to Azure Static Web Apps

Talkat Øredev 2025 · 2025-11-05..11-07· [serverless]
slides:none on file

Shows how to add real‑time updates to an Azure Static Web Apps + Blazor Wasm site by wiring Azure Functions to Web Pub Sub (not SignalR), generating a short‑lived connection URI on the server, and running a websocket client in the browser. Demonstrates the four-line send call, HTTP endpoints for send to user or group, client-side connect/disconnect and event handlers, local SWA CLI testing, free‑tier limits (~20 concurrent, 50k messages) and a Cosmos DB trigger demo for book‑library notifications.

AI-written summary · about

  1. 0:00Introduction
  2. 4:39Real-time updates for static apps
  3. 6:24Web PubSub setup
  4. 7:53Web PubSub endpoint
  5. 10:26Message sending function
  6. 13:44Client Web PubSub service
  7. 18:19Blazor service integration
  8. 19:50Sign-in and homepage
  9. 24:55Sending messages to all users
  10. 27:04User/group messaging
  11. 30:37Group messaging
  12. 34:15Live demo
  13. 35:47Book tracking use case
  14. 38:36Cosmos DB triggers
  15. 41:03Watched items notifications
  16. 42:50Security considerations
  17. 44:15Testing the demo
  18. 46:25Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.