开发者

Does autofac initialize all registered components at app bootrap?

I just registered some components with builder, and I want to know whether all components initialize during application startup time? 开发者_运维问答If so the app bootstrap may take more longer. But I see in spring.net IOC, it has an attribute of "lazy-ini" to allow target components to be initialized at first time user requesting a page. Can somebody tell me how autofac dealing with this? Much appreciate for your answers.


By default, it does not construct any registered types when building the container.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜