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
- Hey Its..! Tech Lover , Ionic, Angular, Typescript, Dotnet Core, Node, Like Opencv, AI, ML, Robotics, Iot, Love Music, Cooking, Girls, Innovation