HttpControllerContext controllerContext = new HttpControllerContext() { Configuration = config };
is the offending line.
Comments: https://aspnetwebstack.codeplex.com/workitem/1287
is the offending line.
Comments: https://aspnetwebstack.codeplex.com/workitem/1287