Scott Hanselman

Silverlight Samples

May 9, '07 Comments [13] Posted in Silverlight
Sponsored By

There's a lot of Silverlight in the air right now. I haven't seen the 'net abuzz like this since FutureSplash Animator. ;)

I've been collecting links to samples out there. Since Silverlight is all text (XAML, JS, etc) there's a whole world of copy/pasting out there just waiting for us (developers) to create Green and Purple blinking abominations like we did with Visual Basic 3.

I'm enjoying XAML, but I'm not at the point where I'll do it all in a text editor like Chris Sells or all in black and white like Charles Petzold, so I'll stick with using Expression to draw my XAML for now. I've also I haven't gotten my brain around the object model yet...I can't remember who said it, I think it was Bret, but they said it, and they are awesome:

"Drawing with code is like painting over the phone.

Here's links to some of the choicest samples that I've been viciously copy/pasting from after Getting Started and viewing the screencasts and the Silverlight Comparison Chart from Alexander Strauss:

I'm sure the coming months are going to bring lots of good samples. I also want to dig into OpenLaszlo, JavaFX, and Apollo, as well as Flex. Does anyone have contact info for Ted on Flex? I'd like to do a show on Flex for Hanselminutes.

About Scott

Scott Hanselman is a former professor, former Chief Architect in finance, now speaker, consultant, father, diabetic, and Microsoft employee. I am a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Sponsored By
Hosting By
Dedicated Windows Server Hosting by ORCS Web
Wednesday, May 09, 2007 11:51:19 PM UTC
It appears that Inplay crashes Firefox 2.0.0.3. It gives a message similar to "WPF/E has performed an illegal operation. It is suggested that you restart Firefox."

Works in IE 7 though...
Wednesday, May 09, 2007 11:53:37 PM UTC
Even more frustrating -- I can't replicate the error.
Thursday, May 10, 2007 3:10:39 AM UTC
I'm on an Intel MacBookPro and can't get it to run for the life of me. I'm going to have to try it in Parallels running XP.
Thursday, May 10, 2007 5:11:56 AM UTC
Scott and others.

Has it occurred to anyone in the celebration of Silverlight that it is little more than Flash? 90% of applications written in Silverlight are bound to be annoying animations. Besides most of what is being offered could have been done via the ActiveX Document project option that was present in VB6 days.

The only thing that sounds remotely interesting is the ability to place a 1x1 pixel Silverlight object and control the HTML DOM in a managed way. But even that sounds like one hell of an overhead.

I am just not excited about it as others are.
frizzo
Thursday, May 10, 2007 11:51:42 AM UTC
Scott,

OK .. great toys ... show me some samples that actually do something useful?
Mike Parsons
Thursday, May 10, 2007 4:27:01 PM UTC
Mike - You don't think the airline demo shows significant potential?
Thursday, May 10, 2007 6:51:21 PM UTC
I forsee vista sidebar being silverlight enabled. That would be awesome.
Praveen
Thursday, May 10, 2007 8:02:22 PM UTC
> I've also I haven't gotten my brain around the object model yet...

I'm so glad you said that <s>. I feel the same way. I've been off and on with XAML for a couple months now and I still feel like a Noob for anything basic, much less putting together something that looks cool. And Silverlight throws even more of a wrench into things because it's presentation object model is a small subset only and lots of necessities missing. Amazing to me people can create stuff like the airline demo or the Top Banana thing just out of graphics primitives.

Looking forward for your perspective on all of this... see 'ya tonight.
Friday, May 11, 2007 2:29:14 AM UTC

Ted has a "contact" link from the onflex.org web site that goes to linked in. Here is the direct link:

http://www.linkedin.com/in/tedpatrick

However, if that fails e-mail me "off-blog" and I can probably dig up a direct e-mail address.
Friday, May 11, 2007 7:31:31 AM UTC
We have been trying to create an app with SilverLight. However, there are so many problems that we are facing, that it's becomgni a pain real fast. One thing which is really stumping us is that we can't find a way to display Html within a SilverLight control. I guess there is always the possibility of having a page with mixed HTML and SilverLight, but we were trying to make something which was pure SilverLight.

As I write this, it does seem that there may not be too many options available to us other than mix the two, but then again, some of the people who read this blog are very smart and hopefully can help out.

Cheers.
Thursday, May 17, 2007 1:15:58 AM UTC
I've posted a large collection of Silverlight Links on the site below.

There's a pretty good collection of samples too.

http://www.cjcraft.com/Blog/2007/05/16/SilverlightLinksTheSilverlightLaunchPadIsReadyForLaunch.aspx

Silverlight Core Web Sites
Silverlight Downloads
Silverlight Web Sites
Silverlight Articles
Silverlight Editorials
Silverlight Videos
Silverlight Samples
Silverlight Software
Silverlight Security
Silverlight Blogs
Friday, May 18, 2007 8:32:49 AM UTC
Hello
Silverlight runs for me with IE7 and not with Firefox 2.0.0.3.
With FF2 I get just a blanco page. I have some html inputs like textarea and inputbox. Some simple sample's works with FF2 but I think the problem is that html input.
Does anyone know how to solve this?
bye
gerard1234
Sunday, June 03, 2007 5:29:36 AM UTC
Vaibhav Silverlight does not allow you to host HTML islands, rather it integrates with an existing HTML page.
akhil
Comments are closed.

Disclaimer: The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.