Learn your way! Get started

ASP.NET Web API, Part 1 of 4: Basics

with expert Phil Ledgerwood

Course at a glance

Included in these subscriptions:

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

Release date 6/15/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 Basics course gets your feet wet with an introduction to the basics of ASP.NET Web API including REST, GET, POST and other related topics. Then the course will look at the Web API routing and discuss Default Mapping, HTTP Method Attributes then finish up with filtering data techniques.


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

ASP.NET Web API Basics

Introduction to Web API (32:45)
  • Introduction (03:20)
  • What is ASP.NET Web API? (02:21)
  • REST (02:03)
  • GET (02:37)
  • POST (02:24)
  • PUT (01:14)
  • DELETE (00:50)
  • Demo:Creating Web API (01:10)
  • Demo:Back-end Code (03:03)
  • Demo:Using WPI (05:05)
  • Demo:GET (05:10)
  • Demo:POST, PUT, DELETE (03:04)
  • Summary (00:18)
Web API Routing (18:21)
  • Introduction (00:44)
  • Web API Routing (01:38)
  • Default Mapping (02:51)
  • Alternative Routing Convention (00:48)
  • HTTP Method Attributes (01:09)
  • AcceptVerbs Attribute (00:49)
  • Action Names in the URL (01:05)
  • Removing Actions from Routing (00:44)
  • Demo:Code for Routing (02:22)
  • Demo: Change Routing (01:18)
  • Demo: Tie to Many Methods (02:55)
  • Demo:Actions without Routing (01:33)
  • Summary (00:18)
Filtering Data (15:52)
  • Introduction (01:01)
  • Filtering Data with Parameters (02:57)
  • Filter (00:43)
  • Order By (00:47)
  • Paging (02:02)
  • There is More (01:16)
  • Demo:Filters (02:37)
  • Demo:Order By (01:12)
  • Demo:Paging (02:49)
  • Summary (00:24)