https://github.com/onebeyond/onebeyond-studio-signalr
https://github.com/onebeyond/onebeyond-studio-signalr
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/onebeyond/onebeyond-studio-signalr
- Owner: onebeyond
- License: mit
- Created: 2026-04-23T11:09:18.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2026-06-30T09:12:04.000Z (19 days ago)
- Last Synced: 2026-06-30T11:05:45.499Z (19 days ago)
- Size: 7.81 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# One Beyond Studio SignalR
A quick SignalR implementation. This is designd for use with Obelisk and Azure SignalR Service.
## Usage
- Add the nuget package to any part of the application that will use SignalR. This usually includes at least the Web App and Workers. Some Domain/Application may also which to use it.
- Any entrypoint that will run SignalR must run `RegisterSignalR` from an `IServiceCollection`.
- Specify `AzureSignalRConnectionString` as an app setting. When deployed this should be from a Key Vault App Setting.
- In order to authenticate, the FE needs an endpoint that calls the `NegotiateAsync` function. This will allow it to receive messages.
- The backend uses the management API, so does not need to negotiate.
- There are some helpful functions to send a default error `PublishErrorMessageAsync`, and send arbitrary json to a specific user `PublishAsync`.
- For more complex situations, please use `GetHubContextAsync` to get the full set of controls.