ASP.NET Web API - PUT & DELETE Verbs Not Allowed - IIS 8

前端 未结 19 2213
Happy的楠姐
Happy的楠姐 2020-11-22 05:16

I recently upgraded from Visual Studio 2010 to the Visual Studio 2012 RC. The installer also installs IIS 8 Express which Visual Studio now uses as the default web server.

19条回答
  •  北荒
    北荒 (楼主)
    2020-11-22 06:05

    Remove the WebDAV works perfectly for my case:

    
      
    
    
      
      
      
    
    

    it always better to solve the problem through the web.config instead of going to fix it through the iis or machine.config to grantee it wouldn't happen if the app hosted at another machine

提交回复
热议问题