Asp.Net Core 3.1 Not Returning NoContent() or BadRequest() in the Controller


      When developing in Asp.Net Core 3.1 you might want to code your algorithms to return the result in a fashionable manner. Returning a small amount of data from the Controller's Actions can not only enhance application performance but will also enhance user experience and strengthen security. A good developer knows that when working with user's data, code should implement the strongest security to protect data in transit, security includes using HST which is enforced Strict Transport Security. 

       Of course, when Developers implement Security on different layers, performance sufferers, this is where returning minimal data to the Client comes in play. In ASP.Net Core 3.1, a Developer can return HttpStatusCodes to the Client indicating that the post was successful or not. The Controller's Action can also return ActionResults that enables Status Codes responses, what's good with marking the Actions or Functions to return ActionResult is that, a developer can even pass in the Model Data to be consumed at the Client-Side.





ee said:

ee

Posted On: October 12, 2020 14:37:22 PM
said:

rer

Posted On: October 12, 2020 14:37:16 PM
Jack said:

Thank you

Posted On: May 14, 2020 18:27:45 PM


For peering opportunity Autonomouse System Number: AS401345 Custom Software Development at ErnesTech Email AddressContact: [email protected]