Mitsu's blog

Discussing topics related to .Net, WPF, C# and Linq

  • Mitsu's blog

    Visual Linq query builder for Linq to Sql: VLinq

    • 81 Comments
    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...
  • Mitsu's blog

    How to implement a many-to-many relationship using Linq to Sql ?

    • 51 Comments
    In this article, I will show one possible solution to implement many-to-many relationship using Linq to Sql. Let's begin with some definitions and what Linq to Sql offers. A “many to many” relationship between two entities defines a kind of bi-directional...
  • Mitsu's blog

    WPF Book control

    • 105 Comments
    [Update : WPFBookControl now available on codeplex: http://www.codeplex.com/wpfbookcontrol ] After a long time of work on my free time here is finally a first version of the flip page demo ( http://blogs.msdn.com/mitsu/archive/2006/11/05/flip-page...
  • Mitsu's blog

    Playing with Linq grouping: GroupByMany ?

    • 38 Comments
    Linq is a great technology to manage data directly from your .Net language. One of its features is grouping. Many people understand grouping like it is defined in Sql. Linq is implementing grouping quite the same way. Let's discover this syntax and...
  • Mitsu's blog

    How to simulate modal windows inside a single WPF window using anonymous methods ?

    • 15 Comments
    Introduction In our windows applications we are commonly using modal windows. Let's remind the idea. Using windows forms, once a window is created, we can choose to show it in a modal manner (form.ShowDialog()). The window then becomes THE front window...
  • Mitsu's blog

    Linq: how to share parameters between lambda expressions ?

    • 27 Comments
    Before going into Linq, here is again one of my pictures: Le Louvre by night, Paris When using Linq to objects, you will quickly feel the need to pass some parameters from a method to another but it’s not so easy because each Linq method is not...
  • Mitsu's blog

    C# 4 expressions: blocks [Part I]

    • 22 Comments
    Since .Net 3.5 and Linq, the C# compiler is capable of generating expression trees instead of standard executable IL. Even if Linq opens the door of meta-programming (using the code to define something else, like a Sql query), we still have a lot of limitations...
  • Mitsu's blog

    Flip page demo using WPF

    • 25 Comments
    [Update: source code available here ] Let's have a little fun using WPF ! In this very short post, I am just giving you a preview of a page flip control that I am working on. The algorithm is mixing C# code and WPF 2D transformations and clipping...
  • Mitsu's blog

    First post

    • 1 Comments
    Hi all, My name is Mitsuru FURUTA. I am working for Microsoft FRANCE as a Developer Evangelist from 2003. From sept 04, I am posting on my french blog about Microsoft technologies and french events. Since PDC 2005, I got specialized on Linq and WPF and...
  • Mitsu's blog

    TreeSelector : playing with generics and type inference

    • 17 Comments
    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...
  • Mitsu's blog

    How to implement a many-to-many relationship using Linq to Sql ? Part II : add/remove support

    • 20 Comments
    In my previous post ( http://blogs.msdn.com/mitsu/archive/2007/06/21/how-to-implement-a-many-to-many-relationship-using-linq-to-sql.aspx ), I had proposed a simple solution for implementing many-to-many relationships using Linq to Sql. Actually, this...
  • Mitsu's blog

    WPF and Silverlight BookControls: source code available

    • 30 Comments
    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...
  • Mitsu's blog

    Show your Flickr pictures in a Silverlight book

    • 15 Comments
    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...
  • Mitsu's blog

    Surface Academy Toolkit 2009

    • 4 Comments
    Just a quick post to share this project with you. Microsoft France organized a 2 month long internship in Paris to develop a Surface Toolkit. We have provided a bunch of controls, including a Card Game Surface Starter kit that you can see here: The project...
  • Mitsu's blog

    Linq GroupByMany dynamically

    • 9 Comments
    Shawn asked me in my last post about GroupByMany how to use it dynamically. The answer is not easy. So here is a new post to answer to this interesting question. First you must learn a few things about being dynamic with linq. There is a very good...
  • Mitsu's blog

    Create a virtual book with your Flickr pictures

    • 13 Comments
    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
  • Mitsu's blog

    Enumerating Enums

    • 4 Comments
    In this post i will expose a little solution to make it more easy to read different values stored in a single enum instance. This sample is written in C# 2.0 using iterators and operator overriding. Let's use a simple enum definition: [Flags] public...
  • Mitsu's blog

    Thinking about new C# method prototypes: object as dictionary

    • 6 Comments
    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...
  • Mitsu's blog

    Linq to Sql CompiledQuery container

    • 10 Comments
    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...
  • Mitsu's blog

    WPF/Surface demo: driving an extending desktop with a popfly duck !

    • 4 Comments
    Contrarily to the title, this is a serious article ! From 10th to 12th of February Microsoft France have organized the Paris Techdays event. During the developer keynote, I have presented some Surface development features with a funny demo. Here...
  • Mitsu's blog

    WPF ObjectDumper and Linq to Sql deferred loading

    • 7 Comments
    Video: WPF Object dumper demo The official C# 3.0 samples are providing a very useful ObjectDumper class that allows displaying any kind of object on the console output. All the child properties are also displayed and you can even define how deep you...
  • Mitsu's blog

    Serving Silverlight Apps from Windows Mobile

    • 9 Comments
    For the last Paris mobility briefing, my colleague Pierre Cauchois asked me to co-animate the Coding4Fun session…hard to refuse. Even if mobile dev is not my every day work, thanks to the .Net Compact Framework, it’s still .Net programming. Here...
  • Mitsu's blog

    C# 4 expressions: loops, goto, label, if and even for ! [Part III]

    • 7 Comments
    We now have block and variable support in our very small meta language. Let’s try to use this basic engine to add higher functionalities. .Net 4.0 expression API also brings new instructions such as Loop, Goto, Label, IfThenElse, etc. We will add them...
  • Mitsu's blog

    Linq to bits !

    • 11 Comments
    Following my previous post , let's see how to extend Linq to bits... To have a good understanding of what I am working on in this post, it's highly recommended to read my previous post: Enumerating Enums . In fact, this is part II. Using Linq natural...
  • Mitsu's blog

    Read/Write selector in C# 3 then C# 4

    • 2 Comments
    I needed some quiet time to finish this article so I took some vacations here (Mauritius Island) Expressions are used to evaluate something. We usually use them in the right side of an affectation or at any place where a value is expected. It can...
Page 1 of 2 (40 items) 12