WPF and Silverlight BookControls updated for Silverlight 2 RTM

You can now find the Silverlight 2 RTM version of this pageturn control, still here on codeplex : http://www.codeplex.com/wpfbookcontrol I have also updated the online example showing flickr pictures in a book: http://blogs.msdn.com/mitsu/archive/2008/05/14/create-a-virtual-book-with-your-flickr-pictures.aspx http://blogs.msdn.com/mitsu/archive/2008/05/14/show-your-flickr-pictures-in-a-silverlight-book.aspx http://streaming.live.com now supports SL2 packages hosting. Enjoy !

7

Linq to Sql CompiledQuery container

Before we go deep into Linq to Sql, I wanted to share with you one of my pictures made last week at Chamonix Mont Blanc from "L’aiguille du midi" during some days off. Ok now let’s go. Here is just a little trick but with some interesting patterns that could be useful in some other…

10

TreeSelector : playing with generics and type inference

This piece of code is part of a personal bigger project that I am working on and I think there are interesting thing in it and I wanted to share it with you. I am trying to use generics and type inference to imagine new kind of method prototype. With all the stuff around Linq…

17

Thinking about new C# method prototypes: object as dictionary

I recently had to write a small Flickr API. I know many .Net API for Flickr already exist but I needed one for a Silverlight application. Whatever, it’s only about building some querystrings so I did it by myself. It’s been an opportunity to think again about a classical question: how to pass parameters to…

6

WPF and Silverlight BookControls: source code available

I have just finished converting the control to silverlight one week away from Silverlight 2 beta 2 release date, so I have been waiting for it ! For people to be able to compare code (quite similar) and behavior between the WPF and the Silverlight control, I have kept the same codeplex project to host…

30

Create a virtual book with your Flickr pictures

Get some help with the video on this page: http://blogs.msdn.com/mitsu/archive/2008/05/14/show-your-flickr-pictures-in-a-silverlight-book.aspx

13

Show your Flickr pictures in a Silverlight book

Here is a control that everybody can easily use. This allow you to display Flickr pictures in a blog post or in any web page. For example this set of pictures (http://www.flickr.com/photos/benjamingauthey/sets/72157604570177365/), taken by my friend Benjamin during Paris Remix 08 can be browsed just here in this post. Now, how to get this on…

15

Tip: how to simplify value access from a dictionary ? With an extension method !

I was getting really bored with testing .ContainsKey() at each time I wanted to read a value from a dictionary. Dictionary<string, string> dico; if (dico.ContainsKey(“key”)) value = dico[“key”]; else value = “default”; A incredibly simple extension method solves this so easily: public static class MyExtensions { public static TValue GetValue<TKey, TValue>( this IDictionary<TKey, TValue> source,…

6

Silverlight 2.0 Flippage prototype

Enjoy, Code is coming very soon..[Update]: code is now available here ! Mitsu Move the mouse cursor around the corners

12

Visual Linq query builder for Linq to Sql: VLinq

Hi all, After almost one year of work and organization, I am very happy to share this project with you: http://code.msdn.microsoft.com/vlinq – new setup fixed (4/17/2008) The Visual Linq query builder is a Visual Studio 2008 addin. It’s a designer that helps you create Linq to Sql queries in your application. Both C# and VB projects…

81