Skip to Main Content
ASP.NET Web API 2 Recipes: A Problem Solution Approach
book

ASP.NET Web API 2 Recipes: A Problem Solution Approach

by Filip Wojcieszyn
August 2014
Intermediate to advanced content levelIntermediate to advanced
408 pages
9h 54m
English
Apress
Content preview from ASP.NET Web API 2 Recipes: A Problem Solution Approach

CHAPTER 7

image

Exceptions, Troubleshooting, and Documenting

This chapter covers dealing with exceptions in ASP.NET Web API, debugging issues with ASP.NET Web API tracers, and documenting your API endpoints with the ASP.NET Web API Help Page library.

You will learn how to do the following:

  • Handle and log exceptions (Recipes 7-1, 7-2, and 7-3)
  • Use Web API tracers (Recipes 7-4, 7-5, and 7-6)
  • Write a custom Web API tracer (Recipe 7-7)
  • Add a Web API help page (Recipe 7-8)
  • Customize a Web API help page (Recipes 7-9, 7-10, and 7-11)

7-1. Handle Exceptions with Filters

Problem

You need a simple mechanism for handling exceptions that might occur in your controllers’ ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Expert ASP.NET Web API 2 for MVC Developers

Expert ASP.NET Web API 2 for MVC Developers

Adam Freeman
Practical ASP.NET Web API

Practical ASP.NET Web API

Badrinarayanan Lakshmiraghavan
Pro ASP.NET Web API: HTTP Web Services in ASP.NET

Pro ASP.NET Web API: HTTP Web Services in ASP.NET

Tugberk Ugurlu, Alexander Zeitler, Ali Kheyrollahi

Publisher Resources

ISBN: 9781430259817Purchase book