Learn your way! Get started

ASP.NET Web API, Part 2 of 4: HTTP Pipeline

with expert Phil Ledgerwood

Course at a glance

Included in these subscriptions:

  • Dev & IT Pro Video
  • Dev & IT Pro Power Pack

Release date 6/16/2012
Level Advanced
Runtime 1h 6m
Closed captioning Included
Transcript Included
eBooks / courseware Included
Hands-on labs Included
Sample code Included
Exams Included

Enterprise Solutions

Need reporting, custom learning tracks, or SCORM? Learn More

Course description

The ASP.NET Web API HTTP Pipeline course starts with data exchange through the Pipeline, covering Pipeline Elements and HTTP request, response and message handlers. The course then moves on to Improving HTTP Responses with CRUD responses and Exception Handling and finish up with Custom Handlers.


This course assumes that students have some programming background and experience using Visual Studio 2010 and Visual C#. A basic understanding of JavaScript, the ASP.NET MVC framework, and web services will be helpful but not required.

Learning Paths

This course will help you prepare for the following certifications and exams:
MCSD: SharePoint Applications
MCSD: Web Applications
70-486: Developing ASP.NET MVC Web Applications

This course is part of the following LearnNowOnline SuccessPaths™:
Building Web Services

Meet the expert

Philip Ledgerwood has been a software developer for fifteen years. He currently works primarily in .NET technologies producing custom software for organizations of all sizes. He has also done extensive training for those same organizations in both technical and business process topics. Philip is a strong advocate of Lean and agile software development and spends most of his time helping companies interested in the value those practices can bring to their development efforts. He does this through a combination of training and working "in the trenches" as a developer on these teams, keeping a hand in the academic side of emerging technology and practices while also directly applying it in real projects to bring real business value.

Course outline


Pipeline Elements (21:26)
  • Introduction (00:40)
  • Pipeline Elements (03:09)
  • HttpRequestMessage (00:56)
  • HttpResponseMessage (01:52)
  • HttpMessageHandler (01:09)
  • Client-Side Pipeline (03:00)
  • Server-Side Pipeline (04:52)
  • Demo: Using Pipeline (05:25)
  • Summary (00:17)
Improving HTTP Responces (27:58)
  • Introduction (01:08)
  • Improving CRUD Responses (01:46)
  • Exception Handling (01:50)
  • Demo:CRUD Operation (02:40)
  • Demo:Exception (01:38)
  • Demo: Httpresponsemessage (04:18)
  • Demo: Put and Delete (02:10)
  • Demo: More Response Exceptions (02:57)
  • Demo: New Exception (01:13)
  • Demo: Exception Filters (05:00)
  • Demo: Wire up into App (02:51)
  • Summary (00:22)
Custom Handlers (17:33)
  • Introduction (01:03)
  • Custom Handlers (01:34)
  • Demo: Custom Handlers (02:38)
  • Demo: Handler to Pipeline (03:22)
  • Demo: Add Message to Headers (03:38)
  • Demo: Message to Custom Header (03:00)
  • Demo: Private Static Void (01:56)
  • Summary (00:19)