Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I would like to introduce Autofac and after reading some of Umbraco 8 documentation it seems there is already one built in.
Would this mean Autofac is not supported or could i still use it?
Anyone used Autofac with Umbraco 8 before?
Umbraco 8 uses LightInject, I think the easiest and simplest way is to migrate using LightInject
@Yakov Lebski Thanks i will look into that.
If i have 2 class libraries (one for a custom section and another for models and controllers) and one web project, would LightInject sit within the Web project or is there a preferred way to store these dependencies?
The class library just use interfaces/implementation, you need to register it in web project
Ok, so adding the App_Code folder with the code to register would do the trick?
Yes, please see documentation for it
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted