Hi Elio,
Good day to you.
We have checked the reported issue at our end. In Server side Blazor projects, if we are using a large amount of data to render items as in this sample or in general, we need to add below configuration in the startup.cs file to avoid the below exception.
Exception
|
fail: Microsoft.AspNetCore.SignalR.HubConnectionHandler[2]
Error when processing requests.
System.IO.InvalidDataException: The maximum message size of 32768B was exceeded.
The message size can be configured in AddHubOptions.
|
Configuration
|
services.AddServerSideBlazor().AddHubOptions(o =>
{
o.MaximumReceiveMessageSize = 102400000;
}); |
We have modified your sample.
Kindly check the above sample and get back to us if you need any further assistance.
Regards,
Kanagambigai M.