Does Visual Studio's built-in web server suppo

2019-08-05 04:38发布

问题:

Does the web server built into Visual Studio 2010 (and earlier, but 2010 in particular), WebDev.WebServer.exe, support the HTTP verb PUT? If so, does it support it by default or does it require configuration? If it requires configuration, please describe how to configure it.

回答1:

In Visual Studio 2010 at least, the Visual Studio Development Server web server does seem to support the HTTP PUT method.

I previously answered that it does not, but the URL for which I was submitting requests with the PUT method was incorrect. Once I corrected the URL the request was accepted without requiring any other changes to Visual Studio or the built-in web server settings.