FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [View Raw Code]   [Original HTTPS Page]

Talks.CodeToDiFor/README.md at main · calebjenkins/Talks.CodeToDiFor · GitHub

Latest commit

 

History

History
24 lines (23 loc) · 851 Bytes

File metadata and controls

24 lines (23 loc) · 851 Bytes

Talks.CodeToDiFor

Demo code for "Code to DI for" - http://developingux.com/2016/03/14/code-to-di-for-in-ft-worth/

Objectives:

  • common dependency injection patterns
    • Constructor Injection
    • Property / Method Injection
    • LifeCycles (Singleton/Transient/Per Request)
  • various IoC/DI frameworks
  • practical steps and guidance
    • Using Conventions / Autoregistration
    • Avoiding "Common Service Locator" Pattern
    • Compositional Root
  • real world scenarios
    • DI with Static Singletons
    • DI with Existing Types
    • DI with Collections (IList)
    • Specifying Injected Dependencies
    • Forwarder pattern (for caching/retry logic on edges)
  • impact to Unit Testing
    • DI with Mocks / Fakes
  • application architecture
    • Compositional Root (Favor composition over inheritance)
    • Essentailly: realized SOLID

Back | FazBrowse Home | New Git URL