|
Click the image to be able to follow links and view comments. NotesAutomatic registration is a way to automatically detect and register components within an assembly (or larger environment). It can also be called batch registration. Andrey Shchekin: As I noted before, automatic registration is a way to register all types in given set of assemblies/namespaces based on attributes or other conventions. I find it very useful, since the convention-driven approach saves time on configuration and lessens a chance of a configuration error.
Some people consider attributes to be POCO, some not. I tend to agree with the latter when we are talking about DI frameworks. So no red points or yellow points if framework has no attributes, this column just for your information.
As for XML, I have a very strong opinion — only if actually needed, only as much as actually needed.
|