<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" version="2.0"><channel><title>.NET &amp; Funky Fresh</title><link>http://devlicio.us/blogs/rob_eisenberg/default.aspx</link><description>Check out the &lt;a href="http://www.amazon.com/gp/product/0672329859?&amp;amp;camp=212361&amp;amp;linkCode=wey&amp;amp;tag=bluspiconinc-20&amp;amp;creative=380733"&gt;WPF book&lt;/a&gt; &lt;a href="http://devlicio.us/blogs/christopher_bennage/default.aspx"&gt;CB&lt;/a&gt; and I authored!</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP1 (Build: 31106.3070)</generator><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/FunkyFresh" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="funkyfresh" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item><title>Durandal 1.2.0 and Caliburn.Micro 1.5.0 Released!</title><link>http://devlicio.us/blogs/rob_eisenberg/archive/2013/03/18/durandal-1-2-0-and-caliburn-micro-1-5-0-released.aspx</link><pubDate>Tue, 19 Mar 2013 00:10:59 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:102953</guid><dc:creator>Rob Eisenberg</dc:creator><slash:comments>8</slash:comments><wfw:commentRss>http://devlicio.us/blogs/rob_eisenberg/rsscomments.aspx?PostID=102953</wfw:commentRss><comments>http://devlicio.us/blogs/rob_eisenberg/archive/2013/03/18/durandal-1-2-0-and-caliburn-micro-1-5-0-released.aspx#comments</comments><description>&lt;p&gt;Two awesome releases in the last week! Much thanks to the great community surrounding both projects! Here’s what’s new:&lt;/p&gt;  &lt;h3&gt;Durandal 1.2.0&lt;/h3&gt;  &lt;ul&gt;   &lt;li&gt;Tons of bug fixes.&lt;/li&gt;    &lt;li&gt;Lots of improvements to the router.&lt;/li&gt;    &lt;li&gt;Better support for integrating with Q, KendoUI and Dojo.&lt;/li&gt;    &lt;li&gt;More docs.&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;a href="https://github.com/BlueSpire/Durandal/blob/master/Changes.txt" target="_blank"&gt;Check out the full set of changes.&lt;/a&gt;&lt;/p&gt;  &lt;h3&gt;Caliburn.Micro. 1.5.0&lt;/h3&gt;  &lt;p&gt;Nigel Sampson and Thomas Ibel are going to town these days! Some really cool stuff happening in this release. Here’s a few things:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;Task and Async support (on all platforms except SL4 and WP71)&lt;/li&gt;    &lt;li&gt;Task/Coroutine integration.&lt;/li&gt;    &lt;li&gt;Actions can return tasks.&lt;/li&gt;    &lt;li&gt;More async stuff in general.&lt;/li&gt;    &lt;li&gt;Support for the WinRT Share Charm&lt;/li&gt;    &lt;li&gt;Support for the WinRT Settings Charm&lt;/li&gt;    &lt;li&gt;Various bug fixes and minor improvements throughout.&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;You can get the latest versions of both of these frameworks on Nuget.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=102953" width="1" height="1"&gt;</description><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/WPF/default.aspx">WPF</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Xaml/default.aspx">Xaml</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/WPF_2F00_e/default.aspx">WPF/e</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Caliburn/default.aspx">Caliburn</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Silverlight/default.aspx">Silverlight</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/RIA/default.aspx">RIA</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/MVVM/default.aspx">MVVM</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/UI+Architecture/default.aspx">UI Architecture</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Caliburn+Micro/default.aspx">Caliburn Micro</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/WP7/default.aspx">WP7</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/NuGet/default.aspx">NuGet</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/JavaScript/default.aspx">JavaScript</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Durandal/default.aspx">Durandal</category></item><item><title>Introducing Durandal</title><link>http://devlicio.us/blogs/rob_eisenberg/archive/2013/02/18/introducing-durandal.aspx</link><pubDate>Mon, 18 Feb 2013 18:32:00 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:86082</guid><dc:creator>Rob Eisenberg</dc:creator><slash:comments>22</slash:comments><wfw:commentRss>http://devlicio.us/blogs/rob_eisenberg/rsscomments.aspx?PostID=86082</wfw:commentRss><comments>http://devlicio.us/blogs/rob_eisenberg/archive/2013/02/18/introducing-durandal.aspx#comments</comments><description>&lt;p&gt;Today I&amp;#39;m very excited to officially bring to you &lt;a target="_blank" href="http://durandaljs.com/"&gt;Durandal&lt;/a&gt;!&lt;/p&gt;
&lt;p&gt;&lt;a target="_blank" href="http://durandaljs.com/"&gt;Durandal&lt;/a&gt; is a new open source JavaScript library for rich client application development. It focuses on providing an enjoyable and productive developer experience centered around simple conventions and standard patterns like MVC, MVP and MVVM. &lt;a target="_blank" href="http://durandaljs.com/"&gt;Durandal&lt;/a&gt; is built on libs you know and love like &lt;a target="_blank" href="http://jquery.com/"&gt;jQuery&lt;/a&gt;, &lt;a target="_blank" href="http://knockoutjs.com/"&gt;Knockout&lt;/a&gt; and &lt;a target="_blank" href="http://requirejs.org/"&gt;RequireJS&lt;/a&gt;, so there&amp;#39;s little to learn and building apps feels comfortable and familiar.&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s a short list of it&amp;#39;s features:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Clean MV* Architecture&lt;/li&gt;
&lt;li&gt;JS &amp;amp; HTML Modularity&lt;/li&gt;
&lt;li&gt;Simple App Lifecycle&lt;/li&gt;
&lt;li&gt;Eventing, Modals, Message Boxes, etc.&lt;/li&gt;
&lt;li&gt;Navigation &amp;amp; Screen State Management&lt;/li&gt;
&lt;li&gt;Consistent Async Programming w/ Promises&lt;/li&gt;
&lt;li&gt;App Bundling and Optimization&lt;/li&gt;
&lt;li&gt;Use any Backend Technology&lt;/li&gt;
&lt;li&gt;Built on top of &lt;a target="_blank" href="http://jquery.com/"&gt;jQuery&lt;/a&gt;, &lt;a target="_blank" href="http://knockoutjs.com/"&gt;Knockout&lt;/a&gt; &amp;amp; &lt;a target="_blank" href="http://requirejs.org/"&gt;RequireJS&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Integrates with other libraries such as &lt;a target="_blank" href="http://sammyjs.org/"&gt;SammyJS&lt;/a&gt; &amp;amp; &lt;a target="_blank" href="http://twitter.github.com/bootstrap/"&gt;Bootstrap&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Make jQuery &amp;amp; Bootstrap widgets templatable and bindable (or build your own widgets).&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I&amp;#39;m also pleased to announce that I&amp;#39;ve been working with the ASP.NET team to bring &lt;a target="_blank" href="http://durandaljs.com/"&gt;Durandal&lt;/a&gt; to you as an ASP.NET MVC Template, released today and compatible with the new Web Tools 2012.2 release. You can&lt;a href="http://go.microsoft.com/fwlink/?LinkId=282648"&gt; grab the VSIX&lt;/a&gt;, install it and get started very quickly building rich web apps now. If using the VSIX isn&amp;rsquo;t your style, we&amp;rsquo;ve got &lt;a target="_blank" href="http://www.nuget.org/packages?q=durandal"&gt;several nuget packages available too&lt;/a&gt;. Finally, if you just love &lt;a target="_blank" href="http://nodejs.org/"&gt;NodeJS&lt;/a&gt;, you might be interested in &lt;a target="_blank" href="http://durandaljs.com/documentation/Mimosa.html"&gt;using our Mimosa skeleton&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;To&amp;nbsp; learn more, please visit &lt;a target="_blank" href="http://durandaljs.com/"&gt;the official site&lt;/a&gt;, where you will find the &lt;a target="_blank" href="http://durandaljs.com/pages/get-started"&gt;getting started guide&lt;/a&gt;, &lt;a target="_blank" href="http://durandaljs.com/pages/docs"&gt;documentation&lt;/a&gt;, &lt;a target="_blank" href="http://durandaljs.com/pages/videos"&gt;videos&lt;/a&gt;, &lt;a target="_blank" href="http://durandaljs.com/pages/training"&gt;training&lt;/a&gt; and &lt;a target="_blank" href="http://durandaljs.com/pages/support"&gt;commercial support&lt;/a&gt; options.&lt;/p&gt;
&lt;p&gt;Stay tuned. There&amp;#39;s lots to say about Durandal and I look forward to sharing it with you in the coming weeks and months.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=86082" width="1" height="1"&gt;</description></item><item><title>Caliburn.Micro v1.4.1 Released</title><link>http://devlicio.us/blogs/rob_eisenberg/archive/2013/01/20/caliburn-micro-v1-4-1-released.aspx</link><pubDate>Sun, 20 Jan 2013 19:43:06 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:71424</guid><dc:creator>Rob Eisenberg</dc:creator><slash:comments>20</slash:comments><wfw:commentRss>http://devlicio.us/blogs/rob_eisenberg/rsscomments.aspx?PostID=71424</wfw:commentRss><comments>http://devlicio.us/blogs/rob_eisenberg/archive/2013/01/20/caliburn-micro-v1-4-1-released.aspx#comments</comments><description>&lt;p&gt;I’m labeling this the&amp;#160; Thomas Ibel/Nigel Sampson release. Why? Because these two hardworking gentlemen have put great effort into bringing you the most mature version of Caliburn.Micro yet. In the two months since our 1.4 release they’ve dealt with almost every outstanding issue on our list. Great work guys! In addition to bug fixes, there’s been some minor enhancements, we’ve synced up the latest WUI library and added official support for WPF 4.5. You can get it on Nuget now. Enjoy!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=71424" width="1" height="1"&gt;</description><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/WPF/default.aspx">WPF</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Xaml/default.aspx">Xaml</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/WPF_2F00_e/default.aspx">WPF/e</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Caliburn/default.aspx">Caliburn</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Featured/default.aspx">Featured</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Silverlight/default.aspx">Silverlight</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/RIA/default.aspx">RIA</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/MVVM/default.aspx">MVVM</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/UI+Architecture/default.aspx">UI Architecture</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Caliburn+Micro/default.aspx">Caliburn Micro</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/WP7/default.aspx">WP7</category></item><item><title>Bring on the AWESOME!!! Caliburn.Micro v1.4 Released</title><link>http://devlicio.us/blogs/rob_eisenberg/archive/2012/11/15/bring-on-the-awesome-caliburn-micro-v1-4-released.aspx</link><pubDate>Fri, 16 Nov 2012 03:28:00 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:70470</guid><dc:creator>Rob Eisenberg</dc:creator><slash:comments>16</slash:comments><wfw:commentRss>http://devlicio.us/blogs/rob_eisenberg/rsscomments.aspx?PostID=70470</wfw:commentRss><comments>http://devlicio.us/blogs/rob_eisenberg/archive/2012/11/15/bring-on-the-awesome-caliburn-micro-v1-4-released.aspx#comments</comments><description>&lt;p&gt;Today I&amp;rsquo;m happy to announce the official release of Caliburn.Micro v1.4. This release brings a ton of bug fixes across all platforms, nuget fixes&amp;hellip;and best of all&amp;hellip;full support for WinRT and WP8. That means that Caliburn.Micro now supports WPF, SL4, SL5, WP7, WP8 and WinRT. AWESOME!!! You can get it on &lt;a href="http://www.nuget.org/packages/Caliburn.Micro" target="_blank"&gt;nuget.org&lt;/a&gt; or download the binaries directly from &lt;a href="http://caliburnmicro.codeplex.com/releases/view/97813" target="_blank"&gt;codeplex&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;How did this happen you say? Well, not without generous help from the community who believed in this project and put in the hours to make it happen. Here&amp;rsquo;s a few people I&amp;rsquo;d like to mention:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.nuget.org/packages?q=%20Marco%20Amendola"&gt;Marco Amendola&lt;/a&gt; &amp;ndash; A Caliburn veteran. Always working hard on bugs, features and community support.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.nuget.org/packages?q=%20Chin%20Bae"&gt;Chin Bae&lt;/a&gt; &amp;ndash; Master of our view location strategy. &lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.nuget.org/packages?q=%20Nigel%20Sampson"&gt;Nigel Sampson&lt;/a&gt; &amp;ndash; Monster WinRT port guru. He practically ported the entire thing himself. REALLY.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.nuget.org/packages?q=%20Thomas%20Ibel"&gt;Thomas Ibel&lt;/a&gt; &amp;ndash; Tons and tons of bug fixes and stability improvements.&lt;/li&gt;
&lt;li&gt;&lt;a href="http://www.nuget.org/packages?q=%20Matt%20Hidinger"&gt;Matt Hidinger&lt;/a&gt; &amp;ndash; Did all the grunt work to get official WP8 support into this release.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I&amp;rsquo;d also like to thank all the community members who tested out this version, submitted feedback..and of course&amp;hellip;thanks to everyone who submitted pull requests. It was a tremendous help!&lt;/p&gt;
&lt;p&gt;Finally, I&amp;rsquo;d like to extend a special thank you to Scott Hanselman, Scott Hunter and the whole .NET team for supporting open source software and providing the necessary licenses I needed to actually build and release this version. It would not have been possible without their kindness and generosity.&lt;/p&gt;
&lt;p&gt;For reference, here&amp;rsquo;s the &lt;a href="http://www.nuget.org/profiles/eisenbergeffect" target="_blank"&gt;full list of nuget packages&lt;/a&gt; and their descriptions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Caliburn.Micro &amp;ndash; The full framework compiled into an assembly.&lt;/li&gt;
&lt;li&gt;Caliburn.Micro.Start - Includes Caliburn.Micro plus a starting bootstrapper, view model and view.&lt;/li&gt;
&lt;li&gt;Caliburn.Micro.Container &amp;ndash; The Caliburn.Micro inversion of control container (IoC); source code drop-in.&lt;/li&gt;
&lt;li&gt;Caliburn.Micro.EventAggregator &amp;ndash; The Caliburn.Micro event aggregator; source code drop-in.&lt;/li&gt;
&lt;li&gt;Caliburn.Micro.INPC &amp;ndash; The Caliburn.Micro INPC infrastructure: PropertyChangedBase, BindableCollection, Execute.OnUIThread and InDesignMode checking; source code drop-in.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;em&gt;&lt;strong&gt;Note:&lt;/strong&gt; We have removed the starting bootstrapper, view and view model template code from the core package and added a new package, Caliburn.Micro.Start, which now has the core plus the startup files.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Go forth and build Xaml awesomeness! And stay tuned for an update on &lt;a href="https://github.com/EisenbergEffect/Durandal" target="_blank"&gt;Durandal&lt;/a&gt; in the next few weeks too ;)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;i&gt;&lt;span&gt;This community project is sponsored by&amp;nbsp;&lt;/span&gt;&lt;a href="http://www.xceedsoft.com/redirect/ad/index.aspx?adtype=143"&gt;Xceed&lt;/a&gt;&lt;span&gt;, makers of&amp;nbsp;&lt;/span&gt;&lt;a href="http://www.xceedsoft.com/redirect/ad/index.aspx?adtype=141"&gt;Xceed DataGrid for WPF&lt;/a&gt;&lt;span&gt;, the enterprise datagrid that provides a rich, fluid, and high performance user experience. 50% off any Xceed product with coupon code G00B8T. Xceed also offers&amp;nbsp;&lt;/span&gt;&lt;a href="http://extendedsilverlight.codeplex.com/"&gt;Extended Silverlight Toolkit&lt;/a&gt;&lt;span&gt;&amp;nbsp;and&amp;nbsp;&lt;/span&gt;&lt;a href="http://wpftoolkit.codeplex.com/"&gt;Extended WPF Toolkit&lt;/a&gt;&lt;span&gt;&amp;nbsp;here on Codeplex.&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=70470" width="1" height="1"&gt;</description><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/WPF/default.aspx">WPF</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Xaml/default.aspx">Xaml</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/WPF_2F00_e/default.aspx">WPF/e</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Caliburn/default.aspx">Caliburn</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Featured/default.aspx">Featured</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Silverlight/default.aspx">Silverlight</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/RIA/default.aspx">RIA</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/MVVM/default.aspx">MVVM</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/UI+Architecture/default.aspx">UI Architecture</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Caliburn+Micro/default.aspx">Caliburn Micro</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/WP7/default.aspx">WP7</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/NuGet/default.aspx">NuGet</category></item><item><title>Introducing TypeScript</title><link>http://devlicio.us/blogs/rob_eisenberg/archive/2012/10/02/introducing-typescript.aspx</link><pubDate>Tue, 02 Oct 2012 15:46:00 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:70357</guid><dc:creator>Rob Eisenberg</dc:creator><slash:comments>13</slash:comments><wfw:commentRss>http://devlicio.us/blogs/rob_eisenberg/rsscomments.aspx?PostID=70357</wfw:commentRss><comments>http://devlicio.us/blogs/rob_eisenberg/archive/2012/10/02/introducing-typescript.aspx#comments</comments><description>&lt;p&gt;This is the first tech coming out of Microsoft in several years that I&amp;rsquo;m excited about&amp;hellip;.really excited about. So, I thought I would take you, dear reader, on a learning adventure with me. Let&amp;rsquo;s dive in&amp;hellip;&lt;/p&gt;
&lt;h3&gt;What is TypeScript?&lt;/h3&gt;
&lt;p&gt;TypeScript is a new programming language that Microsoft has been working on, apparently, for several years now. Anders Hejlsberg, creator of C#, has recently been involved with a small team of talented language gurus to bring it to us in the initial pre-release form. &lt;/p&gt;
&lt;p&gt;Simply stated: &lt;em&gt;TypeScript is a superset of the JavaScript programming language which can be compiled to plain Javascript&lt;/em&gt;. The &lt;strong&gt;superset&lt;/strong&gt; distinction is important here. Every Javascript program is a TypeScript program and will compile with the TypeScript compiler without any alterations necessary. TypeScript works with any existing JavaScript libraries without the need for any sort of interoperability dance.&lt;/p&gt;
&lt;h3&gt;Why Use TypeScript?&lt;/h3&gt;
&lt;p&gt;TypeScript brings several of the features of ECMAScript 6th Edition to ECMAScript 3rd Edition compatible browsers and runtimes. This means you can have several of the cool features of tomorrow&amp;rsquo;s Javascript&amp;hellip;today. Some of the most notable features are classes, modules and lexically scoped this (via arrow functions). So, by learning TypeScript today, you are also going to be learning some ECMAScript 6th Edition&amp;hellip;that&amp;rsquo;s a pretty good return on your investment even if TypeScript is a complete flop&amp;hellip;.which I doubt it will be.&lt;/p&gt;
&lt;p&gt;In addition to getting vNext JS features available in present and older browsers, TypeScript adds a &lt;a target="_blank" href="http://en.wikipedia.org/wiki/Structural_type_system"&gt;structural type system&lt;/a&gt; and strong &lt;a target="_blank" href="http://en.wikipedia.org/wiki/Type_inference"&gt;type inference&lt;/a&gt; to JavaScript. This opens the door to declared API contracts, better intellisense, refactoring and it naturally transforms many runtime errors into &lt;em&gt;code squiggles&lt;/em&gt; or compile errors. As someone who spends 60+ hours a week now writing JS code&amp;hellip;much of which is on a very large-scale SPA&amp;hellip;I can tell you this is a big deal in terms of maintainability.&lt;/p&gt;
&lt;h3&gt;How Do I Get It?&lt;/h3&gt;
&lt;p&gt;Microsoft has two key locations on the web you need to know. The first is &lt;a href="http://www.typescriptlang.org/"&gt;http://www.typescriptlang.org/&lt;/a&gt; From there you can download the language specification, watch a Channel 9 Video with Anders introducing the language, play with the language directly from your browser and run some samples. You&amp;rsquo;ll also find download links for the VS2012 plugin and compiler tools as well as the source. WAIT. Did I just say source? YES. TypeScript is completely open source on CodePlex under the Apache License 2.0.&amp;nbsp; You can git clone that sucka to your heart&amp;rsquo;s content&amp;hellip;which brings me to the second web location you need to know: &lt;a href="http://typescript.codeplex.com/"&gt;http://typescript.codeplex.com/&lt;/a&gt;&lt;/p&gt;
&lt;h3&gt;How Do I Get Involved?&lt;/h3&gt;
&lt;p&gt;As I mentioned, TypeScript is on CodePlex. There&amp;rsquo;s a community building up there already. So you can jump into the discussion forums to ask questions&amp;hellip;or answer them with your new found knowledge :)&amp;nbsp; Naturally, you can submit bugs and feature requests too. There&amp;rsquo;s also a fair amount of info accumulating on &lt;a target="_blank" href="http://stackoverflow.com/search?q=typescript"&gt;stack overflow&lt;/a&gt; now.&lt;/p&gt;
&lt;h3&gt;Show Me How to Write a Program!!!&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a target="_blank" href="http://www.typescriptlang.org/#Download"&gt;Download the tooling&lt;/a&gt; and run the msi &lt;em&gt;or&lt;/em&gt; install it as a node package with: npm install &amp;ndash;g typescript&lt;/li&gt;
&lt;li&gt;Once this is done, you&amp;rsquo;ve got a new exe added to your command path called &amp;ldquo;tsc&amp;rdquo; You guessed it. That stands for &amp;ldquo;TypeScript Compiler.&amp;rdquo;&lt;/li&gt;
&lt;li&gt;To compile a program it&amp;rsquo;s as simple as typing this on the command prompt: tsc myCode.ts&lt;/li&gt;
&lt;li&gt;.ts is the extension for TypeScript source files. &lt;/li&gt;
&lt;li&gt;.d.ts is the extension for TypeScript declaration source files (more on that in a future post)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Let&amp;rsquo;s do it! Create a new file and call it&amp;hellip;dum dum dum&amp;hellip;.helloworld.ts. You can open it in any text editor, but if you&amp;rsquo;ve installed the VS tools above, you should open it in VS&amp;hellip;it&amp;rsquo;s got bling.&lt;/p&gt;
&lt;p&gt;Now, let&amp;rsquo;s write some code. This will be a pretty bloated hello world example, but it will show you some fun language stuff in the process. Here&amp;rsquo;s the code to put in the helloworld.ts file:&lt;/p&gt;
&lt;pre name="code" class="js:nogutter:nocontrols"&gt;module HelloWorld {
    class Messenger {
        repeat: number;

        constructor (public message = &amp;quot;Hello World&amp;quot;) {
            this.repeat = 1;
        }

        speak() {
            for (var i = 0; i &amp;lt; this.repeat; i++) {
                console.log(this.message);
            }
        }

        static SayHelloInSlang() { 
            new Messenger(&amp;quot;&amp;#39;Sup World?&amp;quot;).speak();
        }
    }

    var m = new Messenger();
    m.speak();

    Messenger.SayHelloInSlang();
}&lt;/pre&gt;
&lt;p&gt;To get the full VS experience,&amp;nbsp; you should type this in manually, rather than copy/paste. The reason for that is that VS will show you errors, types, etc. as you type the code. You&amp;rsquo;ll also get intellisense. Here&amp;rsquo;s a few things to notice about this code:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;It&amp;rsquo;s modularized! This is called an &lt;em&gt;internal&lt;/em&gt; module. You can also create &lt;em&gt;external&lt;/em&gt; modules which the compiler can transform into CommonJS modules or AMD modules (yes you can use it with require.js :) whoohoo). You can tell the compiler how to transform your external modules via the &amp;ndash;module switch. This enables you to have a single source set of modules that could run on the server in Node with CommonJS and in the browser with AMD using require.js. Nice. The &amp;ndash;module switch defaults to CommonJS, but you can provide the value of amd to build for require.js or a similar amd module loader. But, that&amp;rsquo;s not related to this code&amp;hellip;just a bonus tidbit. This is an &lt;em&gt;internal&lt;/em&gt; module which means it will compile to a standard immediately executed function closure-based module.&lt;/li&gt;
&lt;li&gt;There is a class!!! The compiler will help you call that ctor with new&amp;hellip;no more forgotten new keywords on ctor functions. But you can also more succinctly create classes than with the standard prototype-based syntax you normally need.&lt;/li&gt;
&lt;li&gt;The ctor has a default parameter value. Also, the public modifier instructs the compiler that the parameter&amp;rsquo;s value should automatically be stored into a public property of the object. Nice and succinct.&lt;/li&gt;
&lt;li&gt;There&amp;rsquo;s a static function on the class.&lt;/li&gt;
&lt;li&gt;Mouse over things and you will see that there&amp;rsquo;s some nice type inference happening on variables and function signatures&amp;hellip;even though only one type is declared anywhere.&lt;/li&gt;
&lt;li&gt;Intellisense is beautiful.&lt;/li&gt;
&lt;li&gt;Try refactoring something. It works :)&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Now, let&amp;rsquo;s compile the code. Open your command prompt and navigate to the folder you placed helloworld.ts in. Type the following:&lt;/p&gt;
&lt;p&gt;tsc helloworld.ts&lt;/p&gt;
&lt;p&gt;The compiler outputs a .js file with the following JavaScript code:&lt;/p&gt;
&lt;pre name="code" class="js:nogutter:nocontrols"&gt;var HelloWorld;
(function (HelloWorld) {
    var Messenger = (function () {
        function Messenger(message) {
            if (typeof message === &amp;quot;undefined&amp;quot;) { message = &amp;quot;Hello World&amp;quot;; }
            this.message = message;
            this.repeat = 1;
        }
        Messenger.prototype.speak = function () {
            for(var i = 0; i &amp;lt; this.repeat; i++) {
                console.log(this.message);
            }
        };
        Messenger.SayHelloInSlang = function SayHelloInSlang() {
            new Messenger(&amp;quot;&amp;#39;Sup World?&amp;quot;).speak();
        }
        return Messenger;
    })();    
    var m = new Messenger();
    m.speak();
    Messenger.SayHelloInSlang();
})(HelloWorld || (HelloWorld = {}));&lt;/pre&gt;
&lt;p&gt;As you can see, it&amp;rsquo;s just standard JavaScript code. There is no runtime component to TypeScript. Everything boils down to plain JavaScript.&lt;/p&gt;
&lt;p&gt;Of course there&amp;rsquo;s lots more to TypeScript. We&amp;rsquo;ve barely scratched the surface. I&amp;rsquo;m planning to write some more blog posts covering my escapades. Hopefully we can talk more about external modules, structural types, interfaces, lambdas, etc. See ya next time!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=70357" width="1" height="1"&gt;</description><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Featured/default.aspx">Featured</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Tutorial/default.aspx">Tutorial</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/JavaScript/default.aspx">JavaScript</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/TypeScript/default.aspx">TypeScript</category></item><item><title>Gen Con and Kickstarter!</title><link>http://devlicio.us/blogs/rob_eisenberg/archive/2012/08/14/gen-con-and-kickstarter.aspx</link><pubDate>Tue, 14 Aug 2012 17:47:00 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:70278</guid><dc:creator>Rob Eisenberg</dc:creator><slash:comments>0</slash:comments><wfw:commentRss>http://devlicio.us/blogs/rob_eisenberg/rsscomments.aspx?PostID=70278</wfw:commentRss><comments>http://devlicio.us/blogs/rob_eisenberg/archive/2012/08/14/gen-con-and-kickstarter.aspx#comments</comments><description>&lt;p&gt;Today I ship off to &lt;a target="_blank" href="http://www.gencon.com/2012/indy/default.aspx"&gt;Gen Con&lt;/a&gt; to exhibit &lt;a target="_blank" href="http://www.rpgwithme.com/"&gt;my new web-based RPG product RPGWithMe&lt;/a&gt;! If you are attending, I hope you will visit me in booth 1850.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ve also got a big announcement for today! I&amp;rsquo;ve launched &lt;a href="http://www.kickstarter.com/projects/eisenbergeffect/rpgwithme-create-characters-for-your-tabletop-rpg"&gt;a Kickstarter campaign&lt;/a&gt; to help me build out a system-agnostic character creation tool for the site. Please check out &lt;a href="http://www.kickstarter.com/projects/eisenbergeffect/rpgwithme-create-characters-for-your-tabletop-rpg"&gt;our Kickstarter page&lt;/a&gt; for opportunities to back and receive some cool RPGWithMe swag, such as fantasy themed t-shirts and posters. If you like fantasy art, you&amp;rsquo;ll want to check out what former Weta artist Ben Wootten has created for us.&lt;/p&gt;
&lt;p&gt;Even if you can&amp;rsquo;t back the project financially, we hope you&amp;rsquo;ll help us get the word out by sharing it with your friends and via social media networks such as facebook and twitter.&lt;/p&gt;
&lt;p&gt;Thanks everyone!&lt;/p&gt;
&lt;p&gt;PS- Yes I&amp;rsquo;m going to go there&amp;hellip;.if you are a &lt;a target="_blank" href="http://caliburnmicro.codeplex.com/"&gt;Caliburn.Micro&lt;/a&gt; user&amp;hellip;and want to show your appreciation&amp;hellip;.maybe you could back my kickstarter? (It has nothing to do with CM&amp;hellip;except that it&amp;rsquo;s partially built with &lt;a target="_blank" href="https://github.com/EisenbergEffect/Durandal"&gt;Durandal&lt;/a&gt;&amp;hellip;.but it would make me happy &lt;img src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_eisenberg/wlEmoticon_2D00_smile_5F00_4098D1C5.png" alt="Smile" class="wlEmoticon wlEmoticon-smile" style="border-bottom-style:none;border-left-style:none;border-top-style:none;border-right-style:none;" /&gt;).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=70278" width="1" height="1"&gt;</description></item><item><title>Today….All Your Wildest Dreams Come True</title><link>http://devlicio.us/blogs/rob_eisenberg/archive/2012/08/02/today-all-your-wildest-dreams-come-true.aspx</link><pubDate>Thu, 02 Aug 2012 20:07:00 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:70251</guid><dc:creator>Rob Eisenberg</dc:creator><slash:comments>20</slash:comments><wfw:commentRss>http://devlicio.us/blogs/rob_eisenberg/rsscomments.aspx?PostID=70251</wfw:commentRss><comments>http://devlicio.us/blogs/rob_eisenberg/archive/2012/08/02/today-all-your-wildest-dreams-come-true.aspx#comments</comments><description>&lt;p&gt;If you fit into any one (or more) of these three categories&amp;hellip;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;You like tabletop RPGs&lt;/li&gt;
&lt;li&gt;You build Xaml applications&lt;/li&gt;
&lt;li&gt;You build Html/JS applications&lt;/li&gt;
&lt;/ol&gt;
&lt;h2&gt;1. RPGWithMe&lt;/h2&gt;
&lt;p&gt;For some time I&amp;rsquo;ve been cranking away building my company&amp;rsquo;s first real product. I&amp;rsquo;m very excited to officially announce to you today that &lt;a target="_blank" href="http://www.rpgwithme.com/"&gt;RPGWithMe&lt;/a&gt; is live!&amp;nbsp; &lt;a target="_blank" href="http://www.rpgwithme.com/"&gt;RPGWithMe&lt;/a&gt; is a web-based platform centered around tabletop RPGs. If you play these games&amp;hellip;you are going to like this a lot. RPGWithMe provides four main feature areas in its initial launch:&lt;/p&gt;
&lt;h3&gt;Character Sheets&lt;/h3&gt;
&lt;p&gt;The industry&amp;rsquo;s most beautiful character sheets, fully interactive and free: Use them at the gametable on your tablet or laptop. They&amp;rsquo;re also fully integrated into our play-by-post and virtual tabletop experience. It&amp;#39;s as simple as uploading DDI or Hero Lab &lt;sup&gt;&amp;reg;&lt;/sup&gt; files. Custom character creation is coming soon&amp;hellip;&lt;/p&gt;
&lt;h3&gt;Campaign Management&lt;/h3&gt;
&lt;p&gt;We provide gorgeous home pages for your campaigns. Use our live-previewing editor to write wiki articles and pin them to your home page. Chronicle your adventure and automatically have your content indexed for later. Plus, access our enormous, high quality art library for use in your wiki or upload your own art.&lt;/p&gt;
&lt;h3&gt;Play-by-Post&lt;/h3&gt;
&lt;p&gt;We&amp;rsquo;ve built our system from the ground up to support PbP. It fully integrates your player&amp;rsquo;s character sheets and your campaign wiki. It snapshots roll, magic, power and feat data and provides multiple views over your campaign&amp;rsquo;s activity feed with the ability to bookmark and integrate your character&amp;rsquo;s journals too.&lt;/p&gt;
&lt;h3&gt;Virtual Tabletop&lt;/h3&gt;
&lt;p&gt;Build maps, play out combat and track NPC stats. Our virtual table can be used to enhance PbP beyond anything you&amp;rsquo;ve seen. Of course, you can always use it as a realtime virtual table on it&amp;#39;s own and feel the power of integrated character sheets, rich activity feeds and campaign management.&lt;/p&gt;
&lt;div class="wlWriterEditableSmartContent" id="scid:5737277B-5D6D-4f48-ABFC-DD9C333F4C5D:cab0da76-f4b8-44a2-a32b-bb0f199d7ae0" style="padding-bottom:0px;margin:0px auto;padding-left:0px;width:448px;padding-right:0px;display:block;float:none;padding-top:15px;"&gt;
&lt;div&gt;&lt;a target="_new" href="http://www.youtube.com/watch?v=ikKPz-zqe5U&amp;amp;feature=plcp"&gt;&lt;img style="border-style:none;" src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_eisenberg/videoe28113b8579a_5F00_5DA2CAC7.jpg" alt="" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style="width:448px;clear:both;font-size:.8em;"&gt;RPGWithMe Teaser&lt;/div&gt;
&lt;/div&gt;
&lt;h2&gt;2. Caliburn.Micro WinRT&lt;/h2&gt;
&lt;p&gt;Thanks to the fantastic work of &lt;a target="_blank" href="http://compiledexperience.com/"&gt;Nigel Sampson&lt;/a&gt; and &lt;a target="_blank" href="http://www.markermetro.com/2012/08/technical/caliburn-micro-for-winrt-mvvm-magic-pixie-dust-for-everyone/"&gt;Keith Patton&lt;/a&gt; we now have support for &lt;a target="_blank" href="http://caliburnmicro.codeplex.com/SourceControl/list/changesets"&gt;the full Caliburn.Micro feature set on WinRT&lt;/a&gt;. This is he initial port&amp;hellip;and its not an official release yet, so there&amp;rsquo;s bound to be bugs. But if you want to use CM to build your WinRT app, please start using this code and help us iron out the kinks&amp;hellip;.and naturally start enjoying the CM way of building apps on WinRT.&lt;/p&gt;
&lt;h2&gt;3. Durandal&lt;/h2&gt;
&lt;p&gt;Durandal is the essence of Caliburn.Micro re-imagined for HTML and Javascript. A very early version of the code is now &lt;a target="_blank" href="https://github.com/EisenbergEffect/Durandal"&gt;available on github&lt;/a&gt;. It is a very small amount of code built on top of three existing and established Javascript libraries: &lt;a target="_blank" href="http://jquery.com/"&gt;jQuery&lt;/a&gt;, &lt;a target="_blank" href="http://knockoutjs.com/"&gt;Knockout&lt;/a&gt; and &lt;a target="_blank" href="http://requirejs.org/"&gt;Require&lt;/a&gt;. Features include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Fully modularize your html and js the same way you would when building Caliburn.Micro applications. ie. Shell.js automatically locates Shell.html, binds and gets composed into the dom. Naturally you can change the conventions&amp;hellip;&lt;/li&gt;
&lt;li&gt;Leverage promises everywhere as the API uses no callbacks, but has CommonJS promises plumbed throughout&lt;/li&gt;
&lt;li&gt;Experience the first html/js framework where &lt;strong&gt;Composition&lt;/strong&gt; is embraced at the very core. The view/view-model composition features of Durandal are even more powerful than Caliburn.Micro.&lt;/li&gt;
&lt;li&gt;A simple app model provides you with an app start lifecycle, modal dialogs, message boxes and an event aggregator.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;This is a pre-pre-pre-alpha version. There are no docs and just one sample at the moment. But, I wanted to get it out there so you could dig into the code, start playing with it and give me feedback. Of course I&amp;rsquo;ll add docs, more samples, tests, etc. Just in case you are wondering though, Durandal is already being used in production as the framework for RPGWithMe&amp;rsquo;s virtual tabletop. Various versions/pieces of it are being used by some of my clients&amp;hellip;details not available right now, but I hope to share more later.&lt;/p&gt;
&lt;p&gt;Things I would like to do with Durandal in the future:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Remove the Knockout dependency. I don&amp;rsquo;t like how knockout bindings work in html and I don&amp;rsquo;t like how observables invade your model code. Both are ugly, tedious and obscure the readability of the code.&amp;nbsp; I have a plan to fix both of these, but it&amp;rsquo;s non-trivial. I chose to put together this initial version based on knockout since it was already in heavy use and it was quick and easy. In the future I hope we can improve on that.&lt;/li&gt;
&lt;li&gt;Remove the jQuery dependency. Durandal only uses a few features of jQuery. So, eventually, I&amp;rsquo;d like to have an alternate solution without an external dependency. You can always use jQuery if you want to, but in the long term, I don&amp;rsquo;t want to force it on developers.&lt;/li&gt;
&lt;li&gt;Create a component model for building reusable controls. This should work similar to Xaml in that controls should have a distinct view written in html which can be replaced globally or on a per use basis. Controls should also support templated parts with the same characteristics.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Ok. That&amp;rsquo;s enough news for today. Enjoy. Now&amp;hellip;I&amp;rsquo;m going to rest for a bit.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=70251" width="1" height="1"&gt;</description><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/WPF/default.aspx">WPF</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Xaml/default.aspx">Xaml</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/databinding/default.aspx">databinding</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/game+development/default.aspx">game development</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Control+Templates/default.aspx">Control Templates</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/WPF_2F00_e/default.aspx">WPF/e</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Caliburn/default.aspx">Caliburn</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Featured/default.aspx">Featured</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Silverlight/default.aspx">Silverlight</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/RIA/default.aspx">RIA</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/MVVM/default.aspx">MVVM</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/UI+Architecture/default.aspx">UI Architecture</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Caliburn+Micro/default.aspx">Caliburn Micro</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/WP7/default.aspx">WP7</category></item><item><title>Caliburn.Micro and MVVM on InfoQ</title><link>http://devlicio.us/blogs/rob_eisenberg/archive/2012/05/07/caliburn-micro-and-mvvm-on-infoq.aspx</link><pubDate>Mon, 07 May 2012 17:06:00 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:69736</guid><dc:creator>Rob Eisenberg</dc:creator><slash:comments>1</slash:comments><wfw:commentRss>http://devlicio.us/blogs/rob_eisenberg/rsscomments.aspx?PostID=69736</wfw:commentRss><comments>http://devlicio.us/blogs/rob_eisenberg/archive/2012/05/07/caliburn-micro-and-mvvm-on-infoq.aspx#comments</comments><description>&lt;p&gt;If you are interested to hear some of the back story behind Caliburn.Micro&amp;hellip;or just curious about my own conception of MVVM and how it fits in with other popular UI design patterns, I hope you will &lt;a target="_blank" href="http://www.infoq.com/articles/Rob-Eisenberg-Caliburn"&gt;check out this interview on InfoQ&lt;/a&gt;.&amp;nbsp; As always, feedback is much appreciated. Happy Monday and have a blessed week &lt;img src="http://devlicio.us/cfs-file.ashx/__key/CommunityServer.Blogs.Components.WeblogFiles/rob_5F00_eisenberg/wlEmoticon_2D00_smile_5F00_6BC217C5.png" alt="Smile" class="wlEmoticon wlEmoticon-smile" style="border-bottom-style:none;border-left-style:none;border-top-style:none;border-right-style:none;" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=69736" width="1" height="1"&gt;</description><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Xaml/default.aspx">Xaml</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Caliburn/default.aspx">Caliburn</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/MVVM/default.aspx">MVVM</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/UI+Architecture/default.aspx">UI Architecture</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Caliburn+Micro/default.aspx">Caliburn Micro</category></item><item><title>The Manifold Blunders of Xaml–Part 1: Version and Platform Hell</title><link>http://devlicio.us/blogs/rob_eisenberg/archive/2012/04/18/the-manifold-blunders-of-xaml-part-1-version-and-platform-hell.aspx</link><pubDate>Wed, 18 Apr 2012 15:43:00 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:69682</guid><dc:creator>Rob Eisenberg</dc:creator><slash:comments>27</slash:comments><wfw:commentRss>http://devlicio.us/blogs/rob_eisenberg/rsscomments.aspx?PostID=69682</wfw:commentRss><comments>http://devlicio.us/blogs/rob_eisenberg/archive/2012/04/18/the-manifold-blunders-of-xaml-part-1-version-and-platform-hell.aspx#comments</comments><description>&lt;p&gt;I started work with &amp;ldquo;Xaml-based&amp;rdquo; platforms in the pre-Beta days of WPF, so I&amp;rsquo;ve been working with this technology longer than most. Back then I was utterly awed and inspired by it&amp;rsquo;s capabilities. Today I&amp;rsquo;m frustrated and sometimes outraged. As I&amp;rsquo;ve traveled to various conferences, worked with various companies and interacted with the many &lt;a href="http://caliburnmicro.codeplex.com/discussions" target="_blank"&gt;Caliburn.Micro&lt;/a&gt; users, I&amp;rsquo;ve discovered that I&amp;rsquo;m not the only one who feels this way. This blog series attempts to catalog a number of the issues, some of which have been there from the very beginning; others creeping in over time. This is an aggregate of my own observations and those of the community.&lt;/p&gt;
&lt;h2&gt;Versions &lt;/h2&gt;
&lt;p&gt;Let&amp;rsquo;s take a brief stroll through the platform timeline:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;2006 &amp;ndash; WPF 3.0 &lt;/li&gt;
&lt;li&gt;2007 &amp;ndash; Silverlight 1 &lt;/li&gt;
&lt;li&gt;2007&amp;ndash; WPF 3.5 &lt;/li&gt;
&lt;li&gt;2008 &amp;ndash; Silverlight 2 &lt;/li&gt;
&lt;li&gt;2008 &amp;ndash; WPF3.5 sp1 &lt;/li&gt;
&lt;li&gt;2009 &amp;ndash; Silverlight 3 &lt;/li&gt;
&lt;li&gt;2010 - Silverlight 4 &lt;/li&gt;
&lt;li&gt;2010 &amp;ndash; WP7 &lt;/li&gt;
&lt;li&gt;2010 &amp;ndash; WPF4.0 &lt;/li&gt;
&lt;li&gt;2011 &amp;ndash; Silverlight 5 &lt;/li&gt;
&lt;li&gt;2011 &amp;ndash; WP7 Mango &lt;/li&gt;
&lt;li&gt;2011 &amp;ndash; Lakeshore&lt;sup&gt;1&lt;/sup&gt; &lt;/li&gt;
&lt;li&gt;2012 &amp;ndash; WinRT/Metro&lt;sup&gt;2&lt;/sup&gt; &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If we focus on the platforms and ignore their various versions, we have something like this:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;2006 &amp;ndash; WPF &lt;/li&gt;
&lt;li&gt;2007 Silverlight 1.0 (no CLR) &lt;/li&gt;
&lt;li&gt;2008 &amp;ndash; Silverlight 2.0 (CLR) &lt;/li&gt;
&lt;li&gt;2010 &amp;ndash; WP7 &lt;/li&gt;
&lt;li&gt;2011 &amp;ndash; Lakeshore &lt;/li&gt;
&lt;li&gt;2012 &amp;ndash; WinRT/Metro &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;So, it appears that Microsoft has released a new UI platform at least every two years! Let&amp;rsquo;s contrast that to the timeline for pre-Xaml UI technologies:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;1985?&amp;ndash; Win16 &lt;/li&gt;
&lt;li&gt;1995 &amp;ndash; Win32 &lt;/li&gt;
&lt;li&gt;2001 &amp;ndash; WinForms &lt;/li&gt;
&lt;li&gt;2006 &amp;ndash; WPF &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Interesting. We have at least 5 &amp;ndash; 6 years between platforms prior to Xaml, but it&amp;rsquo;s actually about 10yrs due to the fact that WinForms is just making Win32 available to managed languages. It&amp;rsquo;s just a wrapper around existing APIs. Each of the Xaml platforms is actually a different runtime altogether. So as far as platforms go, we&amp;rsquo;ve gone from one every 10yrs to one every 2 years. But that&amp;rsquo;s not all, let&amp;rsquo;s look at Xaml itself:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;2006 &amp;ndash; Xaml 2006 Spec &lt;/li&gt;
&lt;li&gt;2008 &amp;ndash; Silverlight 1 Xaml &lt;/li&gt;
&lt;li&gt;2009 &amp;ndash; Xaml 2009 Spec &lt;/li&gt;
&lt;li&gt;2011 &amp;ndash; Silverlight 5 Xaml &lt;/li&gt;
&lt;li&gt;2012 &amp;ndash; WinRT/Metro Xaml &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Aside from the actual platforms released, we have a parallel divergence in Xaml markup capabilities. In 2006 the first version of Xaml was released. It was &lt;a href="http://msdn.microsoft.com/en-us/library/dd361852(v=prot.10).aspx" target="_blank"&gt;formally defined and released as a spec&lt;/a&gt; shortly after. When Silverlight came along, Microsoft failed to create a Xaml language compatible with their own specification. In fact, even Silverlight 5 doesn&amp;rsquo;t comply with the Xaml 2006 spec. In 2009 Microsoft released a new version of Xaml that fixed several important shortcomings with the 2006 spec&amp;hellip;.but not a single platform implemented it. WP7 is still playing catch-up with Silverlight and WPF. WinRT/Metro Xaml has less Xaml features than any platform. Furthermore, it significantly changes some aspects of Xaml altogether, making it compatible with almost nothing. Furthermore, some of the changes they are making will prevent it from ever becoming compatible in the future.&lt;/p&gt;
&lt;p&gt;When I step back and try to look at this information objectively, the most natural conclusion I can come to is that Microsoft UI technologies are, and have been for the last five years, in a state of complete &lt;em&gt;&lt;strong&gt;instability&lt;/strong&gt;&lt;/em&gt;&amp;hellip;and it doesn&amp;rsquo;t show any signs of change (esp. with the rumors that WP8 will not use Silverlight, but some &lt;em&gt;variant&lt;/em&gt; of WinRT). You can&amp;rsquo;t count on anything. If we forget about app developers for a moment, and think about the ecosystem, imagine the effect this has on third party products, control vendors, open source frameworks and tooling. Every time MS spits out a new platform or Xaml flavor, the entire ecosystem has to start over. &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;My own Experience&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I first wrote Caliburn for WPF when there was no word on anything like Silverlight existing. When Silverlight was first announced, it was branded WPF/e so I thought my framework would port. Unfortunately, when SL2 was made available, there were so many differences that I had no choice but to completely re-write Caliburn. Then, when WP7 was announced, I started porting Caliburn to that, only to discover that it was &lt;em&gt;not possible&lt;/em&gt;. So, I did another complete re-write resulting in Caliburn.Micro. Now we have WinRT/Metro. I &lt;em&gt;think&lt;/em&gt; I can port it, albeit, with a ton of conditional code. But, I&amp;rsquo;m not 100% sure yet. If it looks like another re-write&amp;hellip;I&amp;rsquo;m done with this game.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Maintenance and Innovation&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;There are lots of negative side-effects to this sort of instability. The one that hits me most is that it creates a battle between maintenance and innovation. Again, speaking of my own project, I have plenty of ideas about how to improve Caliburn.Micro. I think some of them are minor niceties, but others are more along the innovative lines. But, you will never see any of them come to fruition. Why? Because the instability of the underlying platform, the constant release of new platforms&amp;hellip;has put my project into a state of &lt;em&gt;&lt;strong&gt;perpetual maintenance&lt;/strong&gt;&lt;/em&gt;. I can&amp;rsquo;t innovate because I&amp;rsquo;m still trying to deal with the differences in WP7.5 and I&amp;rsquo;ve got developers (who can blame them?) banging down my door wanting to know when WinRT/Metro version will be available. It&amp;rsquo;s been discussed much in recent years as to why innovation seams to happen in non-Microsoft open source and on other platforms like Mac&amp;hellip;while very little happens in Windows software. Could it be because we are spending our time re-writing everything every two years? and don&amp;rsquo;t have time to develop anything forward thinking?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Careless and Arbitrary&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Sadly, many of the API and Xaml differences were completely avoidable. I remember one particular bug I had in Caliburn. It resulted from the fact that List&amp;lt;T&amp;gt;.Remove was implemented differently between WPF and Silverlight. In a particular scenario it would work fine on one platform and crash your app on another. There are hundreds, probably thousands of such issues, from the BCL all the way up through the UI stack.&amp;nbsp; We aren&amp;rsquo;t talking about missing features here. We are talking about the same features which exhibit different behavior or have altered APIs.&amp;nbsp; Sure, Microsoft worked hard to improve this with successive releases of Silverlight. But then came WP7, which stepped us back in time. Now look at WinRT. There are a number of changes that are completely arbitrary. They serve no technical purpose and don&amp;rsquo;t improve the API. They just make more work for developers who want to port code. If you want another fine example, just try to write a cross-framework design mode check.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;A Lack of Understanding&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Sigh. This one perfectly ironic issue really troubles me sometimes. Through all of this, I&amp;rsquo;ve realized that Microsoft doesn&amp;rsquo;t understand their own platform. I&amp;rsquo;ve got more to say on this later, but let&amp;rsquo;s look at this from an API perspective here. Consider this: every control specific to WP7 development could have been built on top of Silverlight without a need for a modified runtime. Most controls could have been implemented simply by styling an existing control or applying a template. For example, the Pivot control can be implemented using a tab control with a custom template and some attached behaviors. In fact, wouldn&amp;rsquo;t it have been cool if you could just use a Tab control in WP7 and it just changed it&amp;rsquo;s appearance to work on the phone?! Wait, wasn&amp;rsquo;t that the idea behind templating and adaptive layout to begin with? Here&amp;rsquo;s another example: Behaviors. Perhaps you didn&amp;rsquo;t know that Microsoft built this twice? In WPF there were Triggers. In fact, in both WPF and the Blend behavior system, there is a class called TriggerBase. They have the same name! They do the same thing! But, you can&amp;rsquo;t create custom triggers or actions in WPF because the ctor is marked internal. Did it not occur to anyone that they should just remove that instead of re-inventing the wheel? As a result, we now have two methods of doing triggers, and you have to know which to use for what. It&amp;rsquo;s even true in Silverlight, which has limited support for &amp;ldquo;traditional&amp;rdquo; triggers, but does have some. Ridiculous. I could go on and on about the types of internal and cross-platform inconsistencies MS has created by not simply understanding the core capabilities of their own framework.&lt;/p&gt;
&lt;p&gt;All of this get&amp;rsquo;s really interesting if you consider that Mac is the platform that is considered most cutting edge and innovative in terms of UX&amp;hellip;and they&amp;rsquo;ve scarcely had any major breaking changes since 2002. Considering that their phone apps run on their tablet and they are porting a number iOS features back to OSX&amp;hellip;it must be nice only having to worry about two platforms and knowing that the OS vendor is making a visible, tangible effort to unify those two platforms&amp;hellip;..but I&amp;rsquo;m getting off topic now.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;End of Part One&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;There are lots of problems with Xaml, but I chose to start this series with one of my particular pain points. Some developers neither care nor are affected (yet) by these sorts of version issues, but they have a big effect on the surrounding ecosystem and are going to be with us for the next decade. Over the next several blog posts, we&amp;rsquo;ll discuss many other problems, some technical, some not so much, but all have been singled out by multiple members of the community (read: not just me) as problems. It is my hope that Microsoft employees working on these technologies will read this and seriously consider what they can do to improve things going forward or at least not perpetuate the same mistakes again. I also hope that .NET developers will take a long, hard look at this part of the platform and make an honest valuation of its strengths and weaknesses.&lt;/p&gt;
&lt;h3&gt;Footnotes&lt;/h3&gt;
&lt;p&gt;1. Lakeshore is the name I&amp;rsquo;ve been hearing thrown around for the Xaml-runtime for XBox, which sources say is Silverlight-based, but drastically altered. I have no official word from Microsoft on this. It&amp;rsquo;s just what I heard through the grapevine, though I&amp;rsquo;m fairly confident in the accuracy of the information. Supposedly this is what is powering the &amp;ldquo;apps&amp;rdquo; in the new XBox dashboard which was released around last Thanksgiving. &amp;nbsp;EDIT: Apparently the XBox version is called Lakeview not Lakeshore.&lt;/p&gt;
&lt;p&gt;2. I don&amp;rsquo;t actually know when WinRT/Metro will be released. I imagine that 2012 is a reasonable guess.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=69682" width="1" height="1"&gt;</description><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/WPF/default.aspx">WPF</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/.NET+3.0/default.aspx">.NET 3.0</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Xaml/default.aspx">Xaml</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/databinding/default.aspx">databinding</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/WPF_2F00_e/default.aspx">WPF/e</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/.NET+3.5/default.aspx">.NET 3.5</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Caliburn/default.aspx">Caliburn</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Featured/default.aspx">Featured</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Silverlight/default.aspx">Silverlight</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/RIA/default.aspx">RIA</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/UI+Architecture/default.aspx">UI Architecture</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Caliburn+Micro/default.aspx">Caliburn Micro</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/WP7/default.aspx">WP7</category></item><item><title>Alt.Tekpub REST</title><link>http://devlicio.us/blogs/rob_eisenberg/archive/2012/03/05/alt-tekpub-rest.aspx</link><pubDate>Mon, 05 Mar 2012 06:43:00 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:69571</guid><dc:creator>Rob Eisenberg</dc:creator><slash:comments>4</slash:comments><wfw:commentRss>http://devlicio.us/blogs/rob_eisenberg/rsscomments.aspx?PostID=69571</wfw:commentRss><comments>http://devlicio.us/blogs/rob_eisenberg/archive/2012/03/05/alt-tekpub-rest.aspx#comments</comments><description>&lt;p&gt;Mr. Conery has been working through building a RESTful API &lt;a target="_blank" href="http://wekeroad.com/2012/03/03/moving-the-philosophy-into-machinery/"&gt;over on his blog&lt;/a&gt;. He&amp;rsquo;s tired of theory and has called on the community to submit some concrete examples in order to shed some light on the situation. I&amp;rsquo;m no expert in this area (I usually stick to UI stuff), but I have some experience, so I thought I&amp;rsquo;d make a contribution. Here&amp;rsquo;s some thoughts.&lt;/p&gt;
&lt;p&gt;Issuing a GET to http://api.alttekpub.com returns:&lt;/p&gt;
&lt;pre name="code" class="xml:nogutter:nocontrols"&gt;&amp;lt;alttekpub&amp;gt;
  &amp;lt;links&amp;gt;
    &amp;lt;link rel=&amp;quot;self&amp;quot; href=&amp;quot;...&amp;quot; /&amp;gt;
    &amp;lt;link rel=&amp;quot;rels/productions&amp;quot; href=&amp;quot;...&amp;quot; /&amp;gt;
    &amp;lt;link rel=&amp;quot;rels/new-episodes&amp;quot; href=&amp;quot;...&amp;quot; /&amp;gt;
    &amp;lt;link rel=&amp;quot;rels/productions-by-category&amp;quot; href=&amp;quot;...?category={category_name}&amp;quot; /&amp;gt;
  &amp;lt;/links&amp;gt;
  &amp;lt;categories&amp;gt;
    &amp;lt;category name=&amp;quot;Microsoft&amp;quot; /&amp;gt;
    &amp;lt;category name=&amp;quot;Ruby&amp;quot; /&amp;gt;
    &amp;lt;category name=&amp;quot;JavaScript&amp;quot; /&amp;gt;
    &amp;lt;category name=&amp;quot;Mobile&amp;quot; /&amp;gt;
  &amp;lt;/categories&amp;gt;
&amp;lt;/alttekpub&amp;gt;&lt;/pre&gt;
&lt;p&gt;One of my goals here is that clients only need to know a single uri: http://api.alttekpub.com After that, they should be able to follow links inside the document in order to navigate all the data and exercise all the features of the API. Above, you can see that the alttekpub api exposes links to several other documents: productions, new episodes and productions by category. These are identified by a rel attribute which is used to specify the link&amp;rsquo;s relationship to the enclosing document. Every document has a link that points to itself at a minimum. The last link in this example is parameterized. The api provides the various options for parameters in its document below. Here&amp;rsquo;s an alternative way you could represent the same concept, by borrowing some ideas from html:&lt;/p&gt;
&lt;pre name="code" class="xml:nogutter:nocontrols"&gt;&amp;lt;alttekpub&amp;gt;
  &amp;lt;links&amp;gt;
    &amp;lt;link rel=&amp;quot;self&amp;quot; href=&amp;quot;...&amp;quot; /&amp;gt;
    &amp;lt;link rel=&amp;quot;rels/productions&amp;quot; href=&amp;quot;...&amp;quot; /&amp;gt;
    &amp;lt;link rel=&amp;quot;rels/new-episodes&amp;quot; href=&amp;quot;...&amp;quot; /&amp;gt;
  &amp;lt;/links&amp;gt;
  &amp;lt;form method=&amp;quot;GET&amp;quot; action=&amp;quot;...&amp;quot;&amp;gt;
    &amp;lt;select name=&amp;quot;category&amp;quot;&amp;gt;
      &amp;lt;option value=&amp;quot;Microsoft&amp;quot;&amp;gt;Microsoft&amp;lt;/option&amp;gt;
      &amp;lt;option value=&amp;quot;Ruby&amp;quot;&amp;gt;Ruby&amp;lt;/option&amp;gt;
      &amp;lt;option value=&amp;quot;Javascript&amp;quot;&amp;gt;Javascript&amp;lt;/option&amp;gt;
      &amp;lt;option value=&amp;quot;Mobile&amp;quot;&amp;gt;Mobile&amp;lt;/option&amp;gt;
    &amp;lt;/select&amp;gt;
  &amp;lt;/form&amp;gt;
&amp;lt;/alttekpub&amp;gt;&lt;/pre&gt;
&lt;p&gt;I actually like this a little better, but I&amp;rsquo;ve seen both ideas used here and there. What is neat is that the api is self-documenting and there&amp;rsquo;s no need for the client to know how to construct uris. Everything is provided by the server. Let&amp;rsquo;s ay we follow the link for rels/productions. Here&amp;rsquo;s what we might get back:&lt;/p&gt;
&lt;pre name="code" class="xml:nogutter:nocontrols"&gt;&amp;lt;productions&amp;gt;
  &amp;lt;links&amp;gt;
    &amp;lt;link rel=&amp;quot;self&amp;quot; href=&amp;quot;...&amp;quot; /&amp;gt;
    &amp;lt;link rel=&amp;quot;next&amp;quot; href=&amp;quot;...&amp;quot; /&amp;gt;
  &amp;lt;/links&amp;gt;
  &amp;lt;production&amp;gt;
    &amp;lt;name&amp;gt;RavenDB&amp;lt;/name&amp;gt;
    &amp;lt;author&amp;gt;Oren Eini&amp;lt;/author&amp;gt;
    &amp;lt;links&amp;gt;
      &amp;lt;link rel=&amp;quot;self&amp;quot; href=&amp;quot;...&amp;quot; /&amp;gt;
      &amp;lt;link rel=&amp;quot;rels/episodes&amp;quot; href=&amp;quot;...&amp;quot; /&amp;gt;
    &amp;lt;/links&amp;gt;
  &amp;lt;/production&amp;gt;
  &amp;lt;production&amp;gt;
    &amp;lt;name&amp;gt;Art of Speaking&amp;lt;/name&amp;gt;
    &amp;lt;author&amp;gt;Scott Hanselman&amp;lt;/author&amp;gt;
    &amp;lt;links&amp;gt;
      &amp;lt;link rel=&amp;quot;self&amp;quot; href=&amp;quot;...&amp;quot; /&amp;gt;
      &amp;lt;link rel=&amp;quot;rels/episodes&amp;quot; href=&amp;quot;...&amp;quot; /&amp;gt;
    &amp;lt;/links&amp;gt;
  &amp;lt;/production&amp;gt;
  &amp;lt;!--other productions elided--&amp;gt;
&amp;lt;/productions&amp;gt;&lt;/pre&gt;
&lt;p&gt;It&amp;rsquo;s just a simple list of productions. But, there&amp;rsquo;s a couple of things to note. First, notice the rel=&amp;rdquo;next&amp;rdquo; If there are a lot of productions, the server may choose to paginate them. If that is the case, and there&amp;rsquo;s a second page, we will have a link with rel=&amp;rdquo;next&amp;rdquo; as above. We can handle paging backwards in a similar fashion. In fact, there&amp;rsquo;s a host of standard rels which you can and should leverage when it make sense. You can find them here: &lt;a href="http://www.iana.org/assignments/link-relations/link-relations.xml"&gt;http://www.iana.org/assignments/link-relations/link-relations.xml&lt;/a&gt;&amp;nbsp; Another thing to note, is that we&amp;rsquo;ve represented the collection of episodes in a production with another link. Following the RavenDB production&amp;rsquo;s rels/episodes link yields:&lt;/p&gt;
&lt;pre name="code" class="xml:nogutter:nocontrols"&gt;&amp;lt;episodes&amp;gt;
  &amp;lt;links&amp;gt;
    &amp;lt;link rel=&amp;quot;self&amp;quot; href=&amp;quot;...&amp;quot; /&amp;gt;
  &amp;lt;/links&amp;gt;
  &amp;lt;episode&amp;gt;
    &amp;lt;links&amp;gt;
      &amp;lt;link rel=&amp;quot;self&amp;quot; href=&amp;quot;&amp;quot; /&amp;gt;
    &amp;lt;/links&amp;gt;
    &amp;lt;name&amp;gt;Why You Should Care About RavenDB&amp;lt;/name&amp;gt;
    &amp;lt;description&amp;gt;We&amp;#39;ve all heard of NoSQL...&amp;lt;/description&amp;gt;
    &amp;lt;videos&amp;gt;
      &amp;lt;video type=&amp;quot;video/mp4&amp;quot; href=&amp;quot;...&amp;quot; /&amp;gt;
      &amp;lt;video type=&amp;quot;video/ogg&amp;quot; href=&amp;quot;...&amp;quot; /&amp;gt;
    &amp;lt;/videos&amp;gt;
  &amp;lt;/episode&amp;gt;
  &amp;lt;episode&amp;gt;
    &amp;lt;links&amp;gt;
      &amp;lt;link rel=&amp;quot;self&amp;quot; href=&amp;quot;&amp;quot; /&amp;gt;
    &amp;lt;/links&amp;gt;
    &amp;lt;name&amp;gt;Understanding Document Names&amp;lt;/name&amp;gt;
    &amp;lt;description&amp;gt;In this short episode we explain how documents are named with RavenDB - and why.&amp;lt;/description&amp;gt;
    &amp;lt;videos&amp;gt;
      &amp;lt;video type=&amp;quot;video/mp4&amp;quot; href=&amp;quot;...&amp;quot; /&amp;gt;
      &amp;lt;video type=&amp;quot;video/ogg&amp;quot; href=&amp;quot;...&amp;quot; /&amp;gt;
    &amp;lt;/videos&amp;gt;
  &amp;lt;/episode&amp;gt;
&amp;lt;/episodes&amp;gt;&lt;/pre&gt;
&lt;p&gt;There&amp;rsquo;s not really anything new here. We just have basic xml with links. In the above examples, I&amp;rsquo;ve only shown a &amp;ldquo;readonly&amp;rdquo; api for a custom vendor-specific format. But, these concepts can all be expanded on to model all sorts of things through links, forms, etc. Here&amp;rsquo;s a couple of ideas you can implement to improve things further:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Use JSON instead of XML :)&lt;/li&gt;
&lt;li&gt;Add a &amp;ldquo;title&amp;rdquo; attribute to your links. This can be used by clients to display the UI. For example, a client might scan the links in a resource and generate a series of buttons or a toolbar for each link. It could use the title attribute to populate the button&amp;rsquo;s text. Clicking the button would just activate the link. It&amp;rsquo;s very similar to the way a browser&amp;rsquo;s &amp;lt;a /&amp;gt; tag works, and if the client is coded in this way, it allows a lot of flexibility for the service author. They can evolve and extend their service with less changes needed by api consumers.&lt;/li&gt;
&lt;li&gt;Embed resources. After recording usage data, you might discover that a request for productions is quickly followed by a request for episodes. Perhaps you can improve the api usage experience by embedding the episodes in the production documents, so only a single request is needed? There are multiple ways you can design your format to handle this situation. But you might want to consider using something that&amp;rsquo;s already been designed for this scenario, such as &lt;a target="_blank" href="http://stateless.co/hal_specification.html"&gt;HAL&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The takeaway here is that a key concept in REST is hypermedia controls, which I&amp;rsquo;ve represented mostly with links (and a form). These allow the API to document itself, alleviating the need for the client to be coded with specific knowledge of link construction. It also allows the service to evolve more easily by adding additional controls over time or by completely changing uri&amp;rsquo;s or even whether or not certain related documents are embedded.&lt;/p&gt;
&lt;p&gt;Oh..and just a reminder that I&amp;rsquo;m not a REST expert. But hopefully this example sheds some light, however dim :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=69571" width="1" height="1"&gt;</description><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Featured/default.aspx">Featured</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/REST/default.aspx">REST</category></item><item><title>Boo-yah!!! Caliburn.Micro v1.3 RTW is Here</title><link>http://devlicio.us/blogs/rob_eisenberg/archive/2012/01/20/boo-yah-caliburn-micro-v1-3-rtw-is-here.aspx</link><pubDate>Sat, 21 Jan 2012 01:32:00 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:69352</guid><dc:creator>Rob Eisenberg</dc:creator><slash:comments>5</slash:comments><wfw:commentRss>http://devlicio.us/blogs/rob_eisenberg/rsscomments.aspx?PostID=69352</wfw:commentRss><comments>http://devlicio.us/blogs/rob_eisenberg/archive/2012/01/20/boo-yah-caliburn-micro-v1-3-rtw-is-here.aspx#comments</comments><description>&lt;p&gt;I&amp;rsquo;m extremely pleased to announce &lt;a target="_blank" href="http://caliburnmicro.codeplex.com/releases/view/80884"&gt;the release of Caliburn.Micro v1.3&lt;/a&gt;.&amp;nbsp; This is a great release with many bug fixes and several API improvements. We also support several new platforms. Here&amp;rsquo;s the highlights:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Support for WP7 Mango&lt;/li&gt;
&lt;li&gt;Support for Silverlight 5&lt;/li&gt;
&lt;li&gt;Basic MVVM Support for WinRT/Metro&lt;/li&gt;
&lt;li&gt;Awesome improvements to ViewModelLocator/ViewLocator which allow easier customization of conventions.&lt;/li&gt;
&lt;li&gt;Improved Design-Time Support for Conventions&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Thanks to the great community who provided awesome feedback during this release cycle. Thanks also to those who spent time to provide fixes and pull requests for bugs as well as for API improvements. I&amp;rsquo;d like to add a special thanks to Chin Bae for excellent work on making our ViewLocator and ViewModelLocator both more extensible and more accessible for common customizations.&lt;/p&gt;
&lt;p&gt;We&amp;rsquo;re still just getting started. Enjoy &lt;a target="_blank" href="http://caliburnmicro.codeplex.com/releases/view/80884"&gt;the new bits&lt;/a&gt; and see what you can build!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=69352" width="1" height="1"&gt;</description><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/WPF/default.aspx">WPF</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Xaml/default.aspx">Xaml</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/databinding/default.aspx">databinding</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/WPF_2F00_e/default.aspx">WPF/e</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Caliburn/default.aspx">Caliburn</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Featured/default.aspx">Featured</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Silverlight/default.aspx">Silverlight</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/RIA/default.aspx">RIA</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/MVVM/default.aspx">MVVM</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/UI+Architecture/default.aspx">UI Architecture</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Caliburn+Micro/default.aspx">Caliburn Micro</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/WP7/default.aspx">WP7</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/NuGet/default.aspx">NuGet</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/MVP/default.aspx">MVP</category></item><item><title>How I Lost, Regained and then Turned Down an MVP Award</title><link>http://devlicio.us/blogs/rob_eisenberg/archive/2012/01/04/how-i-lost-regained-and-then-turned-down-an-mvp-award.aspx</link><pubDate>Thu, 05 Jan 2012 01:46:00 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:68957</guid><dc:creator>Rob Eisenberg</dc:creator><slash:comments>82</slash:comments><wfw:commentRss>http://devlicio.us/blogs/rob_eisenberg/rsscomments.aspx?PostID=68957</wfw:commentRss><comments>http://devlicio.us/blogs/rob_eisenberg/archive/2012/01/04/how-i-lost-regained-and-then-turned-down-an-mvp-award.aspx#comments</comments><description>&lt;p&gt;&lt;strong&gt;What Happened To Me&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;d say that 2011 was a pretty good year for me as a .NET open source developer. After all, Caliburn.Micro had it&amp;rsquo;s first official release in April 2011 just in time for the Mix Open Source fest. At the festival, the framework had a great showing. I had tons of people literally coming up to me and dumping *all* their voting tokens into my bucket. In fact there were so many people constantly standing around my booth that my bucket didn&amp;rsquo;t even get collected for counting in the official vote. Thankfully someone standing around realized this and helped to remedy the situation. Needless to say, it was a successful event. Over the next several months I did two additional non-trivial releases and then began work on the v1.3 release. I also added support for Silverlight 5, WP7 Mango and preliminary support for WinRT/Metro. Furthermore, I began refactoring the entire framework so that it could be modularized into &amp;ldquo;feature&amp;rdquo; packages allowing a variety of different uses of the framework via Nuget. I even tested CM&amp;rsquo;s EventAggregator and IoC container to make sure they would run without issue on iOS and Android devices via Unity3d. In addition to the actual framework development, I wrote documentation, blogged, fixed dozens of bugs and added new features. I also participate daily in the Caliburn.Micro forums which currently have about 1k discussions. Caliburn.Micro is now used as the core enabling framework for thousands of applications across WPF, Silverlight and various versions of WP7. Depending on the day, Caliburn/Caliburn.Micro is the second or third most trafficked Xaml-related open source project in existence.&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m not trying to toot my own horn here. I&amp;rsquo;m just trying to set up a context. Considering the enormous amount of work in both creating the project and supporting the community&amp;hellip;you can imagine my surprise when I received the &amp;ldquo;form letter&amp;rdquo; stating that my MVP was not being renewed because I hadn&amp;rsquo;t accomplished enough in the last 12 months&amp;hellip;.and what I did do did not &amp;ldquo;stand out&amp;rdquo; in the community. Here&amp;rsquo;s the actual quote:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;ldquo;The MVP Award is presented to individuals for their past year&amp;rsquo;s contributions to online and offline communities, which stand out from others in the communities that focus on Microsoft technologies. Your contributions were diligently evaluated over the past year against the contributions of others in the Silverlight community.&amp;nbsp; As a result of this evaluation, you were not awarded as a MicrosoftMVP for the January 2012 award cycle.&amp;rdquo;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Now, I&amp;rsquo;m not really &amp;ldquo;attached&amp;rdquo; to being an MVP. I don&amp;rsquo;t attach a lot of self-worth or emotional satisfaction to it. It&amp;rsquo;s a nice thing to have though. So, I was really caught off guard by this and wondered how the MVP program could come to the conclusion that I hadn&amp;rsquo;t significantly contributed in the last year.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;What I Did&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Being surprised as I was, and not being too fond of &amp;ldquo;generic&amp;rdquo; letters , I made one simple tweet:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;ldquo;Apparently Caliburn/Caliburn.Micro and my support of it is not a &amp;lsquo;good enough&amp;rsquo; contribution for Microsoft. I lost my MVP this year.&amp;rdquo;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;strong&gt;The Community Response&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Immediately following this tweet, a storm of people responded with great affection for my work and general encouragement. I want to say thank you to everyone who responded so kindly. Paired with the encouragement was a general sense of befuddlement around how the MVP program could make such a conclusion. Apparently, I wasn&amp;rsquo;t the only surprised individual.&lt;/p&gt;
&lt;p&gt;I thought to myself &amp;ldquo;mistakes happen.&amp;rdquo; But as I was surveying the twitter-verse, I also learned that Jeremy Miller (StructureMap, FubuMVC, Storyteller) and Daniel Cazzulino (Moq) also lost their MVPs; two other prominent open source developers. Now I had had some problem during the re-evaluation process indicating my new MVP Lead clearly didn&amp;rsquo;t understand the nature of open source. When I was up for renewal, he asked me to fill out a rather ridiculous spreadsheet. If you could see it, you would notice something missing? There&amp;rsquo;s no category for Open Source!!! There&amp;rsquo;s not even a way to report it. I had this problem in previous years when I was asked to update my online MVP profile (a hideously painful UX by the way). The program uses that to evaluate you as well. Guess what? There&amp;rsquo;s no way to report Open Source work!!! Do you see a trend here? &lt;/p&gt;
&lt;p&gt;--Start Rant&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The thing that really disturbed me was that my MVP Lead didn&amp;rsquo;t know who I was or understand the nature of my contributions. What is it that an MVP Lead does anyways? I can&amp;rsquo;t tell. I get a useless mass email every week or so telling me things about Microsoft I don&amp;rsquo;t care about. Half of the time it isn&amp;rsquo;t even readable due to bad formatting, etc. My Lead never contacted me personally during the year. When I came up for renewal, I had to *defend* why I should have my award renewed using a bad Excel spreadsheet and a really bad online form which don&amp;rsquo;t even allow me to capture my real contributions. Shouldn&amp;rsquo;t it be an MVP Lead&amp;rsquo;s job to know his MVPs and what it is they are doing? Seriously. I sat down and calculated how much time it would take me to fill out the Excel form and the online form, plus writing a custom report for everything that wasn&amp;rsquo;t able to be captured via those broken mechanisms. I took that number of hours and multiplied it by my hourly consulting rate and determined that the money I would make working exceeded the material value of the MVP award. Haven&amp;rsquo;t I given enough free work to Microsoft? This isn&amp;rsquo;t a personal attack on *my* MVP Lead. I don&amp;rsquo;t know the guy. But, I wonder whether the role of MVP Lead is improperly defined or under-defined, because I know that I&amp;rsquo;m not the only person who has had this exact problem repeatedly.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;--End Rant&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Microsoft Employees to the Rescue&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Also following my tweet, a number of Microsoft employees stepped in to investigate.&amp;nbsp; I have to thank them here personally. Much thanks to you (in no particular order) Tim Heuer, Pete Brown, Joe Healey, Glenn Block and Scott Hanselman. At one point I heard that this issue had even been escalated internally to Scott Guthrie. It&amp;rsquo;s truly an honor that so many well known and respected individuals *inside* Microsoft stepped up to personally investigate my situation. Thank you again. This is a tremendously good thing and points out something of great importance. Over the years I&amp;rsquo;ve very rarely had negative experiences with individual Microsoft employees. But, I&amp;rsquo;ve almost always had bad experiences interacting with groups, programs, etc. It seams that somehow the opinions of the individuals are lost in the system. That&amp;rsquo;s a real shame. &lt;/p&gt;
&lt;p&gt;If the opinion of many trusted Microsoft employees and the opinion of so many community members is not reflected in the MVP Award, then there certainly is a problem with the program&amp;hellip;or I don&amp;rsquo;t understand what the program is.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;An MVP Again&amp;hellip;for a few hours&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Thanks to the work of the gentlemen listed above, I was informed last night that I was being re-awarded an MVP for the 2012 year. I understand this sort of thing never happens. But, I&amp;rsquo;d already had several days to reflect on the MVP program and had several conversations with various people leading to several realizations listed above and several more detailed below. I was very unsettled.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Why I Turned Down the MVP&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This morning I responded to the award email with a respectful &lt;em&gt;decline&lt;/em&gt;. Below are some of the reasons I chose to no longer be a part of the program and why I doubt I will participate again, unless serious reform happens.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Becoming an MVP&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;One of the problems with the MVP program is that the whole thing is basically a mystery. Here&amp;rsquo;s where I first knock heads with the program. I value transparency and openness, even if it&amp;rsquo;s difficult or sometimes painful. The MVP program does not value openness. That&amp;rsquo;s why it&amp;rsquo;s basically a mystery how you get nominated for an MVP or what you have to do to get one. Let me do a little expos&amp;eacute; here. In my case, I&amp;rsquo;m fairly sure that my local Developer Evangelist saw the work I was doing in the local community and submitted me. That&amp;rsquo;s a good thing and it&amp;rsquo;s probably fairly common. But what happens from there? It&amp;rsquo;s my understanding that it&amp;rsquo;s completely out of DPE&amp;rsquo;s hands at that point. Who knows? From what I can tell, if the MVP program is interested in you, you then have to submit proof of your accomplishments to them. I remember doing this. It&amp;rsquo;s not like a normal award where the organization does the work to investigate your contributions and then decides whether or not to give you an award. No. If you are being considered for nomination, you literally have to *sell* yourself to the MVP program&amp;hellip;and selling is exactly what you are doing. Want to know why? Have you noticed that the MVP disciplines are strictly organized around internal product groups, regardless of how hindering to the particular MVP discipline it appears to be? An example of this is that Client AppDev, Silverlight, WP7 and Blend are all separate MVP groups even though they should be unified. Because they are different products, they are different MVPs (actually, they should all be the same product, but that&amp;rsquo;s a subject for another blog post). Do you know why this is? I&amp;rsquo;ll tell you: because each product group literally gets an MVP &amp;ldquo;budget&amp;rdquo; which they use to &amp;ldquo;purchase&amp;rdquo; MVPs for the year. Personally, I&amp;rsquo;m offended by this notion. But it would take drastic re-organization of the MVP program to fix it.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;General Life as an MVP&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Now you can just imagine how this division along product lines and MVP purchasing might affect things. Because Microsoft&amp;rsquo;s product teams are notorious for not only being non-communicative with one another but are often pitted against one another by the upper level management&amp;hellip;the various product teams can develop a vastly different set of values and beliefs with respect to interaction both internally and with the outside world. Depending on what MVP discipline you are a part of&amp;hellip;and the nature of your contributions&amp;hellip;you may have a great experience or you may be in store for hell. If the product group you are associated with is open, such as ASP.NET, you can expect lots of interaction, incorporation of your feedback into the product and probably a deep respect of open source work. If your product team is something like WP7, you can expect much less communication, very little change to the product based on your feedback and probably&amp;hellip;they don&amp;rsquo;t even know what open source is.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;My Life as an MVP&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;As for myself, it&amp;rsquo;s clear that my major contribution is through an open source framework. What a fool I was&amp;hellip;there&amp;rsquo;s a certain insanity in building an open source framework on top of a proprietary UI stack. Back when I was awarded the MVP, I was given the Client AppDev designation, which basically means WPF (but for some reason, contrary to what I&amp;rsquo;ve said above, also included WinForms..interesting how they had WPF and WinForms in the same group but not WPF and Silverlight&amp;hellip;but I digress&amp;hellip;or do I?). Back then Xaml tech wasn&amp;rsquo;t so secretive. When Silverlight came along, they moved me into that group. That group was different. Silverlight was kept tightly sealed. When I was a Client AppDev, I actually felt like Rob Relyea and John Gossman were my kin. When I became a Silverlight MVP, I felt like I was an outsider being graced with a little tiny window to peer in on things. I say all that because when I started on Caliburn, while I was working on a proprietary platform, it felt more open. But when Silverlight came along, things changed. WP7 was even worse than Silverlight&amp;hellip;and WinRT/Metro&amp;hellip;well&amp;hellip;they didn&amp;rsquo;t talk to anyone. Now that Xaml has moved out of the Developer Division and into the Windows division, it&amp;rsquo;s only going to get worse.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Secret Societies&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;ve already mentioned how the organization of the MVP groups along product lines can be a hindrance to everyone. WPF, Silverlight, WP7, Metro and Blend&amp;hellip;which are all used by the same group of people, are actually different MVP groups. As a Silverlight MVP&amp;hellip;I had no access to anything happening with WP7. I had no knowledge of WinRT/Metro. I had no knowledge of Blend or any mechanism to directly interact with that product team. Now, Caliburn.Micro spans all of these technologies, but I could really only talk to Silverlight product team members&amp;hellip;and a few of my old WPF comrades. But would it surprise you if I told you the organizational absurdity went even farther. Did you know there are &amp;ldquo;insiders&amp;rdquo; groups. &amp;ldquo;Insiders&amp;rdquo; for a particular product group have more privileged knowledge than MVPs and more opportunities for direct interaction. Some MVPs are also insiders, but not all. Some insiders are not MVPs. But wait, there&amp;rsquo;s more. There&amp;rsquo;s also the TAP program&amp;hellip;.which seams to have more privileged connections and knowledge. To this day, I don&amp;rsquo;t know how one gets in a TAP program. I was in the WP7 Tap for about two days. Some guys already in the program were talking in the TAP forums about getting Caliburn.Micro working on WP7. They yelled loud enough and the powers that be invited me, since it seamed that significant apps were likely to be built with my framework. Unfortunately, things went public very shortly after that and the TAP was closed. LOL. But it doesn&amp;rsquo;t end there. It seams, based on observation, that there are even more secretive groups&amp;hellip;who pretty much know everything the product team knows. These guys don&amp;rsquo;t have a name and I don&amp;rsquo;t know how you get into that. Though, I&amp;rsquo;m pretty sure it has to do with being &amp;ldquo;chummy&amp;rdquo; to the right people. Childishness. The bottom line is that there are too many levels of secrecy and too many and the wrong types of divisions to enable an effective feedback loop. I don&amp;rsquo;t know if this is true of all MVP groups, but it was with Silverlight and it has got worse with each successive Xaml platform. Now that Xaml is in Windows, I don&amp;rsquo;t expect anyone to be able to provide decent feedback.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Fruitlessness&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Since things are so improperly organized, there are really only a few occasions where one can really provide good feedback on the product. Unfortunately, after three years as an MVP, I have to say that not a single bit of feedback I provided resulted in any sort of change to the product. With the Silverlight team..and almost always with the Blend team (when I could actually run one of them down), I would get some response like &amp;ldquo;yes, we&amp;rsquo;ll have to have a conversation about that.&amp;rdquo; And I&amp;rsquo;d be thinking&amp;hellip;&amp;rdquo;isn&amp;rsquo;t that why I&amp;rsquo;m here at the MVP summit talking to you now?&amp;rdquo; But they never seamed to want to engage in a real discussion on *anything* that affected me, my project or my clients. I had this happen every year at the summit. I had even more outrageous things happen in email and at BUILD. On the insiders email list (when I finally got on it), I tried to start a conversation about Convention over Configuration and improvements to tooling that would help support those scenarios and generally make tool extensibility better. Somehow I managed to get into a private email thread of the Blend team where they could engage me on that. You know what they said when I tried to continue the conversation? They said &amp;ldquo;we don&amp;rsquo;t want to discuss that right now.&amp;rdquo; Ok&amp;hellip;thanks. That made me really mad. Why am I an MVP again? But the real treat was at BUILD. I managed to track down two of the Blend PMs. I first talked to the PM in charge of the JavaScript Blend work. I told him about what I was building in JavaScript. He was really interested and wanted to follow up with me on what I was building and how it would work inside Blend. Then I took several steps to the right to talk to a Blend PM working on the Xaml side of things. I tried, once again, to discuss CoC. I know for a fact these guys either don&amp;rsquo;t understand it or don&amp;rsquo;t think it&amp;rsquo;s important in software at all. Well, they listened for a moment, then I asked about improving the tooling so I could have a plugin mechanism by which to improve that scenario for my customers. They were very not-helpful. I tried to bring up issues of developer productivity and better strategies for building applications. In a nutshell, the PM basically said to me &amp;ldquo;we don&amp;rsquo;t care about developers&amp;hellip;they aren&amp;rsquo;t part of our use cases.&amp;rdquo; I was pretty enraged by that. See how the product team&amp;rsquo;s culture affects the effectiveness of the MVP program? My main point though is that nothing I ever said or did affected any product team&amp;rsquo;s work. Nothing. It was a waste of time and energy&amp;hellip;and an emotional drain.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;MVP Quality&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Now I want to tread lightly here with how I say this&amp;hellip;.not all MVPs are created equal. I&amp;rsquo;m going to be vague here. I met an MVP once for Technology X. It turned out that she had never built anything with Technology X and wasn&amp;rsquo;t overly knowledgeable about it. She liked Technology X a lot though. Each day she would scan her RSS feeds and post about 8 - 10 links on Technology X. That&amp;rsquo;s why she had her MVP. It looks good on a review doesn&amp;rsquo;t it? I blogged 365 posts on Technology X this year!!&amp;nbsp; Now, I&amp;rsquo;ve met some MVPs in various areas that were brilliant and obviously contributing a lot. But, I&amp;rsquo;ve met a fair share of MVPs who not only were not experts on the technology, but didn&amp;rsquo;t make half the contribution that other developers I knew did, who were never awarded MVPs. Not all MVPs are equal. If you are an employer, or looking for a speaker, expert, consultant&amp;hellip;whatever; you cannot assume that just because that person has an MVP that they know what they are talking about. It&amp;rsquo;s sad, but this describes a noticeable number of MVPs.&lt;/p&gt;
&lt;p&gt;One more word on MVP quality with respect to division along product team lines. You should never hire a highly product-specific MVP to help advise you on technology choices. I hope you realize the built-in problem with that. I know very few Technology X MVPs who would tell you not to use Technology X, even if there was a better, cheaper, faster way to build your solution. Be wary.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Open Source&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I just want to say a little more about this. As I mentioned, there&amp;rsquo;s nothing about the MVP program that explicitly allows for recognition of open source work. It&amp;rsquo;s hard to get nominated for it and it&amp;rsquo;s even harder to renew with it. MVP leads who play a major roll in the renewal process may not be technical at all and even may not understand Open Source. Since I&amp;rsquo;ve mentioned how MVPs are linked to product groups, you might guess that the effectiveness of your MVP as an OSS developer is entirely dependent on that particular product group&amp;rsquo;s understanding of and interest in OSS. In a group related to ASP.NET or JavaScript, developers on the team are likely to have run open source projects themselves. In a group like Silverlight or WP7, they are likely to have never done such a thing&amp;hellip;and not even have a clear idea of what is involved. I really came face to face with this when my non-renewed MVP&amp;hellip;got renewed. Why? Well, it felt like a sort of &amp;ldquo;benefit of the doubt&amp;rdquo; renewal. Here&amp;rsquo;s the advice I was given from the renewal email, elided:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;EDIT: I removed this quotation because a good friend of mine was honest enough to remind me that quoting a personal email is neither professional nor polite. I repent of that.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;--Start Rant&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;What!? I released one of the most popular Xaml-related OSS project this year. I did multiple version releases, nuget packages, podcasts, documentation, forum support&amp;hellip;the list goes on. What more do you want from me? And what should I do next year&amp;hellip;because Caliburn.Micro is so popular, that in order for me to do something bigger for next year&amp;hellip;I&amp;rsquo;d have to dump it entirely&amp;hellip;.completely abandoned it and build something totally different&amp;hellip;something even more popular for Silverlight!? How could I do that to my community? That&amp;rsquo;s not even nice. No, in 2012, I&amp;rsquo;m going to continue to fix bugs, add features, add platform support and do awesome things with Caliburn.Micro. I love my own community and I&amp;rsquo;m going to continue to work hard and support them.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;--End Rant&lt;/p&gt;
&lt;p&gt;Now this kind of comment clearly expresses a deep lack of understanding for both the value of a project like Caliburn.Micro and the amount of time and resources it takes to maintain both the project and the community. If your OSS project is successful, it&amp;rsquo;s not just something you do one year and then move on to something else the next. In fact, building the first version of Caliburn.Micro was the easy part! It&amp;rsquo;s everything that&amp;rsquo;s happened afterwards and what is happening now that is hard work and will continue to be.&lt;/p&gt;
&lt;p&gt;Unfortunately, Microsoft just doesn&amp;rsquo;t have a way of recognizing OSS developers who improve their platform. The MVP program doesn&amp;rsquo;t do this and the product teams may not either. In fact, Balmer has explicitly said he isn&amp;rsquo;t creating any policy around OSS&amp;hellip;he&amp;rsquo;s totally dodging it entirely. This leaves the decision up to the individual teams&amp;hellip;which sometimes goes well, but often times does not. That&amp;rsquo;s irresponsible leadership.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Career Affects&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;No one ever hired me as a consultant because I had an MVP. They hired me because of my open source work and my recognized expertise in UI architecture. The company I&amp;rsquo;m working for&amp;hellip;I don&amp;rsquo;t even think they know what an MVP is. They hired me because they know *me* and know I can help them with their particular problem. I would say the personal career benefits of having an MVP are a wash except&amp;hellip;&lt;/p&gt;
&lt;p&gt;With Microsoft&amp;rsquo;s less than above the bar treatment and communication about Silverlight over the last year or so, you might imagine this could effect MVPs associated with the program. I&amp;rsquo;ve heard a lot of horrible stories in the last year. I didn&amp;rsquo;t have anything terribly bad happen to my business, but I was quite embarrassed recently. I was attending a .NET user group meeting, of which I am the president. Somehow I or someone else mentioned that I was a Silverlight MVP. I don&amp;rsquo;t remember the detail about how it came up, but I do remember what happened next. Someone laughed at me. Literally, I was made fun of because my MVP had the word Silverlight attached to it. Now, I&amp;rsquo;m just not willing to endure mockery for the sake of Silverlight, especially since I understood exactly why he was laughing at me. It has got to where being a &amp;ldquo;Silverlight&amp;rdquo; MVP is bad for my career.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;My Happiness&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Looking over the last three years, I&amp;rsquo;ve definitely been a less happy, more frustrated developer. I&amp;rsquo;m sure it&amp;rsquo;s linked to the sort of fake &amp;ldquo;value&amp;rdquo; being a Silverlight MVP gave me. Basically, they give you a couple of cheep gifts, then they pretend to listen to your feedback, while not actually doing anything. Year after year of that and you get really unhappy. It&amp;rsquo;s demoralizing. You start to realize that you really are a commodity. You are purchased by a product group and kept around as long as they perceive they need you&amp;hellip;your feedback is allowed, but not effective. Again, it&amp;rsquo;s probably not the case for all MVPs, it depends on the groups. I just don&amp;rsquo;t need that in my life.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I&amp;rsquo;m saying goodbye to the MVP program even after I was re-offered the award for 2012. If you&amp;rsquo;ve read this far, you can probably see why I made that decision. I&amp;rsquo;m really positive about the future of Caliburn.Micro and hopeful regarding my JavaScript framework. I think 2012 is going to be a wonderful year. If someone seriously reforms the MVP program or if Microsoft decides to properly recognize and reward open source efforts, then, maybe I&amp;rsquo;ll let them give me an award. But for now, I don&amp;rsquo;t need to suffer any more. I&amp;rsquo;m free and I&amp;rsquo;m going to do great things.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=68957" width="1" height="1"&gt;</description><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/WPF/default.aspx">WPF</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/.NET+3.0/default.aspx">.NET 3.0</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Xaml/default.aspx">Xaml</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/WPF_2F00_e/default.aspx">WPF/e</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/.NET+3.5/default.aspx">.NET 3.5</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Caliburn/default.aspx">Caliburn</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Featured/default.aspx">Featured</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Silverlight/default.aspx">Silverlight</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/RIA/default.aspx">RIA</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/MVVM/default.aspx">MVVM</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/UI+Architecture/default.aspx">UI Architecture</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Caliburn+Micro/default.aspx">Caliburn Micro</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/WP7/default.aspx">WP7</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/NuGet/default.aspx">NuGet</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/MVP/default.aspx">MVP</category></item><item><title>If you BUILD it…</title><link>http://devlicio.us/blogs/rob_eisenberg/archive/2011/09/09/if-you-build-it.aspx</link><pubDate>Fri, 09 Sep 2011 17:22:35 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:68176</guid><dc:creator>Rob Eisenberg</dc:creator><slash:comments>2</slash:comments><wfw:commentRss>http://devlicio.us/blogs/rob_eisenberg/rsscomments.aspx?PostID=68176</wfw:commentRss><comments>http://devlicio.us/blogs/rob_eisenberg/archive/2011/09/09/if-you-build-it.aspx#comments</comments><description>&lt;p&gt;Next week is Microsoft’s new &lt;a href="http://www.buildwindows.com/" target="_blank"&gt;BUILD&lt;/a&gt; conference. It should be very interesting. If you are attending, I’d love to meet you. I look &lt;a href="http://www.bluespire.com/about" target="_blank"&gt;like this&lt;/a&gt;. If you are a &lt;a href="http://caliburnmicro.codeplex.com/" target="_blank"&gt;Caliburn.Micro&lt;/a&gt; user, I’d love to discuss your work and your experience with the framework. See you there!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=68176" width="1" height="1"&gt;</description><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Featured/default.aspx">Featured</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Caliburn+Micro/default.aspx">Caliburn Micro</category></item><item><title>Caliburn.Micro v1.2 RTW and Nuget Feature Packages!</title><link>http://devlicio.us/blogs/rob_eisenberg/archive/2011/07/30/caliburn-micro-v1-2-rtw-plus-nuget-feature-packages.aspx</link><pubDate>Sat, 30 Jul 2011 17:40:00 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:68054</guid><dc:creator>Rob Eisenberg</dc:creator><slash:comments>2</slash:comments><wfw:commentRss>http://devlicio.us/blogs/rob_eisenberg/rsscomments.aspx?PostID=68054</wfw:commentRss><comments>http://devlicio.us/blogs/rob_eisenberg/archive/2011/07/30/caliburn-micro-v1-2-rtw-plus-nuget-feature-packages.aspx#comments</comments><description>&lt;p&gt;Today, I&amp;rsquo;m pleased to announce &lt;a target="_blank" href="http://caliburnmicro.codeplex.com/releases/view/70940"&gt;the RTW of Caliburn.Micro v1.2&lt;/a&gt;. In this release we&amp;rsquo;ve had a number of bug fixes as well as a few incremental feature additions and refactorings. You can read the list of changes on the project site or get it as part of the download. Of course, v1.2 is now &lt;a target="_blank" href="http://nuget.org/List/Packages/Caliburn.Micro"&gt;available through Nuget&lt;/a&gt; as well. &lt;/p&gt;
&lt;p&gt;In addition to the standard release, I&amp;rsquo;m happy to announce something new we are doing with Caliburn.Micro: Feature Packages. Feature Packages allow developers a way pick and choose only the features they want from Caliburn.Micro and not have to take a dependency on other unused features of the framework. This allows for smaller Silverlight and WP7 applications as well as the ability to use some Caliburn.Micro features outside of the scope of a Xaml-application at all. Currently, we only have three feature packages available, but those will likely expand in the future.&lt;/p&gt;
&lt;p&gt;Here&amp;rsquo;s a list of all the official Caliburn.Micro related packages on Nuget:&lt;/p&gt;
&lt;p&gt;Caliburn.Micro &amp;ndash; The full framework compiled into an assembly.&lt;/p&gt;
&lt;p&gt;Caliburn.Micro.Container &amp;ndash; The Caliburn.Micro inversion of control container (IoC), provided as a source code drop-in.&lt;/p&gt;
&lt;p&gt;Caliburn.Micro.EventAggregator &amp;ndash; The Caliburn.Micro event aggregator, provided as a source code drop-in.&lt;/p&gt;
&lt;p&gt;Caliburn.Micro.INPC &amp;ndash; The Caliburn.Micro INPC infrastructure: PropertyChangedBase, BindableCollection, Execute.OnUIThread and InDesignMode checking, provided as a source code drop-in.&lt;/p&gt;
&lt;p&gt;Interestingly, by combing the container, event aggregator and INPC packages, you basically get something equivalent to MVVMLight Toolkit. So, if you are looking to get started with the absolute minimal needed to do MVVM, we have a solution for you. Naturally, it&amp;rsquo;s source-code-identical to Caliburn.Micro, which means you can upgrade from any combination of feature packages to the full framework without having to change a line of your code.&lt;/p&gt;
&lt;p&gt;Happy app-building!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=68054" width="1" height="1"&gt;</description><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/WPF/default.aspx">WPF</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Xaml/default.aspx">Xaml</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/WPF_2F00_e/default.aspx">WPF/e</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Caliburn/default.aspx">Caliburn</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Featured/default.aspx">Featured</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Silverlight/default.aspx">Silverlight</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/RIA/default.aspx">RIA</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/MVVM/default.aspx">MVVM</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/UI+Architecture/default.aspx">UI Architecture</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Caliburn+Micro/default.aspx">Caliburn Micro</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/WP7/default.aspx">WP7</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/NuGet/default.aspx">NuGet</category></item><item><title>Caliburn.Micro Soup to Nuts Part 9–New WP7 Features</title><link>http://devlicio.us/blogs/rob_eisenberg/archive/2011/06/09/caliburn-micro-soup-to-nuts-part-9-new-wp7-features.aspx</link><pubDate>Thu, 09 Jun 2011 17:23:00 GMT</pubDate><guid isPermaLink="false">40756a8b-6212-4073-9d98-6c26781577de:67721</guid><dc:creator>Rob Eisenberg</dc:creator><slash:comments>5</slash:comments><wfw:commentRss>http://devlicio.us/blogs/rob_eisenberg/rsscomments.aspx?PostID=67721</wfw:commentRss><comments>http://devlicio.us/blogs/rob_eisenberg/archive/2011/06/09/caliburn-micro-soup-to-nuts-part-9-new-wp7-features.aspx#comments</comments><description>&lt;p&gt;In version 1.0 we had pretty good support for building apps for WP7, but in v1.1 we&amp;rsquo;ve taken things up a notch. Let&amp;rsquo;s look at the same HelloWP7 sample that we did &lt;a target="_blank" href="http://caliburnmicro.codeplex.com/wikipage?title=Working%20with%20Windows%20Phone%207&amp;amp;referringTitle=Documentation"&gt;previously&lt;/a&gt;, but see how it&amp;rsquo;s been updated to take advantage of our improved tombstoning, launcher/chooser support and strongly typed navigation. You&amp;rsquo;ll also notice that the code is cleaner overall.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Bootstrapper&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Here&amp;rsquo;s the cleaned up boostrapper in v1.1.&lt;/p&gt;
&lt;pre name="code" class="c#:nogutter:nocontrols"&gt;public class HelloWP7Bootstrapper : PhoneBootstrapper {
    PhoneContainer container;

    protected override void Configure() {
        container = new PhoneContainer(RootFrame);

        container.RegisterPhoneServices();
        container.PerRequest&amp;lt;MainPageViewModel&amp;gt;();
        container.PerRequest&amp;lt;PivotPageViewModel&amp;gt;();
        container.PerRequest&amp;lt;TabViewModel&amp;gt;();

        AddCustomConventions();
    }

    static void AddCustomConventions() {
        //ellided
    }

    protected override object GetInstance(Type service, string key) {
        return container.GetInstance(service, key);
    }

    protected override IEnumerable&amp;lt;object&amp;gt; GetAllInstances(Type service) {
        return container.GetAllInstances(service);
    }

    protected override void BuildUp(object instance) {
        container.BuildUp(instance);
    }
}&lt;/pre&gt;
&lt;p&gt;There are two things to notice here. First, we&amp;rsquo;ve removed all the manual Caliburn.Micro service configuration and pushed it into the SimpleContainer. That gives you one line of code to configure the framework if you are using the OOTB container. Speaking of which, we now provide the SimpleContainer officially in the Caliburn.Micro.Extensions assembly. That helps you get started faster. You can always plug your own in, of coarse. In addition to the simplified configuration, notice that the ViewModels for pages are no longer registered using a string key. For v1.1 our ViewModelLocator has been re-implemented to pull VMs from the container by Type rather than key. It now follows the exact same naming strategies as the ViewLocator (but in reverse) and even derives possible interface names so that it resolves VMs from the container correctly. This both improves the consistency of ViewModel location as well as makes the configuration simpler.&lt;/p&gt;
&lt;p&gt;The boostrapper is added to your App.xaml as always:&lt;/p&gt;
&lt;pre name="code" class="xml:nogutter:nocontrols"&gt;&amp;lt;Application x:Class=&amp;quot;Caliburn.Micro.HelloWP7.App&amp;quot;
             xmlns=&amp;quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&amp;quot;
             xmlns:x=&amp;quot;http://schemas.microsoft.com/winfx/2006/xaml&amp;quot;
             xmlns:local=&amp;quot;clr-namespace:Caliburn.Micro.HelloWP7&amp;quot;&amp;gt;
    &amp;lt;Application.Resources&amp;gt;
        &amp;lt;local:HelloWP7Bootstrapper x:Key=&amp;quot;bootstrapper&amp;quot; /&amp;gt;
    &amp;lt;/Application.Resources&amp;gt;
&amp;lt;/Application&amp;gt;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Important Note About App.xaml.cs&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;If you create your WP7 application using a standard Visual Studio template, the generated App.xaml.cs file will have a lot of code in it. The purpose of this code is to set up the root frame for the application and make sure everything gets initialized properly. Of course, that&amp;#39;s what the bootstrapper&amp;#39;s job is too (and in fact it does a few things better than the out-of-the-box code in addition to configuring CM). So, you don&amp;#39;t need both. When using CM&amp;#39;s PhoneBootstrapper, be sure to clear out all the code from the App.xaml.cs file except for the call to InitializeComponent in the constructor.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;INavigationService&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Let&amp;rsquo;s review what CM&amp;rsquo;s INavigationService&amp;nbsp; does for you. First, remember that WP7 enforces a View-First approach to UI at the platform level. Like it or not, the platform is going to create pages at will and the Frame control is going to conduct your application thusly. You don&amp;rsquo;t get to control that and there are no extensibility points, unlike the Silverlight version of the navigation framework. Rather than fight this, I&amp;rsquo;m going to recommend embracing the View-First approach for Pages in WP7, but maintaining a Model-First composition strategy for the sub-components of those pages and a Model-First approach to coding against the navigation system. In order to bridge this gap, I&amp;rsquo;ve enabled the INavigationService to hook into the native navigation frame&amp;rsquo;s functionality and augment it with the following behaviors:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;When Navigating To a Page&lt;/em&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Use the new ViewModelLocator to conventionally determine the Type of the VM that should be attached to the page being navigated to. Pull that VM by Type out of the container.&lt;/li&gt;
&lt;li&gt;If a VM is found, use the ViewModelBinder to connect the Page to the located ViewModel.&lt;/li&gt;
&lt;li&gt;Examine the Page&amp;rsquo;s QueryString. Look for properties on the VM that match the QueryString parameters and inject them, performing the necessary type coercion.&lt;/li&gt;
&lt;li&gt;If the ViewModel implements the IActivate interface, call its Activate method.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;em&gt;When Navigating Away From a Page&lt;/em&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Detect whether the associated ViewModel implements the IGuardClose interface.&lt;/li&gt;
&lt;li&gt;If IGuardClose is implemented and the app is not being tombstoned or closed, invoke the CanClose method and use its result to optionally cancel page navigation.&lt;sup&gt;1&lt;/sup&gt;&lt;/li&gt;
&lt;li&gt;If the ViewModel can close and implements the IDeactivate interface, call it&amp;rsquo;s Deactivate method. Always pass &amp;ldquo;false&amp;rdquo; to indicate that the VM should deactivate, but not necessarily close. This is because the phone may be deactivating, but not actually tombstoning or closing. There&amp;rsquo;s no way to know.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The behavior of the navigation service allows the correct VM to be hooked up to the page, allows that VM to be notified that it is being navigated to (IActivate), allows it to prevent navigation away from the current page (IGuardClose) and allows it to clean up after itself on navigation away, tombstoning or normal &amp;ldquo;closing&amp;rdquo; of the application (IDeactivate). All these interfaces (and a couple more) are implemented by the Screen class. If you prefer not to inherit from Screen, you can implement any of the interfaces individually of coarse. They provide a nice View-Model-Centric, testable and predictable way of responding to navigation without needing to wire up a ton of event handlers or write important application flow logic in the page&amp;rsquo;s code-behind.&lt;/p&gt;
&lt;p&gt;These hooks into phone navigation enable a really smooth way of interacting with the phone&amp;rsquo;s navigation lifecycle. But now that we have an improved ViewModelLocator that matches exactly the ViewLocator and works on types, we can take things further. In v1.1 we&amp;rsquo;ve introduced support for strongly-typed navigation. Here&amp;rsquo;s what the new MainPageViewModel from the sample looks like using this new feature:&lt;/p&gt;
&lt;pre name="code" class="c#:nogutter:nocontrols"&gt;public class MainPageViewModel {
    readonly INavigationService navigationService;

    public MainPageViewModel(INavigationService navigationService) {
        this.navigationService = navigationService;
    }

    public void GotoPageTwo() {
        navigationService.UriFor&amp;lt;PivotPageViewModel&amp;gt;()
            .WithParam(x =&amp;gt; x.NumberOfTabs, 5)
            .Navigate();
    }
}&lt;/pre&gt;
&lt;p&gt;This allows you to specify a ViewModel to navigate to along with the query string parameters. Since this all happens using generics and lambdas, you can never miss-type a page Uri or mess up your query strings&amp;hellip;.and refactoring will work beautifully.&lt;/p&gt;
&lt;p&gt;For the sake of completeness, here&amp;rsquo;s the page that will be bound to MainPageViewModel:&lt;/p&gt;
&lt;pre name="code" class="xml:nogutter:nocontrols"&gt;&amp;lt;phone:PhoneApplicationPage x:Class=&amp;quot;Caliburn.Micro.HelloWP7.MainPage&amp;quot;
                            xmlns=&amp;quot;http://schemas.microsoft.com/winfx/2006/xaml/presentation&amp;quot;
                            xmlns:x=&amp;quot;http://schemas.microsoft.com/winfx/2006/xaml&amp;quot;
                            xmlns:phone=&amp;quot;clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone&amp;quot;
                            xmlns:shell=&amp;quot;clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone&amp;quot;
                            xmlns:cal=&amp;quot;clr-namespace:Caliburn.Micro;assembly=Caliburn.Micro&amp;quot;
                            SupportedOrientations=&amp;quot;Portrait&amp;quot;
                            Orientation=&amp;quot;Portrait&amp;quot;
                            shell:SystemTray.IsVisible=&amp;quot;True&amp;quot;&amp;gt;
    &amp;lt;Grid Background=&amp;quot;Transparent&amp;quot;&amp;gt;
        &amp;lt;Grid.RowDefinitions&amp;gt;
            &amp;lt;RowDefinition Height=&amp;quot;Auto&amp;quot; /&amp;gt;
            &amp;lt;RowDefinition Height=&amp;quot;*&amp;quot; /&amp;gt;
        &amp;lt;/Grid.RowDefinitions&amp;gt;
        &amp;lt;StackPanel Grid.Row=&amp;quot;0&amp;quot;
                    Margin=&amp;quot;24,24,0,12&amp;quot;&amp;gt;
            &amp;lt;TextBlock Text=&amp;quot;WP7 Caliburn.Micro&amp;quot;
                       Style=&amp;#39;{StaticResource PhoneTextNormalStyle}&amp;#39; /&amp;gt;
            &amp;lt;TextBlock Text=&amp;#39;Main Page&amp;#39;
                       Margin=&amp;#39;-3,-8,0,0&amp;#39;
                       Style=&amp;#39;{StaticResource PhoneTextTitle1Style}&amp;#39; /&amp;gt;
        &amp;lt;/StackPanel&amp;gt;

        &amp;lt;Grid Grid.Row=&amp;#39;1&amp;#39;&amp;gt;
            &amp;lt;Button x:Name=&amp;#39;GotoPageTwo&amp;#39;
                    Content=&amp;#39;Goto Page Two&amp;#39; /&amp;gt;
        &amp;lt;/Grid&amp;gt;
    &amp;lt;/Grid&amp;gt;

    &amp;lt;phone:PhoneApplicationPage.ApplicationBar&amp;gt;
        &amp;lt;shell:ApplicationBar IsVisible=&amp;#39;True&amp;#39;&amp;gt;
            &amp;lt;shell:ApplicationBar.Buttons&amp;gt;
                &amp;lt;cal:AppBarButton IconUri=&amp;#39;ApplicationIcon.png&amp;#39;
                                  Text=&amp;#39;Page Two&amp;#39;
                                  Message=&amp;#39;GotoPageTwo&amp;#39; /&amp;gt;
            &amp;lt;/shell:ApplicationBar.Buttons&amp;gt;
        &amp;lt;/shell:ApplicationBar&amp;gt;
    &amp;lt;/phone:PhoneApplicationPage.ApplicationBar&amp;gt;
&amp;lt;/phone:PhoneApplicationPage&amp;gt;&lt;/pre&gt;
&lt;p&gt;There&amp;rsquo;s really nothing new here in v1.1. But I just wanted to remind you that Caliburn.Micro supports Actions on the AppBar&amp;nbsp; as long as you use CM&amp;rsquo;s AppBarButton and AppBarMenuItem :) &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;IPhoneService&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The IPhoneService wraps the phone&amp;rsquo;s frame and provides access to important information and events. We had this service in v1.0 but we&amp;rsquo;ve expanded it in v1.1 to expose a better event model. Those familiar with WP7 know that the phone has a series of events that fire in different circumstances: Launching, Activated, Deactivated and Closing. Unfortunately, these events obscure whether the phone is actually resurrecting from a tombstoned state or simply continuing execution. The current SDK does not make it easy for the developer to actually determine this, so Caliburn.Micro does the heavy lifting for you and provides the following event model:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Launching - Occurs when a fresh instance of the application is launching.&lt;/li&gt;
&lt;li&gt;Activated - Occurs when a previously paused/tombstoned app is resumed/resurrected.&lt;/li&gt;
&lt;li&gt;Deactivated - Occurs when the application is being paused or tombstoned.&lt;/li&gt;
&lt;li&gt;Closing - Occurs when the application is closing.&lt;/li&gt;
&lt;li&gt;Continuing -&amp;nbsp; Occurs when the app is continuing from a temporarily paused state.&lt;/li&gt;
&lt;li&gt;Continued - Occurs after the app has continued from a temporarily paused state.&lt;/li&gt;
&lt;li&gt;Resurrecting - Occurs when the app is &amp;quot;resurrecting&amp;quot; from a tombstoned state.&lt;/li&gt;
&lt;li&gt;Resurrected - Occurs after the app has &amp;quot;resurrected&amp;quot; from a tombstoned state.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Using these new events, you can more intelligently make decisions about whether or not you need to restore data. In the forthcoming Mango release, the platform will provide us information on whether the app is continuing or resurrecting. However, developers working with Caliburn.Micro can have that information now and when Mango arrives, we&amp;rsquo;ll update our implementation to use the new bits. Your code won&amp;rsquo;t have to change.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Tombstoning&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;As you might imagine, our new tombstoning mechanism takes advantage of the new events so that it can more reliably and accurately save/restore important data. Let&amp;rsquo;s have a look at the PivotPageViewModel to see how it interacts with the tombstoning mechanism.&lt;/p&gt;
&lt;pre name="code" class="c#:nogutter:nocontrols"&gt;public class PivotPageViewModel : Conductor&amp;lt;IScreen&amp;gt;.Collection.OneActive {
    readonly Func&amp;lt;TabViewModel&amp;gt; createTab;

    public PivotPageViewModel(Func&amp;lt;TabViewModel&amp;gt; createTab) {
        this.createTab = createTab;
    }

    public int NumberOfTabs { get; set; }

    protected override void OnInitialize() {
        Enumerable.Range(1, NumberOfTabs).Apply(x =&amp;gt; {
            var tab = createTab();
            tab.DisplayName = &amp;quot;Item &amp;quot; + x;
            Items.Add(tab);
        });

        ActivateItem(Items[0]);
    }
}&lt;/pre&gt;
&lt;p&gt;The PivotPageViewModel will receive the number of pivot items to create through it&amp;rsquo;s NumberOfTabs property, which is pushed in from the query string, as mentioned above. It will then add these items to the conductor and activate the first one. If you&amp;rsquo;re familiar with the Pivot and CM&amp;rsquo;s previous sample, you&amp;rsquo;ll notice that our PivotFix is gone. Pivot has a horrible bug that will crash your application if you try to set the SelectedItem or SelectedIndex to an item 3 or greater from either end of the pivot collection, while the Pivot itself is not visible. This makes it really hard to restore this control from a tombstoned state because you have to set the value at the exact right time. Previously we used a PivotFix hack to work around the control&amp;rsquo;s bug, but the new tombstoning mechanism is powerful and extensible enough to just make it work. You&amp;rsquo;ll notice that there are no attributes describing tombstoning behavior. They&amp;rsquo;ve been removed in favor of a poco model inspired by Fluent NHibhernate. If you would rather have the attributes, you can actually build them on top of the new system. The new system is also more reliable than previously and has a lot more options for storage. Let&amp;rsquo;s see the class that describes the tombstoning behavior for PivotPageViewModel:&lt;/p&gt;
&lt;pre name="code" class="c#:nogutter:nocontrols"&gt;public class PivotPageModelStorage : StorageHandler&amp;lt;PivotPageViewModel&amp;gt; {
    public override void Configure() {
        this.ActiveItemIndex()
            .InPhoneState()
            .RestoreAfterViewLoad();
    }
}&lt;/pre&gt;
&lt;p&gt;All you&amp;nbsp; have to do to make a class participate in tombstoning is to inherit from StorageHandler&amp;lt;T&amp;gt;. The PhoneContainer will auto-register anything of this type in the assembly. Just override the Configure method and declare the tombstoning instructions. I&amp;rsquo;ve created some extension methods for common scenarios. Here&amp;rsquo;s what the above declaration states:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;-Persist the Conductor&amp;rsquo;s ActiveItem&amp;rsquo;s index&lt;/li&gt;
&lt;li&gt;-Store the index in PhoneState&lt;/li&gt;
&lt;li&gt;-Restore the value after the associated view has been loaded.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Let&amp;rsquo;s look at the storage handler for the TabViewModel to see some more options:&lt;/p&gt;
&lt;pre name="code" class="c#:nogutter:nocontrols"&gt;public class TabViewModelStorage : StorageHandler&amp;lt;TabViewModel&amp;gt; {
    public override void Configure() {
        Id(x =&amp;gt; x.DisplayName);

        Property(x =&amp;gt; x.Text)
            .InPhoneState()
            .RestoreAfterActivation();
    }
}&lt;/pre&gt;
&lt;p&gt;Here we are specifying an Id because we actually need to persist multiple instances of the same VM. When we restore, we&amp;rsquo;ll need to know how to map the properties back. We&amp;rsquo;re also storing the data in PhoneState, but this time we&amp;rsquo;re not waiting for the view to load, but just waiting for the TabViewModel to be activated by its owning Conductor.&lt;/p&gt;
&lt;p&gt;Out of the box, we also support storing data in AppSettings. For example, if you wanted to same tab to be selected *across application restarts* not just when tombstoned, you could define the PivotPageModelStorage like this:&lt;/p&gt;
&lt;pre name="code" class="c#:nogutter:nocontrols"&gt;public class PivotPageModelStorage : StorageHandler&amp;lt;PivotPageViewModel&amp;gt; {
    public override void Configure() {
        this.ActiveItemIndex()
            .InAppSettings()
            .RestoreAfterViewLoad();
    }
}&lt;/pre&gt;
&lt;p&gt;Pretty easy? All this works by collaborating with the IoC container and keying off of the new event model exposed by the IPhoneService. It&amp;rsquo;s pretty powerful and extensible. You can add your own storage mechanism or define your own restore timing. You can even implement IStorageHandler directly to write completely custom code on a class by class basis. You could easily add a version that inspected classes for custom attributes and built up the configuration, if you like the attribute model better. You can also store whole instances, not just their properties, and have them rehydrated properly and available for ctor injection.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Launchers and Choosers&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Launchers and Choosers are painful to work with if you want to do MVVM. In v1.0 we provided a solution to this. I wasn&amp;rsquo;t happy with its implementation&amp;hellip;it was unpredictable in certain scenarios. Once we established the new phone events, better IoC integration and new tombstoning mechanism, I realized I could build a better launcher/chooser system. Let&amp;rsquo;s take a look at the updated version of TabViewModel in order to see how it works:&lt;/p&gt;
&lt;pre name="code" class="c#:nogutter:nocontrols"&gt;public class TabViewModel : Screen, IHandle&amp;lt;TaskCompleted&amp;lt;PhoneNumberResult&amp;gt;&amp;gt; {
    string text;
    readonly IEventAggregator events;

    public TabViewModel(IEventAggregator events) {
        this.events = events;
    }

    public string Text {
        get { return text; }
        set {
            text = value;
            NotifyOfPropertyChange(() =&amp;gt; Text);
        }
    }

    public void Choose() {
        events.RequestTask&amp;lt;PhoneNumberChooserTask&amp;gt;();
    }

    public void Handle(TaskCompleted&amp;lt;PhoneNumberResult&amp;gt; message) {
        MessageBox.Show(&amp;quot;The result was &amp;quot; + message.Result.TaskResult, DisplayName, MessageBoxButton.OK);
    }

    protected override void OnActivate() {
        events.Subscribe(this);
        base.OnActivate();
    }

    protected override void OnDeactivate(bool close) {
        events.Unsubscribe(this);
        base.OnDeactivate(close);
    }
}&lt;/pre&gt;
&lt;p&gt;The most significant architectural change I made was to re-implement the launcher/chooser mechanism to work on top of the IEventAggregator. Take a look at the Choose method. The RequestTask method is just an extension method of the IEventAggregator that publishes a special event that the framework is subscribed to. The framework then starts the task. When it&amp;rsquo;s completed, the framework publishes an event TaskCompleted&amp;lt;T&amp;gt; where T is the result the the chooser returns. You can register for this in the same VM that published the chooser event or in an entirely different one if you like. In the case of our sample, we have 5 TabViewModels that can launch the same chooser. That&amp;rsquo;s probably not normal, but you can handle this situation in three ways. In our case, the VMs are in a Conductor, and only one of them can be active at a time, so we just Subscribe/Unsubscribe based on the Screen lifecycle so that only the active VM will receive the result. This is a version of &lt;a target="_blank" href="http://codebetter.com/jeremymiller/2007/07/02/build-your-own-cab-12-rein-in-runaway-events-with-the-quot-latch-quot/"&gt;the Latch pattern&lt;/a&gt;. The second way to handle this is through the event state. When you call the RequestTask method you can pass a state object which you can use for identification purposes later. Yes, this will be present even if the chooser causes a tombstone event. The final way is to have a single object that registers for the completed event, decoupling the launching from the completion. Thus multiple VM could launch the same chooser, but only one class would handle the result.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;IWindowManager&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The IWindowManager was actually in v1.0, as a last minute addition. It&amp;rsquo;s a really easy way to show native-looking, custom message boxes or modal dialogs. You can also use it to show popups. We&amp;rsquo;ll talk more about the window manager, on all platforms, in the next post.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Referenced Samples&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Caliburn.Micro.HelloWP7&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Footnotes&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Even though the IGuardClose interface was designed to handle async scenarios, you must use it synchronously in WP7. This is due to a flaw in the design of Silverlight Navigation Framework which doesn&amp;rsquo;t account for async shutdown scenarios.&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://devlicio.us/aggbug.aspx?PostID=67721" width="1" height="1"&gt;</description><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Xaml/default.aspx">Xaml</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/WPF_2F00_e/default.aspx">WPF/e</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Caliburn/default.aspx">Caliburn</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Featured/default.aspx">Featured</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Silverlight/default.aspx">Silverlight</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/DSL/default.aspx">DSL</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/RIA/default.aspx">RIA</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Tutorial/default.aspx">Tutorial</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/MVVM/default.aspx">MVVM</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/UI+Architecture/default.aspx">UI Architecture</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/Caliburn+Micro/default.aspx">Caliburn Micro</category><category domain="http://devlicio.us/blogs/rob_eisenberg/archive/tags/WP7/default.aspx">WP7</category></item></channel></rss>
