Вопрос

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

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top