Inline Hyperlinks in Silverlight 3 (Equivalent of A HREF)

One common complaint I see regarding Silverlight is the inability to include inline hyperlinks. While Silverlight does provide a HyperlinkButton, you cannot do something simple like: This is some text. This is <a href="https://www.wintellect.com/">a hyperlink</a>, in case you were wondering. There are a few solutions available via third-party controls, but it’s a good exercise to…

ASP.Net Dynamic Data (LINQ) Tips and Tricks

Dynamic data is a technology that enables RAD (rapid application development) for data-driven applications. What is a data-driven application, or rather, when does it make sense to use ASP.NET Dynamic Data? Any type of CRUD (create/read/update/delete) application is a prime candidate for dynamic-driven applications. In fact, if you are building an internal site simply to…

TFS 2010 Build Number and Assembly File Versions: Completely In Sync with Only MSBuild 4.0

Edit: 09/11/2011: This entry still describes how the build numbers work, but I’ve updated the files and shown how to incorporate these changes into .CSPROJ and .VCXPROJ files, Read the follow on blog entries, https://www.wintellect.com/CS/blogs/jrobbins/archive/2011/09/05/tfs-2010-build-numbers-file-versions-from-inside-your-c-and-c-projects.aspx and https://www.wintellect.com/CS/blogs/jrobbins/archive/2011/09/11/more-on-tfs-2010-build-numbers-inside-your-projects.aspx.  Obviously, based on all the web links out there, keeping your TFS 2008 build number and your assembly…

Silverlight 3’s New Application Extension Services

Another feature of Silverlight 3 that has flown under the radar since the product’s release is application extension services, or application services for short. Application services are client-side services that start when the application starts and end when the application ends. In other words, their lifetime parallels that of the application itself. An application service is…

Silverlight 3’s New {RelativeSource} Markup Extension

One of the more obscure features introduced in Silverlight 3 is the {RelativeSource} markup extension. It’s poorer than its counterpart in WPF because the Silverlight version supports only two modes: Self and TemplatedParent. There are precious few examples out there demonstrating why you’d ever need {RelativeSource} in Silverlight. Here’s one example. Suppose you’re building a custom control…

Implementing CoverFlow in Silverlight 3

Apple’s CoverFlow interface has become popular for presenting collections of items in a highly browseable format, especially on mobile devices where real estate is limited. Thanks to the PlaneProjection class introduced in Silverlight 3, CoverFlow interfaces are now possible in Silverlight, too. I recently set out to build a control that encapsulates all the features needed to build CoverFlow interfaces…

Silverlight Communication: Three Ways to Connect

Silverlight has myriad ways to connect to other systems and retrieve information for your applications. It is a common question people ask (“How do I get my data from the database to Silverlight?”) and each method has its own pros and cons. The purpose of this project, “Silverlight Communicator,” is to provide a simple, easy…

What’s new in CLR via C#, 3rd Edition as compared to the 2nd Edition

Last week I submitted the reaming chapters for my new book. It is now being edited and should be available right around the time that Visual Studio 2010 launches (March 22, 2010). One place you can order it is here: http://www.amazon.com/CLR-via-C-Third-Pro-Developer/dp/0735627045 I know that many people will ask me what are the differences between the…

Triggering Storyboards Sans Code Behind in Blend

OK, so we’ve been through quite a series of iterations and refactoring for something simple: triggering a story board animation based on an event somewhere else. We used dependency and attached properties, we used custom behaviors, and now we’re going to do it completely “out of the box.” I figured this one would be easiest…