This article shows, how one can return a structured response from an ASP.NET web API in case of errors (exceptions & model validations). One way to do that is by using custom ProblemDetailsFactory. 1. What is ProblemDetailsFactory? ProblemDetailsFact...

Markdown supported · ⌘↵ to post
No responses yet.