hyprlinkr

ASP Web Api - IoC - Resolve HttpRequestMessage

我是研究僧i 提交于 2019-11-29 13:19:43
问题 I am trying to set up Castle Windsor with ASP.NET WebAPI. I am also using the Hyprlinkr package (https://github.com/ploeh/Hyprlinkr) and so need an instance of HttpRequestMessage injected in to one of the dependencies of my controller. I am following this article by Mark Seemann - http://blog.ploeh.dk/2012/04/19/WiringHttpControllerContextWithCastleWindsor.aspx , but I am finding that although the API runs, when I make a call to it, the request just hangs. No error message. It’s as if it’s in