I have this very simple PUT Action Method
And the corresponding jQuery script:
No matter what I tried I always got a 404 error…
Finally, I gave up changing code and looked at the debugging environment and I found that I was using IIS Express for debugging.
I changed it to “Use Visual Studio Development Server” and voila it worked!
Apparently IIS Express is not configured by default to support the PUT word. To change this open up “C:\Users\<YourUserName>\Documents\IISExpress\config\applicationhost.config” and change the line for the “ExtensionlessUrl-Integrated-4.0” handler to
And don’t forget to add the PUT word to your production IIS server ;)