title: ASP.NET Core with IIS - HTTP Verb Not Allowed
body: <p>We have an <strong>ASP.NET Core 2.0</strong> web site that also presents a couple of simple <strong>Web API</strong> methods for UI enhancement purposes.</p>
  
  <p>The <strong>Web API</strong> calls work as expected when running locally under <strong>IIS Express</strong>, but when we deploy to our <strong>IIS 8.5</strong> production web server, we get the following error when making HTTP <code>DELETE</code> and <code>PUT</code> requests...</p>
  
  <pre><code>405 Method Not Allowed
  </code></pre>
  
  <p>After some web searching, we have found several posts suggesting the removal of the IIS <strong>WebDAV</strong> module.  We have disabled this in IIS (it is our server), and we have also tried the following:</p>
  
  <ul>
  <li>Disabled <em>WebDAV</em></li>
  <li>Enabled <em>WebDev</em> and set <code>Allow verb filtering = False</code></li>
  <li>Set the <em>Hander Mappings</em> to allow <em>All Verbs</em> in the <em>Request Restrictions</em> settings for: <code>aspNetCore</code>, <code>WebDAV</code> and <code>ExtensionlessUrlHandler-Integrated-4.0</code></li>
  </ul>
  
  <p>None of the above steps have resolved our problem.</p>
  
  <p>Any advice/direction would be much appreciated.</p>