Equivalent of HttpResponseException/IHttpActionResponse for .net Core webapi 2 (not mvc)
IActionResult is the equivalent of IHttpActionResult, as you’ve suggested. This is part of the consolidation of what was known as MVC and Web API in ASP.NET Core MVC. As for HttpResponseException, this has been completely removed in ASP.NET Core. There’s an interesting issue around this on GitHub, where David Fowler gives an explanation as to … Read more