Question

In WebApi 0.5.0, I would just define a new WebApiConfiguration, and register the CreateInstance method - this appears to have gone away in WebApi 4 (the current version that comes with ASP.net MVC 4).

How do I integrate Castle Windsor (or any other IoC container) with this new version of the framework?

Thanks

Was it helpful?

Solution

Everything you need can be found by starting from here.

If you follow the links in the post you will find all the information you need, including everything you need to register the components in the container.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top