• .NET

    Dynamic XAP loading with MEF in Task-It - Part 1

    March 29, 2010 Share
    Download Source Code Task-It Series This post is part of a series of blog posts and videos about the Task-It (task management) application that I have been building with Silverlight 4 and Telerik's RadControls for Silverlight 4. For a full index of these resources, please go here. One of the posts listed in the index provides a full source download for the application. The need for lazy loading In my MEF into post, MEF to the rescue in Task-It, I outlined a couple of issues I was facing and explained why I chose MEF (the Managed Extensibility Framework) to solve these issues. The first issue was the fact that my application...
  • .NET

    Decouple RadRibbonBar with Composite Silverlight (Prism)

    Let's suppose we want to decouple our application that uses RadRibbonBar as a main menu. Doing this using Composite Application Guidelines (Prism) is common scenario, so let's see how to achieve it. We'll make our RadRibbonBar to serve as RegionManager (This is possible because RadRibbonBar inherits from ItemsControl) and the RadRibbonTabs as actual views that will be plugged-in. So first we start with declaring RadRibbonBar as RegionManager : <telerikRibbonBar:RadRibbonBar Regions:RegionManager.RegionName="RibbonRegion" /> Having Region we can focus on creating the actual views. Let's add new Silverlight class library project and name it SalesRibbonTab. Now we need the view itself, so add new class let's say Ribbon...
  • .NET

    MVVM in Task-It

    March 24, 2010 Share
    Download Source Code Task-It Series This post is part of a series of blog posts and videos about the Task-It (task management) application that I have been building with Silverlight 4 and Telerik's RadControls for Silverlight 4. For a full index of a posts, please go here. One of the posts listed in the index provides a full source download for the application. Why MVVM? As I'm gearing up to write a post about dynamic XAP loading with MEF, I'd like to first talk a bit about MVVM, the Model-View-ViewModel pattern, as I will be leveraging this pattern in my future posts. Your first question may be, "why do I need this...
  • .NET

    Moving from Silverlight 4 Beta to RC - Part 2

    March 24, 2010 Share
    In my previous post I talked about updating my development environment from Silverlight 4 Beta to Silverlight 4 RC (release candidate). After updating, I opened the solution for my Task-It project and found that several things were broken. I would've been surprised if it just worked as is! What disappointed me is that after spending a decent amount of time searching the web, I could not find information telling me what I needed to update/change...and wouldn't it be nice if there was a wizard to update it for you? What changed? I wish I had made notes along the line of each of the...
  • .NET

    Moving from Silverlight 4 Beta to RC - Part 1

    March 24, 2010 Share
    The other day I had finished up my Task-It Webinar, written a few blog posts, and knew the time had come to move from my Silverlight 4 Beta environment up to the latest RC (release candidate) bits that were released last Monday. What disappointed me when I went to the Silverlight 4 Information Page is that it told me what to install, but not what to uninstall first. Uninstalling I'm not entirely sure if I had to uninstall anything, or if installing the new stuff would just work, but in poking around the web I found posts stating that you must uninstall...