In my .Net 8 server project,
whenever I tried to Edit something(even in click) with html Editor ,
it shows : Attempting to reconnect to the server: 1 of 8
My code is below
In my .Net 8 server project,
whenever I tried to Edit something(even in click) with html Editor ,
it shows : Attempting to reconnect to the server: 1 of 8
My code is below
This is usually caused by an exception. Check what the stacktrace is.
It works after Increase the Blazor SignalR Max Message Size using MaximumReceiveMessageSize.
I see. Probably the value you feed to RadzenHtmlEditor exceeds the default message size hence the exception.
Got this from another post in this forum and it worked for me. I updated my Program.cs file by adding:
builder.Services.AddSignalR(e =>
{
e.MaximumReceiveMessageSize = 50 * 1024 * 1024; // 50MB
});