<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" 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/"><channel><title>The Power of the One Line Demo</title><link>http://blogs.msdn.com/tims/archive/2006/08/17/703557.aspx</link><description>Sometimes the simplest demos can be the best. Catherine Heller is our team expert on the myriad of new Windows Vista unmanaged APIs, but she also knows how to get people excited about WPF with less than 100 bytes of code. This is what she typed into a</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: The Power of the One Line Demo</title><link>http://blogs.msdn.com/tims/archive/2006/08/17/703557.aspx#704348</link><pubDate>Thu, 17 Aug 2006 18:29:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:704348</guid><dc:creator>Andrey Skvortsov</dc:creator><description>It's more demo of controls,that feels more like separate application,than control.You can't arbitrary modify behavior of control or it'll be genuine difficult task-that's main drawback of current WPF implementation.Binding/templating is nice but very constrained-look at any serious project at MS itself,imperative code is still ~70% and only ~30% for XAML.That means declarative part is draft/blueprint of &amp;quot;real&amp;quot; app.&lt;br&gt;It's opposite to HTML,for example,where JS code plays supporting role for HTML&amp;amp;CSS.For every serious changing in some control's behavior I must go imperative code path-that's OK(in most cases),BUT every control has it's own &amp;quot;closed&amp;quot; API and that's not really nice from learning perspective.I need to investigate each of controls separately in each and every &amp;quot;not standard&amp;quot; case I encounter,and only HOPE I can find some workaround for my situation-that's troublesome.In contrary HTML has well defined BOM of base elements-building blocks,which quantity are minimal.And it seems &amp;quot;by design&amp;quot;-I can really easy inject small portions of code(behavior) in any place(declarative/structure part) I see fit.The more behavior/logic control incorporates more rigid it becomes-that's my feeling.It looks as big &amp;quot;black box&amp;quot; in you application,and binding/templating dosen't help much+both require long journey into internals of control for any successful &amp;quot;non cliche&amp;quot; implementation.In HTML land I know that any non-trivial control has the same building blocks,so I can understand HOW it works and modify behavior by my desire-not resorting to some kind of &amp;quot;Reflector&amp;quot;;-)I can say,CSS sometimes &amp;nbsp;create genuine new controls,but declarative by nature(paradox)-some kind of meta-behavior,and WPF dosen't seems to have something like this-big omission in my eyes.CSS is not only styling to me,if you ask,it's something more,and this &amp;quot;something&amp;quot; makes the game really interesting.&lt;br&gt;&lt;br&gt;So,what you think about that?&lt;br&gt;</description></item><item><title>re: The Power of the One Line Demo</title><link>http://blogs.msdn.com/tims/archive/2006/08/17/703557.aspx#704357</link><pubDate>Thu, 17 Aug 2006 18:35:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:704357</guid><dc:creator>Kurt Brockett</dc:creator><description>Tim,&lt;br&gt; &amp;nbsp; &amp;nbsp; It's cool to see this stuff in one line of code. &amp;nbsp;The presentation aspects of WPF and ALL that is built in is something that I think people just need to spend more time on discovering. &amp;nbsp;Thanks for demos that continue to keep people engaged.</description></item><item><title>re: The Power of the One Line Demo</title><link>http://blogs.msdn.com/tims/archive/2006/08/17/703557.aspx#705704</link><pubDate>Fri, 18 Aug 2006 13:17:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:705704</guid><dc:creator>Massif</dc:creator><description>Charles Petzold seems to have taken this as a personal challenge - check out &lt;a rel="nofollow" target="_new" href="http://www.charlespetzold.com/blog/2006/08/170855.html"&gt;http://www.charlespetzold.com/blog/2006/08/170855.html&lt;/a&gt;</description></item><item><title>re: The Power of the One Line Demo</title><link>http://blogs.msdn.com/tims/archive/2006/08/17/703557.aspx#706044</link><pubDate>Fri, 18 Aug 2006 18:00:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:706044</guid><dc:creator>Adrian Betschart</dc:creator><description>It seems Charles Petzold took up the challenge and put some one-liners on his blog: &lt;a rel="nofollow" target="_new" href="http://www.charlespetzold.com/blog/blog.xml"&gt;http://www.charlespetzold.com/blog/blog.xml&lt;/a&gt;&lt;br&gt;</description></item><item><title>re: The Power of the One Line Demo</title><link>http://blogs.msdn.com/tims/archive/2006/08/17/703557.aspx#706305</link><pubDate>Fri, 18 Aug 2006 21:08:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:706305</guid><dc:creator>Digitalnetbizz</dc:creator><description>I like this one:&lt;br&gt;&lt;br&gt;&amp;lt;Window xmlns=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://schemas.microsoft.com/winfx/2006/xaml/presentation&amp;quot;"&gt;http://schemas.microsoft.com/winfx/2006/xaml/presentation&amp;quot;&lt;/a&gt;&lt;br&gt; &amp;nbsp;Clip=&amp;quot;M 100,100 L 100,300 120,300 130,150 140,200 160,200 170,150 170,300 300,300 300,180 240,180 240,120 300,120 300,100 220,100 220,200 280,200 280,280 190,280 190,100 170,100 150,150 120,100&amp;quot;&lt;br&gt; &amp;nbsp;Opacity=&amp;quot;0.5&amp;quot; &amp;nbsp;AllowsTransparency=&amp;quot;true&amp;quot; WindowStyle=&amp;quot;None&amp;quot; Background=&amp;quot;Blue&amp;quot;&lt;br&gt;/&amp;gt; &amp;nbsp;&lt;br&gt;&lt;br&gt;The following one can match your functionality:&lt;br&gt;&lt;br&gt;&amp;lt;Frame xmlns=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://schemas.microsoft.com/winfx/2006/xaml/presentation&amp;quot;"&gt;http://schemas.microsoft.com/winfx/2006/xaml/presentation&amp;quot;&lt;/a&gt; Width=&amp;quot;1000&amp;quot; Height=&amp;quot;1000&amp;quot; Source=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://www.live.com&amp;quot;/&amp;gt;"&gt;http://www.live.com&amp;quot;/&amp;gt;&lt;/a&gt;&lt;br&gt;&lt;br&gt;and this one can annoy users:&lt;br&gt;&lt;br&gt;&amp;lt;Popup IsOpen=&amp;quot;true&amp;quot; StaysOpen=&amp;quot;true&amp;quot; Placement=&amp;quot;Absolute&amp;quot; HorizontalOffset=&amp;quot;0&amp;quot; VerticalOffset=&amp;quot;0&amp;quot; xmlns=&amp;quot;&lt;a rel="nofollow" target="_new" href="http://schemas.microsoft.com/winfx/2006/xaml/presentation&amp;quot;"&gt;http://schemas.microsoft.com/winfx/2006/xaml/presentation&amp;quot;&lt;/a&gt; Width=&amp;quot;2000&amp;quot; Height=&amp;quot;2000&amp;quot;/&amp;gt;&lt;br&gt;&lt;br&gt;</description></item><item><title>re: The Power of the One Line Demo</title><link>http://blogs.msdn.com/tims/archive/2006/08/17/703557.aspx#706373</link><pubDate>Fri, 18 Aug 2006 21:56:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:706373</guid><dc:creator>Frank</dc:creator><description>What exactly is your definition of a &amp;quot;single line&amp;quot;? Any XAML file can be placed on one line. Just like most C-style programming languages can have everything placed on a single line. Perhaps you mean to say &amp;quot;single element with no children&amp;quot;?</description></item><item><title>re: The Power of the One Line Demo</title><link>http://blogs.msdn.com/tims/archive/2006/08/17/703557.aspx#706890</link><pubDate>Sat, 19 Aug 2006 04:12:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:706890</guid><dc:creator>tims</dc:creator><description>Wow, up to nine entrants already, counting the three from digitalnetbizz and six from Charles Petzold. Some more malicious than others!&lt;br&gt;&lt;br&gt;Frank, yes, I think that's a fair interpretation.</description></item><item><title>re: The Power of the One Line Demo</title><link>http://blogs.msdn.com/tims/archive/2006/08/17/703557.aspx#708019</link><pubDate>Sat, 19 Aug 2006 23:30:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:708019</guid><dc:creator>matt</dc:creator><description>So why do I always get security exceptions any time that I try to run anyone's demos except for Petzold's? Does he know something that the actual Microsofties don't? Or is it that he is just using an older version of WPF.&lt;br&gt;&lt;br&gt;I'm not looking for you to debug my issue but I'm getting a little worried about the fact that I can't view 99% of the WPF stuff out there. Are &amp;quot;normal&amp;quot; users going to experience this or is this just a Beta thing? If it is the former then all these demos don't mean squat.&lt;br&gt;&lt;br&gt;I'm on Vista Beta2 and get the following error:&lt;br&gt;&lt;br&gt;Startup URI: &lt;a rel="nofollow" target="_new" href="http://www.sneath.org/tim/rtb.xaml"&gt;http://www.sneath.org/tim/rtb.xaml&lt;/a&gt;&lt;br&gt;Application Identity: file:///C:/Windows/WinFX/v3.0/WPF/XamlViewer/XamlViewer_v0300.xbap#XamlViewer_v0300.application, Version=3.0.0.0, Culture=neutral, PublicKeyToken=ed9f9a6c9f3a9db8, processorArchitecture=msil/XamlViewer_v0300.exe, Version=3.0.0.0, Culture=neutral, PublicKeyToken=ed9f9a6c9f3a9db8, processorArchitecture=msil, type=win32&lt;br&gt;&lt;br&gt;System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.&lt;br&gt; &amp;nbsp; at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark&amp;amp; stackMark, Boolean isPermSet)&lt;br&gt; &amp;nbsp; at System.Security.CodeAccessPermission.Demand()&lt;br&gt; &amp;nbsp; at MS.Internal.PresentationFramework.SecurityHelper.DemandUnmanagedCode()&lt;br&gt; &amp;nbsp; at MS.Internal.AppModel.AppSecurityManager.SafeLaunchBrowserDemandWhenUnsafe(Uri originatingUri, Uri destinationUri, Boolean fIsTopLevel)&lt;br&gt; &amp;nbsp; at System.Windows.Navigation.NavigationService.GetObjectFromResponse(WebRequest request, WebResponse response, Uri destinationUri, Object navState)&lt;br&gt; &amp;nbsp; at System.Windows.Navigation.NavigationService.HandleWebResponse(IAsyncResult ar)&lt;br&gt;</description></item><item><title>re: The Power of the One Line Demo</title><link>http://blogs.msdn.com/tims/archive/2006/08/17/703557.aspx#708899</link><pubDate>Sun, 20 Aug 2006 09:59:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:708899</guid><dc:creator>tims</dc:creator><description>Hi Matt, you ought to be able to see this, certainly. You're right that if this experience were typical of the RTM version then it wouldn't be good, but I'm pretty confident there's just something spurious about your machine or this build. (I tested these demos on a near-RC1 drop, but they ought to work unchanged on Beta 2.) Let me loop in one of my colleagues and see if we can figure out what's going wrong here. </description></item><item><title>re: The Power of the One Line Demo</title><link>http://blogs.msdn.com/tims/archive/2006/08/17/703557.aspx#709877</link><pubDate>Mon, 21 Aug 2006 03:19:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:709877</guid><dc:creator>Judah</dc:creator><description>Hi Tim&lt;br&gt;&lt;br&gt;I'm getting the exact same error as Matt. Many WPF samples I can't view in my IE6; I get the same security error.&lt;br&gt;&lt;br&gt;Some WPF samples work; for example, Charles Petzold's keyhole clip thing worked. But yours didn't work, neither did the Ink Canvas one you linked to.&lt;br&gt;&lt;br&gt;I've got XP Pro, IE6, beta 2 of the WinFX/.NET 3 runtime. I've got so many dev components installed though (VC6, VS2k3, VS2k5, LINQ, and many, many others) perhaps there is some conflict. I dunno. I just hope this is a known bug and gets fixed before releease.</description></item><item><title>re: The Power of the One Line Demo</title><link>http://blogs.msdn.com/tims/archive/2006/08/17/703557.aspx#711382</link><pubDate>Tue, 22 Aug 2006 01:34:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:711382</guid><dc:creator>matt</dc:creator><description>For what it's worth, I can copy this exact file locally and it runs just fine. I can't imagine what could cause the security issue. It's just a rich text box. The only thing suspect in the file is automatic spell checking. Nothing else seems out of the oridinary.&lt;br&gt;&lt;br&gt;Oh well. Thanks anyway.&lt;br&gt;Matt</description></item><item><title>re: The Power of the One Line Demo</title><link>http://blogs.msdn.com/tims/archive/2006/08/17/703557.aspx#713377</link><pubDate>Wed, 23 Aug 2006 03:27:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:713377</guid><dc:creator>Tim Sneath</dc:creator><description>Just wanted to update this thread to say that we're still investigating what's causing Matt and Judah's problem, but all indications are that it's a bug that's only present in Beta 2 under certain conditions. Clearly this is a sub-optimal experience and one that we wouldn't ship in a released product. As you say, Matt, running this in full trust will work fine. &lt;br&gt;&lt;br&gt;Sorry for the inconvenience - on the positive side, RC1 is just around the corner!</description></item><item><title>re: The Power of the One Line Demo</title><link>http://blogs.msdn.com/tims/archive/2006/08/17/703557.aspx#713869</link><pubDate>Wed, 23 Aug 2006 11:38:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:713869</guid><dc:creator>Andrey Skvortsov</dc:creator><description>I really missing about &amp;lt;style&amp;gt;somelement{behavior:url() url()}&amp;lt;/style&amp;gt; dynamic behaviors,it Makes any element anything you want without any overhead.Yes,I miss AOP style programming in WPF-dependency properties is not enough,it's only beginning.I believe AOP is cornerstone of successful declarative model.</description></item><item><title>re: The Power of the One Line Demo</title><link>http://blogs.msdn.com/tims/archive/2006/08/17/703557.aspx#715075</link><pubDate>Wed, 23 Aug 2006 21:28:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:715075</guid><dc:creator>matt</dc:creator><description>Thanks Tim!&lt;br&gt;&lt;br&gt;I've pre-ordered Charles Petzold's new WPF book and will be waiting for RC1 before really getting rolling with WPF anyway. So no big deal.&lt;br&gt;&lt;br&gt;Keep up the great work. &lt;br&gt;Matt &amp;nbsp;</description></item><item><title>re: The Power of the One Line Demo</title><link>http://blogs.msdn.com/tims/archive/2006/08/17/703557.aspx#715973</link><pubDate>Thu, 24 Aug 2006 05:18:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:715973</guid><dc:creator>Judah</dc:creator><description>Yeah, same here, saving the file to disk and opening it up in IE6 works.</description></item><item><title>re: The Power of the One Line Demo</title><link>http://blogs.msdn.com/tims/archive/2006/08/17/703557.aspx#716652</link><pubDate>Thu, 24 Aug 2006 11:07:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:716652</guid><dc:creator>Andrey Skvortsov</dc:creator><description>Please,look at first comment from Charlie Hubbard &lt;a rel="nofollow" target="_new" href="http://ajaxian.com/archives/qooxdoox-releases-version-06-rc1"&gt;http://ajaxian.com/archives/qooxdoox-releases-version-06-rc1&lt;/a&gt; ,entirely agree with him.</description></item><item><title>the rasx() context  &amp;raquo; Blog Archive   &amp;raquo; Today???s Media News</title><link>http://blogs.msdn.com/tims/archive/2006/08/17/703557.aspx#2483211</link><pubDate>Tue, 08 May 2007 20:22:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2483211</guid><dc:creator>the rasx() context  » Blog Archive   » Today???s Media News</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.kintespace.com/rasxlog/?p=626"&gt;http://www.kintespace.com/rasxlog/?p=626&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>   Rails App 1 :: The Typer &amp;middot; Technology News RSS Feed - Web 2.0 News And Reviews</title><link>http://blogs.msdn.com/tims/archive/2006/08/17/703557.aspx#2963133</link><pubDate>Tue, 29 May 2007 11:06:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2963133</guid><dc:creator>   Rails App 1 :: The Typer · Technology News RSS Feed - Web 2.0 News And Reviews</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.technewsrssfeed.com/2007/05/29/rails-app-1-the-typer/"&gt;http://www.technewsrssfeed.com/2007/05/29/rails-app-1-the-typer/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>A blast from type past!</title><link>http://blogs.msdn.com/tims/archive/2006/08/17/703557.aspx#3229711</link><pubDate>Mon, 11 Jun 2007 17:03:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3229711</guid><dc:creator>fontblog</dc:creator><description>&lt;p&gt;When Windows 2000 launched, there was a new typeface included called Palatino Linotype. What was special&lt;/p&gt;
</description></item><item><title>MSDN Blog Postings &amp;middot; A blast from type past!</title><link>http://blogs.msdn.com/tims/archive/2006/08/17/703557.aspx#3230113</link><pubDate>Mon, 11 Jun 2007 17:35:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3230113</guid><dc:creator>MSDN Blog Postings · A blast from type past!</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://msdnrss.thecoderblogs.com/2007/06/11/a-blast-from-type-past/"&gt;http://msdnrss.thecoderblogs.com/2007/06/11/a-blast-from-type-past/&lt;/a&gt;&lt;/p&gt;</description></item><item><title>  Episode 20 - Steelpixel</title><link>http://blogs.msdn.com/tims/archive/2006/08/17/703557.aspx#5449399</link><pubDate>Sun, 14 Oct 2007 11:03:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5449399</guid><dc:creator>  Episode 20 - Steelpixel</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.technewsrssfeed.com/2007/10/14/episode-20-steelpixel/"&gt;http://www.technewsrssfeed.com/2007/10/14/episode-20-steelpixel/&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>What Can YOU Do in 10K of Silverlight or WPF Code?</title><link>http://blogs.msdn.com/tims/archive/2006/08/17/703557.aspx#9382415</link><pubDate>Thu, 29 Jan 2009 08:13:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9382415</guid><dc:creator>Tim Sneath</dc:creator><description>&lt;p&gt;A lot, it turns out. Some long-time readers may remember my post of a year or two back where I set a&lt;/p&gt;
</description></item></channel></rss>