79673542

Date: 2025-06-20 14:24:09
Score: 2
Natty:
Report link

Adding below code in Blazor server apps Program.cs helped solve the issue:

builder.Services.Configure<HubOptions>(options =>
{
    options.MaximumReceiveMessageSize = 10 * 1024 * 1024; // 10MB or use null
});

More information can be found on:

https://www.telerik.com/blazor-ui/documentation/knowledge-base/common-increase-signalr-max-message-size

Also the code below was already added and it didn't help:

builder.Services.AddServerSideBlazor()
    .AddHubOptions(options =>
    {
        options.MaximumReceiveMessageSize = 100 * 1024 * 1024;
    });
Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Gouri