Your SlideShare is downloading. ×
0
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Dependency Injection in Silverlight
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Dependency Injection in Silverlight

6,551

Published on

Designing Loosely Coupled Applications

Designing Loosely Coupled Applications

Published in: Technology
0 Comments
5 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
6,551
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
Comments
0
Likes
5
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • Transcript

    • 1. Better Application Design
    • 2. Better Application Design Caleb Jenkins “ Dependency Injection Microsoft Silverlight ” with
    • 3.  
    • 4.  
    • 5.  
    • 6.  
    • 7.  
    • 8.  
    • 9. email [email_address] Caleb Jenkins Principal Consultant blog developingUX.com twitter . com/calebjenkins Sample code at: http://developingux.com/ioc
    • 10. developingUX.com www.ImprovingEnterprises.com http://CommunityCast.tv http://ineta.org
    • 11. Dependency Injection, Inversion of Control and the Strategy Pattern
    • 12. Dependency Injection, Inversion of Control and the Strategy Pattern
    • 13. Our Hero
    • 14. has a quest
    • 15. to slay the dragon
    • 16. Our Hero The Dragon
    • 17. The Dragon
    • 18. but what if we wanted to
    • 19. but what if we wanted to rescue the princess,
    • 20. but what if we wanted to defend the castle rescue the princess,
    • 21. but what if we wanted to defend the castle use a horse and lance? rescue the princess,
    • 22. ?
    • 23. The Dragon
    • 24. a better way or
    • 25.  
    • 26.  
    • 27.  
    • 28.  
    • 29.  
    • 30.  
    • 31.  
    • 32.  
    • 33.  
    • 34.  
    • 35. <ul><li>DI is: </li></ul><ul><ul><li>More Flexible! </li></ul></ul><ul><ul><li>More Configurable! </li></ul></ul><ul><ul><li>More Testable! </li></ul></ul>
    • 36.  
    • 37.  
    • 38.  
    • 39. IoC / DI Frameworks http://www.castleproject.org/ http://www.springframework.net/ http://ninject.org/ http://www.codeplex.com/unity Policy Injection Application Block structuremap.sourceforge.net
    • 40.  
    • 41.  
    • 42.  
    • 43. Interceptors and Listeners The Knight is off to Slay the Dragon! The Knight just slayed the Dragon! It took :22 seconds!
    • 44. Interceptors and Listeners Slay the Dragon Security Must be a King with a Beautiful Reward Multi-Threading Invoke UI Thread Logging Knight is about to Slay the Dragon
    • 45.  
    • 46. <ul><li>Most “complete” stack </li></ul><ul><ul><li>ASP.NET Mono Rail </li></ul></ul><ul><ul><li>Micro Kernel </li></ul></ul><ul><ul><li>Windsor Kernel </li></ul></ul><ul><ul><li>Active Record </li></ul></ul><ul><ul><ul><li>nHibernate </li></ul></ul></ul><ul><li>Visual Studio Tooling </li></ul><ul><li>Mature Community </li></ul><ul><li>Integrates with ASP.NET MVC </li></ul><ul><li>ASP.NET | Sharepoint </li></ul><ul><li>Winforms | WPF | WCF | WF </li></ul><ul><li>Console Apps </li></ul>http://www.castleproject.org/
    • 47.  
    • 48. <ul><li>“ Spring Framework” is THE way to do JAVA development </li></ul><ul><li>Spring .NET is the .NET equivalent </li></ul><ul><li>Perfect bridge for Java Spring developers moving to .NET </li></ul><ul><li>Interface 21 </li></ul>http://www.springframework.net/
    • 49.  
    • 50. <ul><li>My current DI “crush” </li></ul><ul><li>Light weight / super fast </li></ul><ul><li>DI (Integrates with Castle for IoC / AOP) </li></ul><ul><li>.NET </li></ul><ul><li>Silverlight </li></ul><ul><li>Windows Mobile </li></ul><ul><li>No XML Config (Fluent Config) </li></ul>
    • 51.  
    • 52. <ul><li>From Microsoft </li></ul><ul><li>Integration with other Application Blocks </li></ul><ul><li>Microsoft Support </li></ul>http://www.codeplex.com/unity http://www.codeplex.com/ObjectBuilder
    • 53. http://www.castleproject.org/ http://www.springframework.net/ http://ninject.org/ http://www.codeplex.com/unity Policy Injection Application Block structuremap.sourceforge.net
    • 54. Not Covered
    • 55.  
    • 56. http://www.infragistics.com/hot/silverlight.aspx#InfragisticsandSilverlight
    • 57. Not Covered
    • 58. Not Covered Type Converters Sockets Deployment Options DataGrid Dynamically Loading Assemblies WCF Integration Advanced Debugging More More More More More
    • 59.  
    • 60. Questions?
    • 61. copyright
    • 62. [all images in this presentation are the property and copyright of their owners… Most of which I just found on the Internet and really have no idea who that might be.] copyright
    • 63. email [email_address] Caleb Jenkins Principal Consultant blog developingUX.com twitter . com/calebjenkins
    • 64. developingUX.com www.ImprovingEnterprises.com http://CommunityCast.tv http://ineta.org
    • 65. Thank you Sample code at: developing ux .com / ioc

    ×