Enable Http PUT requests on .NET MVC

前端 未结 3 1107
渐次进展
渐次进展 2020-12-06 05:38

I\'m working on an MVC application. On my original draft of the service I had this method in one of my controllers:

    [AcceptVerbs(HttpVerbs.Post)]
    [Ac         


        
3条回答
  •  情话喂你
    2020-12-06 06:14

    The configuration that worked for us was the following.

        
        
            
            
        
        
            
            
        
    
    

    This is specific to extension-less URLs.

    BTW the general recommendation is to set runAllManagedModulesForAllRequests = false.

提交回复
热议问题