title: 405 Method Not Allowed PUT
body: <p>I have checked everything and none of the configuration is working fine.</p>
  
  <p>THE GET, POST is working however with put I am getting 405 message.
  I don't have WebDEV. </p>
  
  <p>This is  my configuration.</p>
  
  <pre><code>&lt;system.webServer&gt;
      &lt;validation validateIntegratedModeConfiguration="false"/&gt;
      &lt;modules runAllManagedModulesForAllRequests="true"&gt;
        &lt;remove name="WebDAVModule" /&gt;
      &lt;/modules&gt;
      &lt;handlers&gt;
        &lt;remove name="WebDAV"/&gt;
        &lt;remove name="ExtensionlessUrlHandler-Integrated-4.0"/&gt;
        &lt;remove name="OPTIONSVerbHandler"/&gt;
        &lt;remove name="TRACEVerbHandler"/&gt;
        &lt;add name="ExtensionlessUrlHandler-Integrated-4.0" path="*." verb="*" 
             type="System.Web.Handlers.TransferRequestHandler" 
             preCondition="integratedMode,runtimeVersionv4.0" /&gt;
      &lt;/handlers&gt;
    &lt;/system.webServer&gt;
  </code></pre>
  
  <p>It is driving me nuts!</p>
  
  <p>I have referred all available suggestions such as : 
  <a href="https://stackoverflow.com/questions/9854602/asp-net-web-api-405-http-verb-used-to-access-this-page-is-not-allowed-how">Asp.NET Web API - 405 - HTTP verb used to access this page is not allowed - how to set handler mappings</a></p>
  
  <p><img src="https://i.stack.imgur.com/6sETg.png" alt="enter image description here"></p>
  
  <p>Even though I am using Basic Auth/ Windows Auth. disabling this also makes no difference.</p>
  
  <p>[System.Web.HttpHttpPut]
          public override HttpResponseMessage Put(int id, Request entity)
  {
   .... 
  }</p>
  
  <blockquote>
    <p>NOTE: I have just put on staging server and it has worked. However, it is not working on my machine...
    <img src="https://i.stack.imgur.com/O0ZD5.png" alt="enter image description here"></p>
  </blockquote>
  
  <p><img src="https://i.stack.imgur.com/4MYij.png" alt="enter image description here"></p>