سؤال

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