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

前端 未结 19 2186
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:11

    Update your web.config

      
        
          
        
        
          
          
          
        
      
    

    http://odetocode.com/blogs/scott/archive/2012/08/07/configuration-tips-for-asp-net-mvc-4-on-a-windows.aspx

    Removes the need to modify your host configs.

提交回复
热议问题