Skip to content
Discussion options

You must be logged in to vote
如果上传文件过大,可能会触发 signalR 通讯中断问题,请自行调整 HubOptions 配置即可。
*** 仔细阅读文档 ***

builder.Services.Configure(option => option.MaximumReceiveMessageSize = null);

MaximumReceiveMessageSize 我配置过

上传demo

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ArgoZhang
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
chore This are tasks or bot action
2 participants
Converted from issue

This discussion was converted from issue #8242 on July 21, 2026 14:06.