Hi, my name is Harold Javier. I am a Microsoft .NET (dotNet) trainer, coach, mentor, and consultant for more than 7 years. It is my mission to teach, educate, and train people about simple solutions to some common problems we experience either as a software developer or as a researcher on topics about ASP.NET Core, ASP.NET MVC, ASP.NET Web API, ASP.NET Web Form, and .NET (dotNet) technology in general.
26 September 2018
ASP.NET Core MVC's Action Result naming changes
Working from version 1.1 to 2.1. I found this very handy:
Following methods on the Controller base class have been renamed for the sake of consistency and making them less verbose.
HttpUnauthorized => Unauthorized HttpNotFound(and its overloads) => NotFound HttpBadRequest(and its overloads) => BadRequest
Following action result types have also been renamed. The Http prefix has been removed.