Collapsible Panel Makes it to Silverlight 2 RTM

This was something that had been bothering me for a while. Silverlight 2 came out almost two months ago now and I still haven’t had the time to go back and update CollapsiblePanel, my sample content control. To read more about CollapsiblePanel, go here and here. Today I finally updated the code. It took me…

3

Consuming Feeds with the .NET Syndication API

One of the nicest (and very under-advertised) features to make it into .NET framework 3.5 was the new Syndication API (http://msdn.microsoft.com/en-us/library/system.servicemodel.syndication.aspx). The Syndication API provides .NET applications a great way to consume and publish RSS and Atom feeds. If you’ve been paying attention to Azure lately you will have realised that Atom forms a major…

1

Silverlight 2: So Close I Can Taste It

No doubt many of you have heard that Silverlight 2 RC0 just debuted. There’s loads of bug fixes here since Silverlight 2 Beta 2 and some breaking changes as well. Unlike the breaking changes document from Beta 1 to Beta 2 (which was 80 odd pages) this one’s only about 20 pages. To be honest,…

1

Phew! It’s Been a Busy Month

It’s been a busy time here in Arunjeetland. Up until a couple of weeks ago, I was working on two projects simultaneously. As I was doing that I had an interesting realization. It’s easier to do multiple projects if they’re on the same technology. The context switch takes a lot out of you. Unfortunately for…

1

Encrypting Configuration Settings in .NET 2.0

This article describes a utility called ProtectConfig that can be used to Encrypt/Decrypt .NET 2.0 configuration files using the ProtectSection (http://msdn.microsoft.com/en-us/library/system.configuration.sectioninformation.protectsection.aspx) API. The source code of the utility is available here: Here’s what the ProtectConfig utility looks like: If you have ever worked on a large project that involved accessing a database server or other…

1

Using VisualTransition with a Silverlight Content Control

Note: The zip archive below has been updated after Silverlight 2 released to the web. For more details on the changes I made, see this post. This post is part of series that demonstrates how to write a Silverlight 2 content control. The first post in the series is here. This post mostly improved on…

13

Assigning a Name to a Silverlight Element

I answered this in a comment earlier today but I figured this was something that deserved a post of its own. There seems to be some confusion around how to set the name (x:Name in XAML) of a Silverlight object in code. Here’s how it’s done: object.SetValue(FrameworkElement.NameProperty, “objectName”); This has the same affect as setting…

1

Writing a Silverlight Content Control

Note: The zip archive below has been updated after Silverlight 2 released to the web. For more details on the changes I made, see this post. Note: I updated the article and attached code after samcov pointed out some issues with the earlier code.  This article illustrates the writing of a Silverlight content control. Click…

21