Simple play icon Course

Web API v2 Security

by Dominick Baier

Implementing Authentication and Authorization in ASP.NET Web API v2.

What you'll learn

The main feature focus of ASP.NET Web API v2 was security. There's a brand new authentication system and support for popular authentication methods, like OAuth2 tokens, that is already built-in. Additionally, it is now much easier to use Web APIs from JavaScript clients and the new security extensibility gives you powerful features to integrate your APIs in arbitrary security systems.

Table of contents


Course FAQ

What is Web API?

Basically a Web API is an application programming interface for either a web server or a web browser. It's a framework for building HTTP-based services that are accessible in different apps and on different platforms.

What's different between Web API version 1 and version 2?

In Web API version 1 security was mainly based on hosting specific features. In Web API v2 there's a completely new hosting infrastructure, new authentication infrastructure, and a lot of options around authorization, including token-based authentication and dual authorization.

Who is this course for?

This course is for anyone who wants to learn how to use Web API v2 and secure your APIs against attacks with effective authentication and authorization.

Are there prerequisites for this course?

This is an intermediate level course, so it assumes some prior experience with ASP.NET and in building and working with APIs. JavaScript and web dev skills will also help speed up the learning curve.

About the author

Dominick works as an associate consultant for the Germany-based company thinktecture ( His main area of focus is security in general and identity & access control in particular. He helps customers around the world implementing claims-based identity, single sign-on, authorization and federation in their web applications, services and APIs. Dominick is an international conference speaker and the author of "Developing more-secure ASP.NET Application" and co-author of th... more

Ready to upskill? Get started