Abstract
In the previous chapter, after a brief introduction to the concepts of authentication and authorization, we added security to the task-management service. We began by applying an authorization filter to secure the AddTask method, and we complemented this by implementing a custom message handler supporting Basic authentication. After that, we implemented several scenarios (continuing with the theme of security) to further develop our application’s functional capabilities and to demonstrate various ASP.NET Web API features (e.g., global exception handling of custom exceptions, scoping of filter attributes, serialization control, async filters). We wrapped things up by adding support for token-based security.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2014 Jamie Kurtz
About this chapter
Cite this chapter
Kurtz, J., Wortman, B. (2014). Dealing with Relationships, Partial Updates, and Other Complexities. In: ASP.NET Web API 2: Building a REST Service from Start to Finish. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-0109-1_7
Download citation
DOI: https://doi.org/10.1007/978-1-4842-0109-1_7
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-0110-7
Online ISBN: 978-1-4842-0109-1
eBook Packages: Professional and Applied ComputingApress Access BooksProfessional and Applied Computing (R0)