当发送大量数据时,视图在提交时将空值传递给控制器

问题描述 投票:0回答:1
c# asp.net-mvc post form-submit
1个回答
0
投票

我遵循了这里

所说的

并添加这个

  builder.Services.Configure<FormOptions>(x =>
{
    x.ValueCountLimit = 4096;
});

致我的

program.cs

© www.soinside.com 2019 - 2024. All rights reserved.