Skip to content

kaeedo/SignallingHtmxR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTMX, WebSockets, SingalR and you

This is a very simple demo showcasing how to connect to a WebSocket endpoint using HTMX. There are two versions: The first utilizes the wonderful Suave to showcase how to consume a raw WebSocket endpoint, and the second is a full blown ASP.NET SignalR solution to show the difference between raw WebSocket, and SignalR specific implementation details.

Accompanying blog post here

Run simple Suave version

dotnet fsi suave.fsx

Open browser to localhost:8080

Run ASP.NET version

  • dotnet restore
  • dotnet build
  • dotnet run --project src/MinimalApi/MinimalApi.fsproj

Open browser to localhost:5003

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published