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

前端 未结 19 2200
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:13

    In Asp.Net Web API - webconfig. This works in all browser.

    Add the following code inside the System.web tag

    
      
        
        
      
    
    

    Replace your system.webserver tag with this below code

    
      
        
        
        
      
    
    
      
    
    
    
    
      
      
      
      
      
    
      
    
    
    

提交回复
热议问题