Skip to content

Commit 1c02e16

Browse files
905548: Update web-app.md
1 parent b678b22 commit 1c02e16

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

blazor/pdfviewer-2/getting-started/web-app.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ app.Run();
146146

147147
{% endhighlight %}
148148

149-
{% highlight c# tabtitle=".NET 8 (~/Program.cs) Auto" hl_lines="3 9 11" %}
149+
{% highlight c# tabtitle=".NET 8 (~/Program.cs) Auto" hl_lines="3 9 11 13" %}
150150

151151
using BlazorWebAppAuto.Client.Pages;
152152
using BlazorWebAppAuto.Components;
@@ -156,6 +156,8 @@ var builder = WebApplication.CreateBuilder(args);
156156
builder.Services.AddRazorComponents()
157157
.AddInteractiveServerComponents() .AddInteractiveWebAssemblyComponents();
158158

159+
builder.Services.AddSignalR(o => { o.MaximumReceiveMessageSize = 102400000; });
160+
159161
builder.Services.AddMemoryCache();
160162
//Add Syncfusion Blazor service to the container
161163
builder.Services.AddSyncfusionBlazor();
@@ -242,4 +244,4 @@ N> [View Sample in GitHub](https://github.com/SyncfusionExamples/Blazor-Getting-
242244

243245
* [Learn different ways to add script reference in Blazor Application](https://blazor.syncfusion.com/documentation/common/adding-script-references)
244246

245-
* [Processing Large Files Without Increasing Maximum Message Size in SfPdfViewer Component](../how-to/processing-large-files-without-increasing-maximum-message-size)
247+
* [Processing Large Files Without Increasing Maximum Message Size in SfPdfViewer Component](../how-to/processing-large-files-without-increasing-maximum-message-size)

0 commit comments

Comments
 (0)