-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Description
I know about MessagePack but my scenario involves Asp.Net Core receiving raw BSON from MongoDB, and then forwarding it onward to a .NET client app. I don't want to needlessly translate the data from one binary format (BSON) to another (MessagePack).
Is sending BSON over SignalR Core currently achievable? If so then how and how involved? Otherwise, please consider adding BSON support, or enabling any binary format. I know MessagePack is better and all, but Mongo uses BSON and I use Mongo.
The alternative that comes to mind is to use web APIs since HTTP handles any binary format, and Asp.Net Core lets me configure output formatters. What about configuring formatters in SignalR Core? I couldn't find any Formatters options. I want to stick to using SignalR Core rather than web API, due to other benefits of the former.