(X) Hide this Watch a recording of the recent webinar by Brian Noyes: Querying and Updating Data From Silverlight Clients with WCF RIA Services
See the recording | Read WCF RIA Services Article series by Brian Noyes | More SilverlightShow webinars
Become a member to receive all webinar news by email, or follow all webinar news on Twitter | Facebook | LinkedIn
Skip Navigation LinksHome / Search

Search

 
Results Per Page

Found 2 results for Dependency Injection.
Date between: <not defined> and <not defined>
Search in: News , Articles , Tips , Shows , Showcase , Books

Order by Publish Date   Ascending Title   Rating  

  • 0 comments  /  posted by  Silverlight Show  on  Jan 18, 2011 (3 weeks ago)

    SilverlightShow Page for all Silverlight and Windows Phone 7 (WP7) things on TwitterJeff Brand has posted a simple example of Dependency Injection.

    Source: SlickThought.Net

    Let’s start by painting a simple scenario: I have a ViewModel that lists a collection of data items. Let’s say a list of Tweets based on a given hash tag search. The ViewModel has a SaveCommand that I will wire into my view. When the user causes the SaveCommand to execute, the ViewModel will leverage some service to persist the selected tweet to some form of storage. And there is the rub… Maybe in v1, I will save that tweet in IsolatedStorage, but in the future, I will want to also provide an option to select a cloud-based storage solution. This is is where we start to hear all kind of things about Dependency Injection, IoC, and more.


  • 0 comments  /  posted by  Silverlight Show  on  Dec 20, 2010 (1 month ago)
    In this tutorials Timmy Kokke shows you how to use Dependency Injection when building a Silverlight application using the MVVM pattern.

    Source: Timmy Kokke's Blog

    There are numerous Dependency Injection Frameworks. For this tutorial I’ve chosen Ninject. The main idea on how to implement DI in your application is pretty much the same for all frameworks. In this tutorial I hope I can give you a small introduction in using Ninject in you projects.

    Ninject is an open source project which can be found at www.ninject.org. Ninject is also available through the NuGet tool in Visual Studio. Have look at my NuGet tutorial on how to get it through that.