IIS Manager Enable PUT DELETE Methods, REST

Recently I’ve been working with some of the newer IIS7/7.5 and using the IIS Manager, which happens to be quit nice.  They’ve done a great job at simplifying management from a IT perspective as well as a development perspective.  I ran into some trouble while trying to use the PUT and DELETE verbs in a ASP.NET MVC site.  I’m a bit of a purist, to some extent, and like to use the verbs for what they mean.  I kept getting a request not accepted using the PUT and DELETE verbs.  It turns out that you need to remove the WebDAV from the HttpHandlers and HttpModules which can easily be found in the IIS manager. Below shows a screen shot of the management view and the 2 location where you need to remove the WebDAV to enable PUT and DELETE methods.

image

No comments: