Categories

Blogroll

Search

Single source code base for Silverlight and WPF solutions

March 23rd, 2008 by kerrysoft and tagged , ,



Also see: Finally, the Killer App

At Mix08 , several people asked me about the possibility of creating a single source base for both WPF and Silverlight.  The scenario folks had in mind was to provide a reach solution with Silverlight that hits *ALL* possible users while also offering a really rich solutions for some users on full WPF (.NET Framework 3.0 or 3.5). 

This is a clear benefit of the Microsoft Ux platform.. We have worked hard to get a smooth continuum between WPF and Silverlight… Basically if it works in Silverlight you should be pretty sure it will work on WPF. 

I was chatting David Anson (one of the developers of the Silverlight 2 controls) and he mentioned that the shipping versions of ListBox and ScrollViewer were written this way!   That is right, to test out the continuum message, David built ListBox and ScrollViewer for Silverlight in such a way that the run (and past unit tests) on both WPF and Silverlight.  

Now, in and of itself, this is not all that interesting, because WPF already has a ListBox and ScrollViewer, but it does serve as a nice test case to demonstrate how you can build controls and applications that work on both Silverlight and WPF. 

Because we shipped the source and unit tests for the Silverlight controls, you can check this out yourself ! 

In addition, David did a nice blog detailing the work he did and why and posted the test project you can try out as well. 

On a related note, be sure to check out the final step of ScottGu’s Silverlight 2 tutorial…  Notice how easy it is for him to make a WPF application out of it.

<img src=”ht

Also see: Hosting

Also see: Claimspace: Against a Well-designed Reputation System

Also see: Claimspace: Against a Well-designed Reputation System

Also see: Finally, the Killer App

Also see: Playing Multiple Simultaneous Sounds in WPF

Also see: Chicago geek dinner 11/22

Also see: Natural Sorting in C#

Also see: Java Concurrency, another series on its issues

Also see: Finally, the Killer App

Also see: Merry Christmas Indeed!

Also see: Prototypes and Java Config with Spring

Also see: Updated Finalization and Hosting

Also see: Scott Guthrie presents at NDDNUG

Also see: Java perfomance talk

Also see: Aggregators rock!

Also see: A first stab at BaseN encoding with a focus on general alphabet encoding.

Also see: Prototypes and Java Config with Spring

Also see: Chicago geek dinner 11/22

Also see: Updated Finalization and Hosting

Also see: From C# to Java: Part 3

Also see: DevWeek 2008 Cross Platform Silverlight Demos

tp://blogs.msdn.com/aggbug.aspx?PostID=8145264″ width=”1″ height=”1″>
http://blogs.msdn.com/brada/archive/2008/03/11/single-source-code-base-for-silverlight-and-wpf-solutions.aspx

Posted in Technology | Comments Off

Create a free edublog to get your own comment avatar (and more!)

Comments are closed.