Geeks With Blogs


What I do:

Identity Mine

MVVM Light


What I am:

Microsoft Most Valuable Professional, Client Application Development

Microsoft Certified Technology Specialist, Windows Presentation Foundation

WPF disciples


View my profile on LinkedIn

Creative Commons License
Diary of a Code Trotter by Laurent Bugnion is licensed under a Creative Commons Attribution 3.0 Unported License

All source code on this blog is licensed under the MIT license.

Copyright (c) 2006 - 2011 GalaSoft Laurent Bugnion

Laurent Bugnion (GalaSoft) Diary of a Code Trotter October 2006 Entries
WPF: Animations in XAML and code-behind
WPF makes it very easy to define animations, by using timelines, storyboards and dependency properties. Animations can be defined and triggered in XAML, or they can be defined in XAML and triggered in C#, or they can even be fully defined and triggered in C#. I just published a tutorial explaining the basic concepts of animations in WPF, with examples and a demo (runs in IE, with WPF September CTP (RC1) installed). The article shows 3 different ways to animate an object. Of course, you can also download ......

Posted On Saturday, October 28, 2006 8:39 PM

End of Summer, Beginning of Autumn
The autumn here is beautiful and melancholic at the same time. Many years ago, in my teenage times, I was thrilled by the coming of winter. Nowadays, it's less thrilling, but I got to say that I am looking forward to skiing again, and especially to go with Alise again. Last year was fun, and she had a blast learning! I hope that this year, we can go on and have fun together! I am posting many pictures again today. I know I should post less, more regularly, but I have been really busy with a lot of ......

Posted On Sunday, October 22, 2006 8:45 PM

WPF research and prototyping
Wow, one week without a post, means that something is cooking... and guess what, it's a new WPF prototype. I cannot publish anything yet, but the proof of concept works. It's been pretty much 24/7 for the last week (well, 18/7, I got to get some sleep from time to time ;-) The idea behind this prototype is to allow loading User Controls dynamically in a WPF application. By placing the application on a website, and by having the application (served as XBAP, or installed as standalone) communicate ......

Posted On Thursday, October 19, 2006 10:46 PM

WPF: SessionID management with CookieContainer
Following this post, I succeeded in adding cookie management to my latest WPF prototype. Cookie management in WPF and in WinForms applications is needed when you use a stateful web service, which uses HttpSessionState to store data about the current Session. When a web method is marked with the EnableSession parameter, the web service's Session property is set (otherwise it is null). However, the client must provide a way to store the cookie in which the SessionID (a unique string identifying the ......

Posted On Wednesday, October 11, 2006 9:20 AM

Session management in Web services: The power of Global
Following this post, I found it necessary to study more in detail the session management in ASP.NET web service applications. For quite some time I was very puzzled, because even the simpler tests would fail miserably, and a different SessionID would be returned on every call. In order to solve that problem, I got back to the roots. First, I developed a ASP.NET 1.1 web service, and tested a web method in a web browser, using the asmx URL. This returns a test page with useful information about the ......

Posted On Wednesday, October 11, 2006 7:28 AM

A simple AJAX service using Plain Old XML (POX), Part 1: Server-side implementation
I posted on my website an article showing in detail how to use an ASHX generic HTTP handler to answer simple AJAX requests. This is itended as an answer to many questions on various newsgroups I visit, asking how to use web services to perform simple tasks. In many cases, using SOAP based web services is overkill, and it's much easier and faster to use AJAX with plain old XML (POX) as a transport medium. It has actually become even easier with ASP.NET 2.0 and the ASHX handler, which allows lightweight ......

Posted On Friday, October 6, 2006 11:55 AM

WPF: Inconsistent SessionID when using web services
UPDATE: not a bug You got to love the internet. Minutes after I wrote about what I thought was a bug in WPF, Joseph Cooney pointed me to this page which explains how to save the cookie on the client to avoid losing the SessionID. Seems that I have been spoilt by my years of ASP.NET programming, where the browser stores the cookies automatically. I will update the example, and will post again about this soon! Problem This prototype demonstrates that, in WPF, the SessionID used when calling web services ......

Posted On Wednesday, October 4, 2006 10:18 AM

Copyright © Laurent Bugnion | Powered by: