devweek.png

I’ll be traveling down to London tomorrow for DevWeek 2009, where I’m going to do a workshop on F# on Monday and a few sessions on C# and F# on Thursday. Are you going to DevWeek? Are you going to be in London over the next few days? If you want to meet up, just let me know and I’m sure we can work something out! I’ll be twittering while I’m there, so following me on Twitter will be a good way of finding out where I am, if you fancy joining me for a pi …


As many of you have probably heard at some conference already, I have recently started writing a book for Wrox on “Functional Programming in C#“. I’ll try to blog about the topic a bit more, though I find myself not blogging very much at the moment… too much stuff to do. Anyway, I sat down with Keith and Woody at PDC this year and recorded a podcast on FP in C# — well, on some of the basics at least. If you’re interested, here it is:

Episode #23: Functional Programming in C# with Oliver Stu…


I have been working on getting a sample for using XPO from F#. My first sample was easily created back in January this year:

#light
open DevExpress.Xpo
type Person = class
  inherit XPObject as base
  public new(session : Session) = { inherit XPObject(session);
    name = string.Empty
  }

  val mutable private name : string

  member public x.Name
    with get() = x.name
    and set(v) = x.name <- v
end

let person = new Person(XpoDefault.Session)
person.Name <- "Wally"
person.Save( ...

So here they are, the slides and samples of that Functional Programming in C# 3.0 session. My apologies for the slight delay - I already received a few emails about it - but my flight home was cancelled yesterday and everything was a bit chaotic.

Functional Programming in C# 3.0

Have fun!


I did that presentation there yesterday. I had added a piece on top, to stretch things a bit more in the direction of WCF: the Game Status Viewer uses an additional published service to query game status information and displays that in a console window.

Here are the slides and samples in that most current version:

Net3GameChallengeNewcastle.zip

During the presentation I also mentioned that permissions problem that comes up when you run the …


2007-09-22

If you’re in Germany, here’s (hopefully) interesting news: starting from issue 11, my column “C# Corner” will be a regular feature in dot.net magazin. I’m looking forward to writing articles for that, on new and interesting things going on around the C# language, as well as best practices and whatever else comes to mind, really :-).


connectfour-small3.png

I did a presentation recently at the NxtGenUG in Oxford, where I introduced WPF and WCF in a combined session. I created a network enabled implementation of Connect Four to do this. Here’s the download of the demo solution, as requested by some of the attendees:

ConnectFour.zip

If you missed my presentation in Oxford, I suggest you keep an eye on the DDD 5 agenda voting page. I submitted the …


2007-03-16

I have this sample from a recent talk at Basta! conference in Germany, which shows (among other things) how to bind a cross table to a DataGridView (the standard .NET 2 data grid). A cross table is basically the result of transposing some data and using one of the fields for a second dimension.

The sample I have works on two tables of data. It doesn’t actually use a database and the reference that points from the list of votes to that of features is implemented as an object reference, but the …