Click here to Skip to main content
15,038,237 members
Articles / Web Development / ASP.NET

Tagged as

Stats

94K views
21 bookmarked

ASP.NET Web Api: Unwrapping HTTP Error Results and Model State Dictionaries Client-Side

Rate me:
Please Sign up or sign in to vote.
5.00/5 (17 votes)
3 Oct 2014CPOL14 min read
When working with ASP.NET Web Api from a .NET client, one of the more confounding things can be handling the case where errors are returned from the Api. Specifically, unwrapping the various types of errors which may be returned from a specific API action method, and translating the error content in

Views

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

John Atten
Software Developer XIV Solutions
United States United States
My name is John Atten, and my username on many of my online accounts is xivSolutions. I am Fascinated by all things technology and software development. I work mostly with C#, Javascript/Node.js, Various flavors of databases, and anything else I find interesting. I am always looking for new information, and value your feedback (especially where I got something wrong!)

Comments and Discussions