Skip to content
This repository has been archived by the owner on Jul 4, 2019. It is now read-only.

Latest commit

 

History

History
9 lines (6 loc) · 342 Bytes

File metadata and controls

9 lines (6 loc) · 342 Bytes

ASP.NET-WebApi-GetRouteData-example

A complete, working example of how to use System.Web.Http.HttpRouteCollection.GetRouteData(). Created like this:

  1. In VS 2013, New Project -> Web, ASP.NET Web Application
  2. Select WebAPI. Check "Add unit tests".
  3. Add the following unit test:

https://gist.github.com/JayBazuzi/f06775e1c92131352ed5