I'm using Martin Deviller's tutorial to get MVC4's Web API working with Areas. I believe I've followed the instructions exactly, but GetControllerType throws the following exception when accessing "http://localhost/API/user":
Value cannot be null. Parameter name: controllerType
Does anyone have any ideas what could be causing this? This is what I've placed in my Area Registration file:
context.MapHttpRoute(
name: "API_default",
routeTemplate: "API/{controller}/{id}",
defaults: new { id = RouteParameter.Optional }
);
Thanks in advance.