RedisMessagingHub 0.1.0
See the version list below for details.
dotnet add package RedisMessagingHub --version 0.1.0
NuGet\Install-Package RedisMessagingHub -Version 0.1.0
<PackageReference Include="RedisMessagingHub" Version="0.1.0" />
paket add RedisMessagingHub --version 0.1.0
#r "nuget: RedisMessagingHub, 0.1.0"
// Install RedisMessagingHub as a Cake Addin #addin nuget:?package=RedisMessagingHub&version=0.1.0 // Install RedisMessagingHub as a Cake Tool #tool nuget:?package=RedisMessagingHub&version=0.1.0
Redis Messaging Hub
Redis Messaging Hub is a dotnetcore 1.x library that utilizes Redis pub/sub features along with Web Sockets to provide a streamlined and stable messaging system. Some advantages include the ability to send messages to a client from anywhere by simply publishing to a channel from any location.
The Redis Messaging Hub consists of 2 components. A server component and a client component. In a typical scenario, the server would be responsible for receiving messages and piping them off to the correct clients. The client application would send and receive message and also have the ability to join and leave different channels.
All message transmissions are piped through channels which are basically Redis subscriptions. When a client joins a channel a subscription is made in Redis and when a client sends a message, that message is then published to the desegnated channel. All transmissions done between the client and the server utilize the Web Socket interface which sits on top of a simple TCP protocol.
A diagram showing a typical architecture of the messing system is shown here
Iām thinking about possibly standing up some shared servers in the future that would allow the use of the messaging system without needing to setup a server. If I get enough requests, I'll consider getting something like that going.
Prerequisites
- dotnetcore 1.0 - 1.1
- redis database
Installing
A step by step series of examples that tell you have to get a development env running
Say what the step will be
Give the example
And repeat
until finished
End with an example of getting some data out of the system or using it for a little demo
Running the tests
Explain how to run the automated tests for this system
Break down into end to end tests
Explain what these tests test and why
Give an example
And coding style tests
Explain what these tests test and why
Give an example
Deployment
Add additional notes about how to deploy this on a live system
Built With
Contributing
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
Authors
- Billie Thompson - Initial work - PurpleBooth
See also the list of contributors who participated in this project.
License
This project is licensed under the MIT License - see the LICENSE.md file for details
Acknowledgments
- Hat tip to anyone who's code was used
- Inspiration
- etc
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp1.1 is compatible. netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
-
.NETCoreApp 1.1
- Microsoft.AspNetCore.WebSockets.Server (>= 0.1.0)
- Microsoft.Extensions.Configuration (>= 1.1.2)
- Microsoft.Extensions.Configuration.Abstractions (>= 1.1.2)
- Microsoft.NETCore.App (>= 1.1.2)
- Newtonsoft.Json (>= 10.0.3)
- StackExchange.Redis (>= 1.2.6)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.