Introduction To Dependency Injection Using Spring.NET

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

1 comments

Comments 1 - 1 of 1 previous next Post a comment

Post a comment
Embed Video
Edit your comment Cancel

Notes on slide 1

Hello. Thank you all for being here. My name is Ryan Montgomery. I am a Senior .NET Applications Developer at Rapidparts Inc. over in Walker, MI. which is on the West Side of Grand Rapids. Rapidparts sells aftermarket forklift parts through the web, so our team of developers creates and maintains many web applications. We’re pretty much a Microsoft shop, except for a few areas where we utilize other frameworks and products to make our applications better and our jobs easier. One of those frameworks is Spring.NET.

1 Favorite

Introduction To Dependency Injection Using Spring.NET - Presentation Transcript

  1. Introduction to Dependency Injection using Spring.NET Ryan Montgomery
  2. So why Spring.NET?
    • We use more than IoC.
    • Well documented.
    • Large community.
    • A proven framework.
    • Supported.
  3. Spring.Core
    • IoC is the heart of spring.
    • Additional Features
      • Expression Language
      • Validation Framework
      • Data binding Framework
      • Dynamic Reflection
      • Threading
      • Resource abstraction
  4. What is Inversion of Control?
    • Hollywood Principle.
      • “ Don't call us, we'll call you.”
    • Dependency Injection
    • Service Locator
  5. What is Dependency Injection?
    • “ Dependency injection is a style of object configuration in which an objects fields and collaborators are set by an external entity. In other words objects are configured by an external entity . Dependency injection is an alternative to having the object configure itself.”
      • Jenkov Aps
  6. DAO Refactor 0
  7. DAO Refactor 0
  8. DAO Refactor 1
  9. DAO Refactor 2
  10. Biz Component
  11. Biz Component
  12. Spring IoC Container
    • Responsible for the Instantiation and Injection of dependencies based on configuration.
    • The IObjectFactory is the actual representation of the Spring IoC container.
    • The most commonly used IObjectFactory implementation is the XmlObjectFactory class.
  13. Demo This demonstration is based on the Movie Finder example in Spring.NET.
  14. Contact Information
    • Ryan Montgomery
      • Blog
        • http://rmontgomery429.blogspot.com
      • Email
        • [email_address]
    • Rapidparts Inc.
      • Site
        • http://www.rpionline.com
      • Blog
        • http://blogs.rpionline.com
  15. References
    • Spring.NET Framework
      • Chapter 5. The IoC container
        • http://www.springframework.net/doc-latest/reference/html/objects.html
    • Martin Fowler
      • Inversion of Control Containers and the Dependency Injection pattern
        • http://martinfowler.com/articles/injection.html
    • Jenkov
      • What is Dependency Injection
        • http://tutorials.jenkov.com/dependency-injection/index.html
  16. Parking Lot

+ Ryan MontgomeryRyan Montgomery, 2 years ago

custom

1936 views, 1 favs, 2 embeds more stats

Inversion of Control a.k.a. Dependency Injection op more

More info about this document

© All Rights Reserved

Go to text version

  • Total Views 1936
    • 1913 on SlideShare
    • 23 from embeds
  • Comments 1
  • Favorites 1
  • Downloads 37
Most viewed embeds
  • 18 views on http://blogs.rpionline.com
  • 5 views on http://rmontgomery429.blogspot.com

more

All embeds
  • 18 views on http://blogs.rpionline.com
  • 5 views on http://rmontgomery429.blogspot.com

less

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

Cancel
File a copyright complaint
Having problems? Go to our helpdesk?

Categories