How to learn Autofac fast for Windows development?

12,373

I put up a set of simple posts on Dependency Injection (and its benefits) here. The whole thing should take perhaps 20 minutes to read.

Share:
12,373

Related videos on Youtube

Sophie Crystal Taylor
Author by

Sophie Crystal Taylor

I'm fairly new to the world of .NET coming from a Java/C++ background. Feel free to give me some pointers!

Updated on May 02, 2022

Comments

  • Sophie Crystal Taylor
    Sophie Crystal Taylor almost 2 years

    I'm about to start a project where the IoC being used is AutoFac - at a new company. I have no prior experience with DI/IoC and want to get up to speed on this so I don't look toooo unintelligent. This will be for a WPF application (which again I'm not too cluey about but that will be OK)

    What are some good resources I could use to learn Autofac and IoC in general? I start in our initial phase on Monday next week :( I've held off everything this weekend to study!

    I should mention that while the idea of IoC's are great, I don't see how we carry the "container" around with us when we use it in other areas. Do we create a singleton (that seam to say badness) or do we create a static class with an accessor to GetService?

    EDIT: I am reading through the codeproject article on Autofac and sort of have an idea of what IoC is trying to solve via the NInject tutorial too, but nothing solid.