Deprecated: Assigning the return value of new by reference is deprecated in /home/dieajax/public_html/wordpress/wp-includes/cache.php on line 36

Deprecated: Assigning the return value of new by reference is deprecated in /home/dieajax/public_html/wordpress/wp-includes/query.php on line 21

Deprecated: Assigning the return value of new by reference is deprecated in /home/dieajax/public_html/wordpress/wp-includes/theme.php on line 507
Silverlight : Die, AJAX!

10 Minute Tutorial - Silverlight: Using JavaScript to Call Scriptable Managed Code (C#)

My event handling tutorial walked through manipulating a Silverlight control using managed code. Today, we will learn how to access that managed code from JavaScript in an HTML page. The blandness of my last tutorial (a blue rectangle, whoopie) inspired me to spice things up for this tutorial and give you: animated, multi-color rectangles! Lacking the desire or the time to create the necessary XAML myself, I “borrowed” it from one of the samples embedded in the absolutely awesome SilverlightPad application.

Man, I hope that code is open source. ;)

In addition to snazzy animations, the application for this tutorial will also contain a couple of form controls that will manipulate the Silverlight content at runtime. The first control, a simple drop down, will allow the user to select the number of rectangles displayed on the screen. The second form control will act as a pause/resume button for the animation.

Okay, let’s get started! Read more

Silverlight 1.0 Released

Well, it’s about time!

Just kidding. :) Congrats to the Silverlight team. I know they worked their proverbial butts off to get this release out. And at a cursory glance, it looks very solid. I posted some links below that talk about the release in greater detail: Read more

Microsoft Showcases Tafiti Silverlight Tech Demo

Recently, Microsoft released a technology demo, named Tafiti, as a showcase for thier new Silverlight web browser extension. This demo allows the user to execute web searches and then browse the results in different data visualization structures and also save searches for later. While not meant to be a finished product, Tafiti supposedly represents the new possibilities in data visualization and user interaction that Silverlight unlocks. Read more

10 Minute Tutorial - Silverlight: Event handling using Managed Code (C#)

Managed code.

In the browser.

All my dreams have come true.

Well, not quite. Catherine Zeta-Jones and Lucy Liu still haven’t returned my calls. But, it’s a start! ;)

I wrote this tutorial to illustrate how Silverlight communicates with managed code. So, as a simple example, we’ll use C# to handle click events inside of a rectangle rendered on a Silverlight control. And, like always, you can complete this tutorial sans-IDE, for those users who don’t want to install Visual Studio just to get a taste of Silverlight. Read more

Silverlight Alpha 1.1 Refresh


First, the good news:

Microsoft updated Silverlight. YAY!

Now the bad news:

Your Silverlight app (probably) no longer works :). Read more

← Previous PageNext Page →