我遵循了这里
并添加这个
builder.Services.Configure<FormOptions>(x => { x.ValueCountLimit = 4096; });
致我的
program.cs