Scott Hanselman

Silverlight Samples

May 10, 2007 Comment on this post [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. He is a failed stand-up comic, a cornrower, and a book author.

facebook twitter subscribe
About   Newsletter
Hosting By
Hosted in an Azure App Service
May 10, 2007 3:51
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...
May 10, 2007 3:53
Even more frustrating -- I can't replicate the error.
May 10, 2007 7:10
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.
May 10, 2007 9:11
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.
May 10, 2007 15:51
Scott,

OK .. great toys ... show me some samples that actually do something useful?
May 10, 2007 20:27
Mike - You don't think the airline demo shows significant potential?
May 10, 2007 22:51
I forsee vista sidebar being silverlight enabled. That would be awesome.
May 11, 2007 0:02
> 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.
May 11, 2007 6:29

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.
May 11, 2007 11:31
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.
May 17, 2007 5:15
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
May 18, 2007 12:32
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
June 03, 2007 9:29
Vaibhav Silverlight does not allow you to host HTML islands, rather it integrates with an existing HTML page.

Comments are closed.

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