Language

Security issues for Web API.

  1. Authentication and Authorization in Web API

    By Mike Wasson|

    Gives a general overview of authentication and authorization in ASP.NET Web API.

  2. Secure a Web API with Individual Accounts in Web API 2.2

    By Mike Wasson|

    This topic shows how to secure a web API using OAuth2 to authenticate against a membership database. Software versions used in the tutorial Visual Studio 2013 Update 3 Web API 2.2 ASP.NET Identity...

  3. ASP.NET Identity

    The ASP.NET Identity system is designed to replace the previous ASP.NET Membership and Simple Membership systems. It includes profile support, OAuth integration, works with OWIN, and is included with the ASP.NET templates shipped with Visual Studio 2013.

  4. External Authentication Services with Web API (C#)

    By Robert McMurray|

    Learn how to use Facebook, Google, Microsoft, and Twitter authentication with Web API and Single Page Applications.

  5. Preventing Cross-Site Request Forgery (CSRF) Attacks in Web API

    By Mike Wasson|

    Describes the cross-site request forgery (CSRF) attack and how to implement anti-CSRF measures in ASP.NET Web API.

  6. Enabling Cross-Origin Requests in Web API 2

    By Mike Wasson|

    Shows how to support Cross-Origin Resource Sharing (CORS) in ASP.NET Web API 2.

  7. Authentication Filters in Web API 2

    By Mike Wasson|

    An authentication filter is a component that authenticates an HTTP request. Web API 2 and MVC 5 both support authentication filters, but they differ slightly, mostly in the naming conventions for t...

  8. Basic Authentication in Web API

    By Mike Wasson|

    Describes using Basic Authentication in ASP.NET Web API.

  9. Forms Authentication in Web API

    By Mike Wasson|

    Describes using Forms Authentication in ASP.NET Web API.

  10. Integrated Windows Authentication

    By Mike Wasson|

    Describes using Integrated Windows Authentication in ASP.NET Web API.

  11. Working with SSL

    By Mike Wasson|

    Shows how to use SSL with ASP.NET Web API, including using SSL client certificates.

  12. Securing Web API

    In this video, Dominick Baier of thinktecture talks about authentication and authorization in Web API.

Essential Videos

Pluralsight

Microsoft has made it possible for you to enjoy this Pluralsight training free of charge. In addition, you can watch more videos free of charge from Microsoft.

1. Introduction

54 mins

2. Uniform Interface

46 mins

3. HttpClient

33 mins

4. Hosting

25 mins

5. Security

10 mins

6.Extensbility

27 mins

Sponsored By: Pluralsight

Unlock access to 3,000+ dev, IT and creative courses that you can watch anytime, anywhere.

Starting at $29/mo.

Free Trial! Free Subscribe Now!

Web API Books

Microsoft's Jon Galloway recommends these books for learning ASP.NET MVC:

Pro ASP.NET Web API

Pro ASP.NET Web API

by Tugberk Ugurlu, Alexander Zeitler

Designing Evolvable Web APIs with ASP.NET

Designing Evolvable Web APIs with ASP.NET

by Glenn Block, Pablo Cibraro, Pedro Felix, Howard Dierking, Darrel Miller

ASP.NET MVC 4 and the Web API: Building a REST Service from Start to Finish

ASP.NET MVC 4 and the Web API: Building a REST Service from Start to Finish

by Jamie Kurtz

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

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

by Filip Wojcieszyn