WebDAV is a set of extensions of Hypertext Transfer Protocol (HTTP). It provides standards for editing and file management between computers on the Internet. with this protocol, users can remotely perform basic file operations, such as copying, moving, and deleting files on the web. In IIS 7.0, WebDAV is an independent extension module and needs to be downloaded separately. In IIS 7.5, WebDAV is integrated. However, WebDAV puts put and delete the files to click. Therefore, restful services (WCF data service, WCF rest service, Asp. net web API, Asp. net MVC). When a put request is sent, the HTTP Error 405.0-method not allowed error occurs, and the solution is simple. add the following settings to config:
<System. webserver>
<Modules>
<Remove name = "webdavmodule"/>
</Modules>
<Handlers>
<Remove name = "WebDAV"/>
</Handlers>
</System. webserver>
Http://brockallen.com/2012/10/18/cors-iis-and-webdav/