Why does IE11 create blank post request except when Fiddler is running?

懵懂的女人 提交于 2019-12-06 01:23:10

I have fixed this. My colleague advised the traditional debugging strategy of getting the simplest case to work - so I made a test post controller web service that worked every call:

I then saw the only difference between this method and the one that failed is the BaseController, which contained these methods:

I then changed the code to this to remove the suspicious looking async and await commands:

Everything now works perfectly. But can anyone explain why? In my googling this problem for the past day I've read about IE sending two packets instead of one like other browsers, and about resources being left open interfering with connections. But I don't understand how this await command broke the connection in just one browser.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!