• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Dependency Injection in Silverlight
 

Dependency Injection in Silverlight

on

  • 9,483 views

Designing Loosely Coupled Applications

Designing Loosely Coupled Applications

Statistics

Views

Total Views
9,483
Views on SlideShare
9,372
Embed Views
111

Actions

Likes
5
Downloads
0
Comments
0

6 Embeds 111

http://developingux.com 78
http://www.slideshare.net 26
http://calebjenkins.com 4
http://www.codemav.com 1
http://www.docseek.net 1
https://twitter.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

CC Attribution License

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Dependency Injection in Silverlight Dependency Injection in Silverlight Presentation Transcript

  • Better Application Design
  • Better Application Design Caleb Jenkins “ Dependency Injection Microsoft Silverlight ” with
  •  
  •  
  •  
  •  
  •  
  •  
  • email [email_address] Caleb Jenkins Principal Consultant blog developingUX.com twitter . com/calebjenkins Sample code at: http://developingux.com/ioc
  • developingUX.com www.ImprovingEnterprises.com http://CommunityCast.tv http://ineta.org
  • Dependency Injection, Inversion of Control and the Strategy Pattern
  • Dependency Injection, Inversion of Control and the Strategy Pattern
  • Our Hero
  • has a quest
  • to slay the dragon
  • Our Hero The Dragon
  • The Dragon
  • but what if we wanted to
  • but what if we wanted to rescue the princess,
  • but what if we wanted to defend the castle rescue the princess,
  • but what if we wanted to defend the castle use a horse and lance? rescue the princess,
  • ?
  • The Dragon
  • a better way or
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
    • DI is:
      • More Flexible!
      • More Configurable!
      • More Testable!
  •  
  •  
  •  
  • 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
  •  
  •  
  •  
  • Interceptors and Listeners The Knight is off to Slay the Dragon! The Knight just slayed the Dragon! It took :22 seconds!
  • 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
  •  
    • Most “complete” stack
      • ASP.NET Mono Rail
      • Micro Kernel
      • Windsor Kernel
      • Active Record
        • nHibernate
    • Visual Studio Tooling
    • Mature Community
    • Integrates with ASP.NET MVC
    • ASP.NET | Sharepoint
    • Winforms | WPF | WCF | WF
    • Console Apps
    http://www.castleproject.org/
  •  
    • “ Spring Framework” is THE way to do JAVA development
    • Spring .NET is the .NET equivalent
    • Perfect bridge for Java Spring developers moving to .NET
    • Interface 21
    http://www.springframework.net/
  •  
    • My current DI “crush”
    • Light weight / super fast
    • DI (Integrates with Castle for IoC / AOP)
    • .NET
    • Silverlight
    • Windows Mobile
    • No XML Config (Fluent Config)
  •  
    • From Microsoft
    • Integration with other Application Blocks
    • Microsoft Support
    http://www.codeplex.com/unity http://www.codeplex.com/ObjectBuilder
  • http://www.castleproject.org/ http://www.springframework.net/ http://ninject.org/ http://www.codeplex.com/unity Policy Injection Application Block structuremap.sourceforge.net
  • Not Covered
  •  
  • http://www.infragistics.com/hot/silverlight.aspx#InfragisticsandSilverlight
  • Not Covered
  • Not Covered Type Converters Sockets Deployment Options DataGrid Dynamically Loading Assemblies WCF Integration Advanced Debugging More More More More More
  •  
  • Questions?
  • copyright
  • [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
  • email [email_address] Caleb Jenkins Principal Consultant blog developingUX.com twitter . com/calebjenkins
  • developingUX.com www.ImprovingEnterprises.com http://CommunityCast.tv http://ineta.org
  • Thank you Sample code at: developing ux .com / ioc