侧边栏

net core 使用的综合笔记

var builder = WebApplication.CreateBuilder(args);

builder.WebHost.UseUrls(”5090").UseKestrel(options =>
{
options.Limits.MaxRequestBodySize = null;  //设置http请求接收大小,这个配置是没有限制
});

posted @ 2022-05-13 16:28  我有我的骄傲  阅读(54)  评论(0)    收藏  举报