开发者

How to learn Autofac fast for Windows development?

I'm about to start a p开发者_开发百科roject 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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜