Greg Does IT

Do it to get it

About

The blog of Gergely Orosz on IT related topics: web, software design, .NET, PHP and the rest. Follow me @gergelyorosz on Twitter.

Styles in Silverlight - Advanced Topics

Thursday, July 29th, 2010

I’m writing a 4 part series on everything (I think) it’s worth knowing about styles. In the second part of the series (following the previous one Styles in Silverlight - an Introduction) I’m covering the following topics:

Re-Using Styles for Different Types: the TargetType of the Style can be a parent type of the target object [...]

Read the rest of this entry »

Styles in Silverlight: an Introduction

Saturday, July 24th, 2010

I’m writing a (planned) 4 parts series on everything I think it’s worth knowing about styles in Silverlight. The first part is ready and it covers the following topics:

What are Styles?Styles are basically list of property-value pairs. Defining a style consists declaring the TargetType property and the list of Setters.
Defining Styles in XAMLDefining styles in [...]

Read the rest of this entry »

I’ve created TweetForYourTeam just a week ago and have just added a major update with a couple of fun features.
Cheer By a Single Click
In the original version of TweetForYourTeam one was able to engage in cheering for or against a team by sending a tweet to Twitter. In the current update an easier method has [...]

Read the rest of this entry »

The World Cup is on and there have been quite a few good Twitter mashups made for this event, probably the most popular being TweetBeat (and I’ve also developed one, Tweet For Your Team). In this post I’ll show how to build a simple service similar to TweetBeat using a publicly available real-time streaming service, [...]

Read the rest of this entry »

This World Cup has been exciting for me not just because of the great games but also because during the group stages I’ve been building a cool real time spectator monitoring application for it: Tweet For Your Team (powered by Kwwika real time data services).
What does it do?
The application streams tweets live from the two [...]

Read the rest of this entry »

I’ve ran into the issue of Silverlight displaying large elements incorrectly in version 3. After reporting the issue on the official Silverlight forums it’s turned out that it’s a known issue that Silverlight renders elements larger than 32K incorrectly.
After Silverlight 4 released I was hoping that this issue is fixed. However, I was disappointed to [...]

Read the rest of this entry »

Detecting Silverlight Version Installed

Thursday, April 29th, 2010

Detecting the Silverlight version installed on a client machine isn’t entirely straightforward. To do so, one has to use Javascript. Unfortunately even though Microsoft ships a Silverlight.js in the Silverlight SDK, this script only has the ability to tell whether a specific version is supported on the client’s machine; it does not support returning the [...]

Read the rest of this entry »

In the opening keynote of MIX 10 Scott Guthrie confirmed the rumour spreading the past weeks: the supported development platform for the Windos 7 Phone Series is Silverlight and XNA. For those - like myself - who were prepared for this news there were still quite some surprises in the details:

Unlike Windws CE  where the [...]

Read the rest of this entry »

On yesterday’s Scot Alt.NET meeting I held a presentation (An Introduction to Silverlight) that was aimed at providing an overview of Silverlight and looking at some of it’s most important features. Thanks to the about 30 people who’ve attended and given feedback, I hope you’ve found it useful. For those who have missed out I’ll [...]

Read the rest of this entry »

My MIX 10K entry - SilverCooler

Wednesday, February 3rd, 2010

I’ve entered the MIX 10K competition where the goal is to write an application using no more than 10KBytes of source code in Silverlight. I’ve decided to implement a cocktail selector application - strictly listing alcohol free cocktails only - using the web services I’ve previously built for a popular cocktail site, iCocktail.co.uk.
ICocktail.co.uk was built [...]

Read the rest of this entry »