.netcore 报错: 414 uri too long 解决办法

services.Configure<Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions>(options =>
{//414 uri too long
options.Limits.MaxRequestLineSize = int.MaxValue;
options.Limits.MaxRequestBufferSize = int.MaxValue;
});

 

https://stackoverflow.com/questions/39048189/asp-net-core-maxurllength/39049955#39049955

posted @   Ace001  阅读(630)  评论(1编辑  收藏  举报
相关博文:
阅读排行:
· CSnakes vs Python.NET:高效嵌入与灵活互通的跨语言方案对比
· DeepSeek “源神”启动!「GitHub 热点速览」
· 我与微信审核的“相爱相杀”看个人小程序副业
· Plotly.NET 一个为 .NET 打造的强大开源交互式图表库
· 上周热点回顾(2.17-2.23)
点击右上角即可分享
微信分享提示