By default, IIS 7.5 does not support the DELETE method. If our web app use this method, we have to enable it for appropriate extension file:
-Go to our site
-Choose Handler mappings
- Choose the path that we want to handle (in this example, it is *.ashx)
- Add DELETE to Verbs tab