阅读背景:

在ASP.NET WebAPI中使用HttpContext.Current

来源:互联网 

I want to deal with exceptions in a WebAPI action method, by catching them setting the status code, and writing a message to the response. Normally in a normal MVC I want to deal with exceptions in a WebAPI acti




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: