Language

Testing and debugging ASP.NET Web API

  1. Tracing in ASP.NET Web API

    By Mike Wasson|

    Shows how to enable tracing in ASP.NET Web API.

  2. Unit Testing with ASP.NET Web API

    By Tom FitzMacken|

    This guidance and application demonstrate how to create simple unit tests for your Web API 2 application. This tutorial shows how to include a unit test project in your solution, and write test met...

  3. Unit Testing Web API Controllers

    By Mike Wasson|

    Shows some specific techniques for unit testing controllers in Web API.

  4. Mocking Entity Framework when Unit Testing ASP.NET Web API 2

    By Tom FitzMacken|

    This guidance and application demonstrate how to create unit tests for your Web API 2 application that uses the Entity Framework. It shows how to modify the scaffolded controller to enable passing...

  5. Debugging ASP.NET Web API with Route Debugger

    This blog post describes the Route Debugger tool, written by Troy Dai, which helps to debug routing errors in ASP.NET Web API.

  6. Troubleshooting Windows Azure Web Sites in Visual Studio

    This tutorial shows how to use Visual Studio tools that help debug an application while it runs in a Windows Azure Web Site.

  7. Troubleshooting HTTP 405 Errors after Publishing Web API Applications

    By Robert McMurray||Level 200 : Novice

    This tutorial describes how to troubleshoot HTTP 405 errors after publishing a Web API application to a production web server.

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