I was wondering if anyone had managed to write an orchard module using the new WebAPI in MVC4 beta? I've got stuck on getting the routing to work, and I'm not sure how to get the Orchard IoC working.
On the routing, the documentation all uses the MapHttpRoute extension method on RouteCollection, which can't be done in an IRouteProvider, and the Route constructor requires an IRouteHandler which I've not found a suitable implementation for WebAPI controllers.
IoC I suspect would work similar to WCF, though I haven't investigated this in detail yet.
Anyone had any success doing this?