0f822b2385
* Update to net7.0 and add a solution file * Update to use latest client js lib * Update Chatroom to use the latest syntax |
||
---|---|---|
.. | ||
AckHandler | ||
Hub | ||
Properties | ||
wwwroot | ||
.gitignore | ||
AckableChatRoom.csproj | ||
Program.cs | ||
README.md | ||
Startup.cs | ||
appsettings.json |
README.md
Ackable chat room sample for Azure SignalR service
This sample shows how to ack messages when using SignalR.
Prerequisites
- Install .NET Core SDK
- Provision an Azure SignalR Service instance
Set the connection string in the Secret Manager tool for .NET Core, and run this app.
dotnet restore
dotnet user-secrets set Azure:SignalR:ConnectionString "<your connection string>"
dotnet run
Visit http://localhost:5000 to see the messages are delivered.