Enterprise Dependency Injection for Future Proofing Apps
A introduction level talk about how BlueBolt uses dependency injection to make application components and dependencies easy to implement and replace, while making code more maintainable.
.NET developer since 2005 • Throughout that time I have been focused on developer practices. • I have worked for 8 fortune 500 companies and 3 nationally recognized non-profits in a consulting role. • My current role at BlueBolt Solutions is Security Engineer / Enterprise Architect / Solutions Developer • I am around the internet under the handle @punkcoder
way of decoupling classes • It’s a form of Interface Based Programming • It includes a “container” • This comes in two forms: • Injecting major dependencies • Inject all the things…
your applications into small replaceable pieces. • Dependency Injection allows for quick mocking and unit testing. • Dependency Injection makes code more flexible.
• Know the package • Control the Life Cycle • Is this the BEST solution… No, But… • It achieves what we want… • We were able to completely change our DAL layer in 3 hours. • It is easy to read and understand • It is fast, for our solution it is ~550ms on startup.
the processing of plugins from other libraries. • We dynamically load interfaces from the application specifically looking for instances where we want to load all.
way I can improve and the only way that amegala can help to get only the best speakers. • http://prairiecode.amegala.com/evals • http://prairiecode.amegala.com/evals