How to Explain Autofac Modules & Code Organization For Newbies

I've been writing a little bit about Autofac and why it's rad, but today I want to talk about Autofac modules. In my previous post on this, I talk about one of drawbacks to the constructor dependency pattern is that at some point in your application, generally in the entry point, you get allllll of this spaghetti code that is the setup for your code base. Essentially, we've balanced having nice clean testable classes with having a really messy spot in the code. But it's only ONE spot and the rest of your code is nice. So it's a decent trade off. But we can do better than that, can't we? What are Autofac Modules? We can use Autofac modules to organize some of the code that we have in our entry point into logical groupings. So an Autofac module…


Recognition – Weekly Article Dump

Recognition - Weekly Article Dump Not all of the articles this week touch on recognition, and to be honest, I didn't pick it as a theme for the articles either. Recognition is more a topic of discussion that's come up over the last week at Magnet Forensics, where I work. Being a team lead and part of the management team at Magnet, I'm often part of conversations about motivation. Providing recognition is an excellent way to motivate your staff and shows that you truly appreciate them. We've been trying to get better at recognizing staff for doing an awesome job--especially because we have so many awesome people working with us. It's pretty obvious with our Profit Hot 50 placement that we've got some kick-ass people. Recognition, whether it's one-on-one or in a public setting, has a huge impact. I don't…


End of content

No more pages to load