Sharing Source and Skills – Source download

At the MIX ‘09 conference this year, I presented a talk, “Sharing Skills and Code with Silverlight & WPF“. Here’s the sample application and control source code that was used throughout the talk.

It demonstrates simple concepts for linking files from a Silverlight to WPF project, using partial classes and partial methods, preprocessor directives, and other tools to create projects that work throughout the Microsoft Client Platform.

Silverlight sample application

Silverlight Application

WPF sample application -100% the same source

WPF Application

Download the samples – Zip, 596 KB
The Zip contains the following work:

  • Toolbar control for Silverlight and WPF
  • Sample application for the Toolbox
  • Continuum application – same XAML and CS shared between a Silverlight and WPF application that uses the DataGrid, charting controls, and our custom Toolbar control
  • Value-add code, Awesome.cs, that adds some simple functionality to the WPF application only

Hope this helps.

Share and Enjoy:
  • Live
  • Digg
  • DotNetKicks
  • Technorati
  • del.icio.us
  • Facebook
  • Print
  • Google Bookmarks

Comments

  1. Evhen
    April 3rd, 2009 | 2:55 pm

    The download link doesn’t work. Where can I get it? Thanks

  2. April 3rd, 2009 | 2:58 pm

    Thank you Jeff – this will really help.

  3. April 3rd, 2009 | 3:01 pm

    Hi Jeff,

    The download link does not seem to be working.

  4. samcov
    April 3rd, 2009 | 4:15 pm

    This will really help, but only if the source code link works(lol).

  5. WASPCN
    April 3rd, 2009 | 4:59 pm
  6. April 4th, 2009 | 10:10 am

    Thanks folks, I’ve corrected the link. Forgot the http prefix!

  7. Andrew
    April 6th, 2009 | 7:18 am

    Thanks Jeff

  8. Pritish
    April 14th, 2009 | 11:00 pm

    Hey,

    The following DLL shows some error.

    Please help me !!!

  9. Pritish
    April 14th, 2009 | 11:00 pm

    This is the Dll: SampleControl

  10. April 14th, 2009 | 11:07 pm

    @Pritish, could you share some more information about the problem you’re seeing, so that I can help?

  11. webster
    April 28th, 2009 | 8:02 pm

    Hi Jeff, could you share where we might be able to find the source or .dlls for the WPF counterparts to the Silverlight beta 3 controls?

    I’ve tried looking on the codeplex site but have had no luck.

    I saw in the sample there was a System.Windows.Controls.DataVisualization.Toolkit for WPF, but no System.Windows.Controls.Data.DataForm, or System.Windows.Controls.Input.

    Thanks!

  12. April 28th, 2009 | 8:04 pm

    @webster,
    Unfortunately, there aren’t WPF counterparts to those beta controls available today. The data visualization work was a proof of concept, but otherwise, there’s nothing new to announce here. Sorry!

  13. webster
    April 29th, 2009 | 8:49 am

    I knew it was too good to be true (jk)!

    But I’d really like to reuse some of the SL beta 3 controls, at least the AutoCompleteBox.

    Since the SL beta 3 source code is available, maybe a quick tutorial could help get some of us started in sharing some of that source and skill over to WPF.