I am trying to send notifications through SignalR. It works perfectly.
But what is the maximum size of a message we can send through SignalR?
Does it have any official limit as such?
https://github.com/SignalR/SignalR/issues/1205
It's recommended to keep below 32K/message
In .Net Core 3+, You can configure SignalR in ConfigureServices method in your startup class.
services.AddSignalR(o =>
{
o.EnableDetailedErrors = true;
o.MaximumReceiveMessageSize = 10240; // bytes
});
maximum message size can be increased manually, visit the following link:
it's 64kb. if you want to send more than that from client to server than use another tool.