且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Asp.net MVC网页API HTTP PUT和删除请求失败

更新时间:2021-10-28 05:02:10

我尝试了所有从上面的意见建议,并没有一次成功。

I tried all the suggestions from the comment above and none of them worked.

我不得不在ASP.NET 4.0的dll添加到通配符映射在主目录选项卡上的配置区域。这为我工作。请记住,取消选中检查文件是否存在复选框。

I had to add the ASP.NET 4.0 dll to the Wildcard mappings in the Configuration area on the Home Directory tab. That worked for me. Remember to uncheck the "Verify file exists" checkbox.

编辑:我张贴的确切过程博客,使这里出现这种情况:http://www.proworks.com/blog/2012/11/14/how-to-fix-aspnet-mvc-web-api-http-put-and-delete-requests-failing/

I posted a blog on the exact process to make this happen here: http://www.proworks.com/blog/2012/11/14/how-to-fix-aspnet-mvc-web-api-http-put-and-delete-requests-failing/