Increase the connection buffer size in Blazor SfPdfViewer Component

20 Jun 20231 minute to read

The Syncfusion’s Blazor SfPdfViewer component allows to increase the connection buffer size by adding the below service in program.cs file if the size of the SfPdfViewer is too large.

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

View sample in GitHub.