开发者

Override default handling of application/json requests in ASP.NET

开发者 https://www.devze.com 2023-03-08 07:00 出处:网络
ASP.NET 3.5 and 4 are both catching requests with Content-Type \"application/json\" and I don\'t want them to. I think they\'re trying to find a WebMethod in the code-behind or something, but I don\'t

ASP.NET 3.5 and 4 are both catching requests with Content-Type "application/json" and I don't want them to. I think they're trying to find a WebMethod in the code-behind or something, but I don't开发者_Go百科 really care. This is NOT ASP MVC. How can I prevent conventional ASP.NET from behaving this way?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号