How to Increase buffer size in Blazor PDF Viewer

14 Aug 20261 minute to read

The Blazor SfPdfViewer supports increasing the SignalR connection buffer size by configuring the MaximumReceiveMessageSize in the Program.cs. This setting applies to Blazor Server and does not apply to purely client-side Blazor WebAssembly apps.

builder.Services.AddSignalR(o => { o.MaximumReceiveMessageSize = 102400000; });

View sample in GitHub.

See also