visual studio - Enable PUT and DELETE requests in ASP.NET MVC app for Windows 10? -
i have asp.net mvc website (4.5). try run application under visual studio 2015 , "page not found" exception on put
, delete
requests.
how enable these requests?
if want solution, in solution root .vs\config
folder , applicationhost.config
file. in file need add put
, delete
verbs extensionlessurl-integrated-4.0
module, that
<add name="extensionlessurl-integrated-4.0" path="*." verb="get,head,post,debug,put,delete" type="system.web.handlers.transferrequesthandler" precondition="integratedmode,runtimeversionv4.0" responsebufferlimit="0" />
however think there should nicer way via ui, don't have win 10 installed can't check now. if 1 else tell how.
Comments
Post a Comment