aspnet / AzureSignalR-samples

Code samples for Azure SignalR
MIT License
327 stars 390 forks source link

Management Client sample needs refreshed #227

Closed bretthacker closed 1 year ago

bretthacker commented 1 year ago

The management sample at https://github.com/aspnet/AzureSignalR-samples/blob/main/samples/Management/SignalRClient/README.md is over a year old. The readme indicates that Microsoft.Azure.SignalR.Management must be installed and indeed, this package is in NuGet and current. But this project doesn't reference that package. And the packages that are referenced are deprecated.

Is there a current code sample using the current Management library? I need to connect to an Azure SignalR instance in exactly this manner.

Y-Sindo commented 1 year ago

The SignalR client sample is used together with MessagePublisher sample to demonstrate the usage of management SDK. You can switch to MessagePublisher to get the usage of Management library.

The README is corrected, and the Microsoft.AspNetCore.SignalR.Client is updated to 6.0.16. Given that Microsoft.Extensions.CommandLineUtils is deprecated and the alternative library System.CommandLine is still in preview, we'd rather keep this package.