I have a project where Webforms has to be used and would like to introduce Autofac.
I've seen some examples but all are using MVC and wonder if anyone has used Autofac with Webforms for Umbraco 7 and if so is it just a matter of installing AF and then overriding Umbraco.Web.UmbracoApplication (Global.asax) with AF instances?
If anyone can give me a brief example, that would be awesome. Ideally i would create my Interfaces and then the class which in turn would inherit from it.
Autofac with Webforms
I have a project where Webforms has to be used and would like to introduce Autofac.
I've seen some examples but all are using MVC and wonder if anyone has used Autofac with Webforms for Umbraco 7 and if so is it just a matter of installing AF and then overriding Umbraco.Web.UmbracoApplication (Global.asax) with AF instances?
If anyone can give me a brief example, that would be awesome. Ideally i would create my Interfaces and then the class which in turn would inherit from it.
Thanks
you can find complete example here https://our.umbraco.com/Documentation/Reference/Using-Ioc/index-v7
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.