One of the gotchas I pointed out earlier was that Validation and Intellisense doesn’t work right for XAML files. A related trap that took me quite a while to figure out is the WPF Designer in Visual Studio 2005 doesn’t understand SilverLight XML! I had to right click my XAML file and tell it to open with the XML Editor in order to make all the errors go away. Even then it still complains about the “x:name” attribute. This is what I think they meant. All quirks, I hope, God willing, will go away with Visual Studio 2008, Glory be to Digital Lord Gates.
An interesting question is how pop-up blockers and such interact with SilverLight. I personally had troubles with AVG freaking out when I was installing the SilverLight SDK. I finally got it to install correctly after I disable the “Resident shield.” I then promptly turned it back on only to have it mess up the creation of a SilverLight project. So at this point AVG gets turned off any time I’m dealing with SilverLight.
For now protection software makers’ are playing catching up and are slowly becoming aware of SilverLight. I’d wager that pop-ups will be a problem for about a year, so plan accordingly.
When Pete Brown was building the Carbon Calculator pop-up blockers where a big concern. His solution was to use a page redirect and query strings. The crux of the problem is if a blocker comes up, then the user has to enable pop-ups, which causes the page to refreshed, thereby zapping all the data!
Here are several gotchas I learned about at SilverLight DevCamp DC. You might not even understand what some of these are talking about, but hopefully by the end of this series you will.
- Keyboard input doesn’t work right for fullscreen mode
- Blend’s Media encoding fails sometimes
- You need to deploy debug (.pdb) files in order for Firefox to work
- You need to save the root element passed during the onload event so you can do a find controls with it later
- Validation and intellisense don’t work right in xaml files
- Attached properties don’t show-up in intellisense
- Do not start animations in the constructor
- No design time support for UserControls in Blend
This is an amazing video of a sun flare. The TRACE satellite caught this flare which is what they call an X-Class flare, one of the largest and the kind responsible for blackouts and communication disruption. These loops are generating massive radiation and are estimated to be hotter than ten million degrees!
This weekend I hauled myself down to DC to attend the SilverLight DevCamp DC. I learned quite a few things so I’ve decided, instead of one really long post about it all I’d do a series of quick posts about the things I learned.
I’d like to send a big THANK YOU to Frank La Vigne for organizing this event and recognize all the speakers because they did this as volenteers:
Apparently I came the furthest for the event and so was given a free copy of the just released SilverLight 1.0 Unleashed. I was quite happy because it was a book I was thinking about getting. If that wasn’t surprise enough the book is filled with bright colors!
SilverLight DevCamp DC Nuggest #1
The first nugget I’ll share is that a Windows Mobile version of SilverLight is in the works. Apparently there was a working demo at MIX07 and I found a video of the presentation by MLB.com, the mobile part is right at the end.