Skip to main content

Dealing with Relationships, Partial Updates, and Other Complexities

  • Chapter
  • First Online:
ASP.NET Web API 2: Building a REST Service from Start to Finish
  • 2206 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 54.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 69.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints 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

Publish with us

Policies and ethics