0
alfar_re created
3 Answer(s)
-
0
-
0
-
0
hi
Try change
CreateWebHostBuilder
method.public static IWebHostBuilder CreateWebHostBuilder(string[] args) { return new WebHostBuilder() .UseKestrel(opt => { opt.AddServerHeader = false; opt.Limits.MaxRequestLineSize = 16 * 1024; }) .UseContentRoot(Directory.GetCurrentDirectory()) .UseIIS() .UseIISIntegration() .UseStartup<Startup>(); }
If you are using
web.config
you can refer to: