LiamMorrow / OrgnalR

SignalR backplane implemented through Orleans
Apache License 2.0
35 stars 8 forks source link

Use the orleans built in serializer to serialize messages #28

Closed LiamMorrow closed 1 year ago

LiamMorrow commented 1 year ago

This PR amends the OrgnalRHubLifetimeManager to serialize message payloads to byte arrays using the serializer provided by Orleans.

This allows the consumer to register their SignalR message types with orleans (using the GenerateSerializer attribute), without having to have them declared where the silo knows about them.