Replies: 4 comments 5 replies
-
@tapika Hi, thanks for asking
Generally, I would love to see the experimentation in this area. I am planning to develop more ergonomic compile-time features based on the DryIocZero. Possibly using the source code generation or t4 from the Mono, see #214 |
Beta Was this translation helpful? Give feedback.
-
I by myself haven't used yet DryIocZero container. Originally I've found good comparison between different IoC containers, and even raised some tickets related to that one to I'm planning to analyze assembly loading and unloading issues in depth and maybe will return to them within my own As for Ioc containers - choco has Autofac, Caliburn Micro, SimpleInjector in use. I would prefer to have one good IoC container, not 3. I was thinking that if I'll go from user interface perspective - then Caliburn Micro would be still built in into UI. (Unless I find a really clever way to chop it off). Were you ever thinking about taking Caliburn Micro and merge DryIocZero container features ? Or alternatively take Caliburn Micro features and build them into DryIocZero ? Or just start from scratch and pick up best pieces of two libraries ? My own requirement - support of 200x assemblies - this is more or less reality for one of projects I'm working on, and incremental build needs to be fast. Taking into account that besides managed assemblies there could be also native dll's mixed in, and dislocated in multiple folders across main application root folder. And dynamic load/ unload needs to be supported eventually. But concerning containerizing in general - here is also one example where I would like to drive containerizing: |
Beta Was this translation helpful? Give feedback.
-
I've been toying around with assembly/module loading/unloading based on following 2 MS docs links:
However, during my toying around... I noticed that when utilizing the Unregister method (both generic and non-generic variants), it will keep a reference to the ServiceType in |
Beta Was this translation helpful? Give feedback.
-
In progress, I did not forget :) |
Beta Was this translation helpful? Give feedback.
-
I'm not sure if this can be implemented - but it would be nice to support multiple assemblies by one
DryIocSize compilation - but then either using T4 template or anykind of tool much be able to pre-cache assembly type information.
For example application can have 200 assemblies, and it would be useful to precache all of them, just in case one assembly changes, but not the rest.
Also some of assemblies needs to be configured as plugins (maybe by folder name) - their information will be fetched only if particular assembly is loaded. If assembly is unloaded - then DryIocZero should not provide it's information as well.
Suspect here are two new requirements.
Beta Was this translation helpful? Give feedback.
All reactions