June 2008 Entries

Bill Gates - school for the gifted

This is funny   Ian

Silverlight Transparency - use PluginBackground not Background!

If you want to have your Silverlight control to have a transparent background, then it is simply a question of setting the properties that Mike Snows describes in his tip post. What had caught me out previously and the reason for this post is that I had used the Background property of the Silverlight control, rather then the correct PluginBackground property.  Confusingly this works for the Html control but not the Aspx one.  I had in fact filed it as a bug, and perhaps it is because I am not sure we need both of those properties? Cheers Ian Technorati...

Apple's Mobile Me == Windows Me (well the logo at least)

Apple just announce MobileMe for push email, contacts and calendars for data in the cloud.  Interesting stuff - but the logo?  Hmmm.....   ==   Cheers Ian Technorati Tags: MobileMe,Windows Me

Bridging Web Service Calls in Silverlight

For security reasons, the Silverlight version 2 runtime restricts access to certain classes of URLs from the WebClient and HTTP classes in the System.Net namespace.  The main requirement is that the services you want to use should implement either crossdomain.xml (which is the Flash policy file) or clientaccesspolicy.xml (which is the Silverlight one).  If the service you want to use does not implement one of these then you can't use Silverlight to access it. However such restrictions are not present when using WebClient on the server, so you can easily create a bridge service that your Silverlight client can use....

Simple FriendFeed C# User Control

We use a simple Friend Feed user control on our home page.  We have found this a great way to share "filtered" information that is relevant to our customers.  What we have done is created a FriendFeed account called bbits, which we share things into (via google reader and other feeds).  The user control then picks the friendfeed up and displays this in a gridview. When we did this FriendFeed didn't have any widgets, which they do have now, (and here) so if you prefer to use those rather than a c# user control go visit those...

WCF: "a non-empty contract name must be specified"

This error had me baffled today, and I could find little reference to it from Google or Live Search. It was the result of creating a simple WCF Service with two methods as follows and then trying to add a reference to it from Silverlight 2: [ServiceContract] public interface IWcfService { [OperationContract] string HelloWorld(string name); [OperationContract] List<Person> GetPeople(); }   public class WcfService : IWcfService { public string HelloWorld(string name) { return "Hello World " + name; } ...

«June»
SunMonTueWedThuFriSat
25262728293031
1234567
891011121314
15161718192021
22232425262728
293012345