зеркало из
1
0
Форкнуть 0
AzureSignalR-samples/samples/AckableChatRoom
Liangying.Wei 0f822b2385
Update to net7.0 and add a solution file (#235)
* Update to net7.0 and add a solution file

* Update to use latest client js lib

* Update Chatroom to use the latest syntax
2023-06-25 20:19:12 +08:00
..
AckHandler Add AckableChatRoom sample (#107) 2021-12-08 14:19:19 +08:00
Hub Add AckableChatRoom sample (#107) 2021-12-08 14:19:19 +08:00
Properties Add AckableChatRoom sample (#107) 2021-12-08 14:19:19 +08:00
wwwroot Update to net7.0 and add a solution file (#235) 2023-06-25 20:19:12 +08:00
.gitignore Add AckableChatRoom sample (#107) 2021-12-08 14:19:19 +08:00
AckableChatRoom.csproj Update to net7.0 and add a solution file (#235) 2023-06-25 20:19:12 +08:00
Program.cs Add AckableChatRoom sample (#107) 2021-12-08 14:19:19 +08:00
README.md Update to net7.0 and add a solution file (#235) 2023-06-25 20:19:12 +08:00
Startup.cs Update to net7.0 and add a solution file (#235) 2023-06-25 20:19:12 +08:00
appsettings.json Add AckableChatRoom sample (#107) 2021-12-08 14:19:19 +08:00

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.