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. |
services.AddServerSideBlazor();
services.AddServerSideBlazor().AddHubOptions(o =>
{
o.MaximumReceiveMessageSize = 102400000;
}); |
<script src="https://cdn.syncfusion.com/ej2/17.2.46/dist/ej2.min.js"></script>
<script src="https://cdn.syncfusion.com/ej2/17.2.46/dist/ejs.interop.min.js"></script>
<link rel="stylesheet" rel='nofollow' href="https://cdn.syncfusion.com/ej2/17.2.46/material.css"> |
@using ListviewCheckboxEx.ViewModels
@using Data
<EjsListView DataSource="@ViewModel.ListviewItems"
ShowCheckBox="true"
ShowHeader="true"
HeaderTitle="Listview header"
Height="300">
<ListViewFieldSettings Id="Id"
Text="DocumentTypeName"
IsChecked="IsChecked">
</ListViewFieldSettings>
<ListViewEvents TValue="ListviewItemModel"
Selected="@(e => SelectedItem.InvokeAsync(e.Data))">
</ListViewEvents>
</EjsListView>
@functions {
[Parameter]
public IListDataViewModel ViewModel { get; set; }
[Parameter]
public EventCallback<ListviewItemModel> SelectedItem { get; set; }
} |