4 ms·
to be fair autofac is not really needed in most projects. you can even write a bunch of lines that will automatically register all your controller dependencies
by merb 8y ago
to be fair autofac is not really needed in most projects.
you can even write a bunch of lines that will automatically register all your controller dependencies. (of course autofac makes this more simple). but I actually prefer explicit registration (i had the implicit variant on guice and as soon as the project was big, implicit is a mess).
- joshschreuder 8y agoThere's also Scrutor (https://github.com/khellang/Scrutor https://github.com/khellang/Scrutor) which makes assembly scanning and registering dependencies really easy too