ASP.NET 5 RC1: System.IO.InvalidDataException: Unexpected end of request content

谁都会走 提交于 2019-12-03 14:35:53

I filed this on aspnet/KestrelHttpServer. It has been accepted as a bug and has recently been included into the 1.0.0-rc2 milestone. See issue here.

Well, remember ASP.NEt 5 still being in RC, so maybe in your VS the current version is even more inmature, this error looks a little bit weird but looks like a web server error. The web server part of asp.net 5 is kestrell and that match with your stack trace Microsoft.AspNet.Server.Kestrel

I'm going to recommend you

  1. Update your Kestrell server assemblies to last RC Nov 18 your VS could be waiting for that update.
  2. If the error persist post an issue in Kestrell ASP.Net 5 GitHub this could be a bug related to others already opened talking about content lenght https://github.com/aspnet/KestrelHttpServer/labels/bug
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!