405 method not allowed - pkworlz
405 method not allowed - pkworlz
in ,

405 Method Not Allowed error with PUT or DELETE Request on ASP.Net application

If our application uses .NET WebAPI, we may get a 405 Method Not Allowed error when we issue a PUT or DELETE request.

To work around the issue, you can insert the following in the web.config file in the root directory of your site:

<system.webServer>    
  <modules>        
    <remove name="WebDAVModule" />    
  </modules>    
  <handlers>        
    <remove name="WebDAV" />    
  </handlers>
</system.webServer>

Author Profile

PREM KUMAR
PREM KUMAR
Hey Its..! Tech Lover , Ionic, Angular, Typescript, Dotnet Core, Node, Like Opencv, AI, ML, Robotics, Iot, Love Music, Cooking, Girls, Innovation

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

What do you think?

400 Points
Upvote Downvote

C# – Enable CORS in Web API 2

ionic tutorial

How to create a new provider? IONIC 3 Angular 4