title: Silverlight application resources for global access to a singleton
body: <p>I have a singleton which once hit will load user profile information, I want to make it an application level resource in my SL3 application so that elements across the application can bind to it.</p>
  
  <p>My code version of the instantiaion is a simple </p>
  
  <pre><code>UserProfile x = UserProfile.GetInstance();
  </code></pre>
  
  <p>I want to be able to do this in xaml in the app.xaml file and in WPF we have the ObjectDataProvider so I can express something like </p>
  
  <pre><code>&lt;ObjectDataProvider MethodName="GetInstance" 
  ObjectType="{x:Type local:UserProfile}" x:Key="CurrentUserProfile"/&gt;
  </code></pre>
  
  <p>I am struggling to find the right implementation for this in SL3.</p>