title: HttpPut in Asp.net Mvc 5?
body: <p>I was trying to use "PUT" in my controller like</p>
  
  <pre><code>public class HomeController : Controller
      {
          [HttpPut]
          public ContentResult Test()
          {
              return Content("hi");
          }
      }
  </code></pre>
  
  <p>but I can't access it. I thought it was my code but after trying fiddler and getting the same error(404).</p>
  
  <p>I think something else is up. I am just using iis express and mvc 5.</p>
  
  <p>Before I never used HttpPut but been doing webapi lately so that's why I tried to do it in mvc 5 controller but I am not sure if in this case it bring me anything(especially with extra setup is needed as it seems like it is need)</p>
  
  <p><img src="https://i.stack.imgur.com/nt1bE.jpg" alt="enter image description here"></p>
  
  <p>Post request works</p>
  
  <p><img src="https://i.stack.imgur.com/qva2x.jpg" alt="enter image description here"></p>