O'Reilly logo

Building Web Services with Microsoft Azure by Nikhil Sachdeva, Stephen Kaufman, Alex Belotserkovskiy

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Securing the ASP.NET Web API

Multiple extension points in the ASP.NET Web API enable developers to implement a feature in different ways. Some features can be provided by the hosting platform while some are available as part of the ASP.NET Web API framework. In this section, we discuss options available for Web API authentication and authorization and delve into the details of some of the features provided by the ASP.NET Web API framework.

The following table lists the various options that can be used to secure an ASP.NET Web API:

Option

Description

Authentication filters

These provide a clean and granular way of implementing authentication for Web API controllers and actions. For example, they allow us to enable multiple authentication schemes ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required