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:

    <remove name="WebDAVModule" />    
    <remove name="WebDAV" />    


Author Profile

Tech Lover , Open Src Dev , Dotnet Core, Ionic, Xamarin, Node, Angular2, Python, Opencv, AI, ML, Robotics, SignalR, Iot, Love Music, Cooking, Girls, Innovation.
Like Love Haha Wow Sad Angry

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.

Enable Notifications.    Ok No thanks