www.planet-xaml.net
 
  • [WPFSilverlight]

    NRW'08 - WPF und Silverlight in der Praxis

    by Florian Krüsch, September 11, 2008

    Die Sommerpause ist vorbei und morgen gehts auf zum NRW'08 Community Event, wo ich einen Vortrag zu "WPF und Silverlight in der Praxis" halten darf. Es geht um WPF und Silverlight und um gesammelte Tips aus der Praxis, z.B.

    • Wie organisiert man Resourcen?
    • Wie verbiegt man ListBoxen?
    • Was sind die Unterschiede zwischen WPF und Silverlight?
    • Wie integriert man 3D in WPF und Silverlight(!)


    Ich freue mich auf den Event und vor allem darauf, viele Leute aus der Community mal persönlich kennenzulernen.


    no comments
  •  ^
  • [WPF]

    Waiting until a template is loaded in WPF

    by Florian Krüsch, September 18, 2008

    I ran into this while implementing a dialog inside a Popup. Popups are interesting, because they are part of the logical and visual tree, yet they render into a different HWND. Anyway, the problem was I needed to give the dialog keyboard focus when it opens, but at that time the control template isn't even expanded yet.

    Looking at Ben Carters excellent ScrollViewer Preview ToolTip I found a neat way to handle this and wrapped it into an extension method:

    C#toggle
    public static class Extensions
    {
       public static void InvokeWhenLoaded<T>(this T obj, Action action) 
          where T : DependencyObject
       {
          obj.Dispatcher.BeginInvoke(action, DispatcherPriority.Loaded);
       }
    }
    // Usage:
    if (isOpen) 
       win.InvokeWhenLoaded(() => win._dialog.Focus());

    Basically this adds the action into the Dispatcher Queue which will invoke it the next time the Dispatcher is finished loading controls. At this time the template is expanded and you can savely set focus on child elements.

    If you thought Dispatcher.BeginInvoke is just about UI-thread marshalling you're as wrong as I was :)

    Cheers,
    Florian


    no comments
  •  ^
  • [Silverlight]

    Live Mesh + Silverlight = X

    by Florian Krüsch, September 19, 2008

    So kurz vor der PDC kann man doch mal anfangen zu spekulieren, was uns alles schönes Neues ins Haus steht: Neben Oslo wird, da bin ich mir sicher, Live Mesh ein ganz grosses Thema sein.

    Microsoft betont immer wieder, dass Live Mesh in erster Linie eine Plattform ist. Eine Plattform, die auf Windows, "in the cloud" und auf dem Mac funktioniert. Das wird zumindest in einem Channel 9 Videos gesagt.

    Als Antwort auf die Frage, wie ich als Benutzer auf diese Plattfom zugreifen werde bzw. auf welcher Technologie die UserExperience von Anwendungen auf dieser Platform basieren soll, da fällt mir doch nur eine Möglichkeit ein: Silverlight

    Noch ein paar weitere Tatsachen: die Fertigstellung von Silverlight dauert auffällig lange... und: Live Mesh enthält dieselbe .NET Runtime wie Silverlight.

    Eine Anwendung greift dann also auf Services zur Synchronisierung und für den Zugriff auf Daten und Rechner über die Wolke zu und nutzt Silverlight für Darstellung und UI. So stell ich mir das vor.

    In einem Monat wissen wir mehr.

    Cheers,
    Florian


    no comments
  •  ^
  • [MIX08]

    Live Mesh Trailer

    by Florian Krüsch, September 23, 2008

    Here's a direct link to the Live Mesh trailer featured on the Software plus Services overview page on microsoft.com. It even features an Apple and MacOS X. The link is easy to find, there's a little Silverlight JavaScript that pulls an xml file with the video urls.

    A couple of years ago I had to get my head around Grid Computing at university. I dismissed the concepts as purely academic. It's fascinating to see pretty much the same technology about to become totally mainstream.

    The "Grid" in grid computing is an analogy to the electric power grid. Computing power, storage, identiy services... it will be, well, just out there, ready for your app to be plugged in to.


    no comments
  •  ^
 

Language | Sprache

All[e]  |  english  |  deutsch
Tags
 

Profile

Florian Kruesch

I am working as a freelance software architect, developer and consultant in Düsseldorf, Germany.

My focus is on Microsoft technologies and .NET 3.0, especially WPF, ASP.net and SQL Server.

I've been a lead programmer on the WPF development of the OTTO Vista Store at SinnerSchrader Studios.

My client list includes DHL, LG and Ogilvy Interactive.