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

前端 未结 19 1938
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:14

    Change Your Web.Config file as below. It will act like charm.

    In node add below portion of code

    
      
    
    

    After adding, your Web.Config will look like below

    
        
        
            
        
        
        
            
            
            
        
        
        
          
          
          
          
          
          
        
    
    

提交回复
热议问题