WeGotCode.com is making the following offer to existing and new clients through Labor Day – $80/hr senior-level .NET, Angular, React development
AspNetCore Controller Return Types that Implement IActionResult
On my current project, we return Task<IActionResult> in the controller actions. It makes it fairly painless to write useful unit tests. Middleware Pipeline – a common location for returning errors, like via SetForbiddenResponse() Because I was having issues locating these in MSDN (not there, look in https://docs.microsoft.com/en-us/aspnet/core/api instead), here’s a list of valid types that implement IActionResult in AspNetCore (dotnet …