上传文件的大小

  1. builder.Services.Configure<KestrelServerOptions>(x => {
  2. x.Limits.MaxRequestBodySize = int.MaxValue;
  3. });