<?xml version="1.0" encoding="utf-8"?>
<feed xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xml:lang="en-us" xmlns="http://www.w3.org/2005/Atom">
  <title>The Blomsma Code</title>
  <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/" />
  <link rel="self" href="http://www.develop-one.net/blog/SyndicationService.asmx/GetAtom" />
  <icon>favicon.ico</icon>
  <updated>2008-08-03T02:53:47.256581-07:00</updated>
  <author>
    <name>Develop-One</name>
  </author>
  <subtitle>The mysteries of software development and networking...</subtitle>
  <id>http://www.develop-one.net/blog/</id>
  <generator uri="http://www.dasblog.net" version="2.0.7180.0">DasBlog</generator>
  <entry>
    <title>VirtualPC images on a USB Flash Drive</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/08/03/VirtualPCImagesOnAUSBFlashDrive.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,00ec0050-2ec1-4a23-b73f-70eef0f19797.aspx</id>
    <published>2008-08-03T02:53:47.256581-07:00</published>
    <updated>2008-08-03T02:53:47.256581-07:00</updated>
    <category term="General" label="General" scheme="http://www.develop-one.net/blog/CategoryView,category,General.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
I use a VirtualPC environment for all my software development work, usually using
a unique environment for every customer. This eats up the drive space in my laptop
pretty darn quick. So after <a href="http://joeblog.homnick.com/Lists/Posts/Post.aspx?ID=38" target="_blank">reading
about running a VirtualPC image from a USB Flash Drive</a> I decided to give it a
try. I purchased a 32GB memory stick and plugged it in.
</p>
        <p>
After a little experimenting I can now confirm it runs the VirtualPC nice and fast.
But writing data to the disk and reading at the same time is horrendously slow. So
you need to do two things:
</p>
        <p>
a) Make sure the .vmc file is NOT located on the flash drive<br />
b) Enable UndoDisks
</p>
        <p>
These two steps will create a temporary file on your harddisk, in the folder where
the .vmc is located. This means that while using the drive you only read from the
flash drive, but never write.
</p>
        <p>
When you shut down the VPC you can choose to commit the changes to the flash drive,
this may take a little while, so only do it when you have time to wait for it to complete.<br />
I usually choose 'Save State' which allows me to restart the VPC where I left off.
</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>XSD.exe turns integer into string</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/08/01/XSDexeTurnsIntegerIntoString.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,7a723387-45ef-4ce4-af94-ec99105683db.aspx</id>
    <published>2008-08-01T04:52:45.4024415-07:00</published>
    <updated>2008-08-01T04:52:45.4024415-07:00</updated>
    <category term="C#" label="C#" scheme="http://www.develop-one.net/blog/CategoryView,category,C%23.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
If you're using the xsd.exe tool to generate C# code from an XML Schema you'll find
that an attribute defined as an integer is generated into a string field.
</p>
        <p>
The reason is <a href="http://msdn.microsoft.com/en-us/library/ms950721.aspx" target="_blank">listed</a> on
MSDN:
</p>
        <p>
          <em>The <code>xs:integer</code> type is specified as a number with no upper or lower
bound on its size. For this reason, neither XML serialization nor validation map it
to the <b>System.Int32</b> type. Instead, XML serialization maps the <code>xs:integer</code> to
a string while validation maps it to the <b>Decimal</b> type that is much larger than
any of the integer types in the .NET Framework.</em>
        </p>
      </div>
    </content>
  </entry>
  <entry>
    <title>What is a Software Architect?</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/07/30/WhatIsASoftwareArchitect.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,85cea68f-c52c-4f12-9f86-03f409d7576a.aspx</id>
    <published>2008-07-29T22:27:14.4597203-07:00</published>
    <updated>2008-07-29T22:27:14.4597203-07:00</updated>
    <category term="Architecture" label="Architecture" scheme="http://www.develop-one.net/blog/CategoryView,category,Architecture.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <a href="http://blogs.tedneward.com" target="_blank">Ted Neward</a> offers a <a href="http://blogs.tedneward.com/2008/07/29/More+Thoughts+On+Architects+And+Architecture.aspx" target="_blank">very
good description of what a Software Architect</a> is:
</p>
        <p>
          <em>"an architect is not like a construction architect, but more like the conductor
of a band or symphony. Yes, the band could play without him, but at the end of the
day, the band plays better with one guy coordinating the whole thing. The larger the
band, the more necessary a conductor becomes. Sometimes the conductor is the same
thing as the composer (and perhaps that's the most accurate analogous way to view
this), in which case it's his "vision" of how the music in his head should come out
in real life, and his job is to lead the performers into contributing towards that
vision. Each performer has their own skills, freedom to interpret, and so on, but
within the larger vision of the work."</em>
        </p>
      </div>
    </content>
  </entry>
  <entry>
    <title>AIM Map Phone</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/06/11/AIMMapPhone.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,f93c6be1-8c3c-4a53-a83a-73d7ed525689.aspx</id>
    <published>2008-06-11T08:56:10.0931081-07:00</published>
    <updated>2008-06-12T03:31:09.1063495-07:00</updated>
    <category term=".NET" label=".NET" scheme="http://www.develop-one.net/blog/CategoryView,category,.NET.aspx" />
    <category term="AOL" label="AOL" scheme="http://www.develop-one.net/blog/CategoryView,category,AOL.aspx" />
    <category term="C#" label="C#" scheme="http://www.develop-one.net/blog/CategoryView,category,C%23.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
My <a href="http://dev.aol.com/article/2008/the-aim-map-phone" target="_blank">article</a> on
combining AIM Call Out with geocoding a phone number to display the location of the
person you're trying to call has gone live on the AOL Developer Network.
</p>
        <p>
I think it turned into a very cool sample application.
</p>
        <p>
          <img src="http://dev.aol.com/images/article_images/aimmap1.jpg" />
        </p>
        <p>
Dial a number and see the location of the person you're calling!
</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Live Mesh - One month later</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/06/10/LiveMeshOneMonthLater.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,5f83131a-67f3-4ba9-86e5-4027fb927976.aspx</id>
    <published>2008-06-10T11:31:26.8562181-07:00</published>
    <updated>2008-06-10T11:31:26.8562181-07:00</updated>
    <category term="General" label="General" scheme="http://www.develop-one.net/blog/CategoryView,category,General.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
It seems there is some controversy (<a href="http://joelonsoftware.com/items/2008/05/01.html" target="_blank">1</a>)
(<a href="http://www.25hoursaday.com/weblog/2008/06/10/SomeThoughtsOnJoelSpolskysLiveMeshRant.aspx" target="_blank">2</a>)
around whether Live Mesh is good or bad. Here is my 2 cents: I've installed Live Mesh
Tech Preview about a month ago and am pretty impressed by it so far. It seems to me
Microsoft may have found the tool that will unify the desktop (where they make their
money) with the cloud (revenue?). Currently there are two features that I use and
like:
</p>
        <p>
a) Sync files automatically with all machines in my Live Mesh group of devices<br />
b) If my Live Mesh device is on, then I can use Remote Desktop Connection (or a Live
Mesh version thereof) to remotely connect to that device. Even if it is behind a firewall
and on a dynamic IP DSL connection. This is great because my machines at the office
are connected to the Internet via a dynamic IP connection and now I can just connect
to them, by clicking them via the Live Mesh icon in my icon tray.
</p>
        <p>
The sync files feature will be further improved in the future when Peer 2 Peer synchronization
will be supported. I <a href="https://connect.microsoft.com/feedback/ViewFeedback.aspx?FeedbackID=347287&amp;SiteID=425" target="_blank">suggested</a> this
feature on MS Connect, but it was already planned :-)<br />
Here is the response I got:
</p>
        <p>
          <em>We plan to include selectable direct Peer to Peer (P2P) as a sync scenario in
a later milestone, which is in effect what you have asked for here I believe.<br />
Thank you for this report!<br />
Tim</em>
        </p>
        <p>
I use a lot of Virtual PC images. I'm hoping I can use this P2P sync service to create
continuous backups (don't know if the bandwidth needed will prove to be a killer).
</p>
        <p>
What is interesting is that <a href="http://forums.community.microsoft.com/en-US/LiveMesh/thread/3ca20333-af9d-4068-81d6-3cc4415f8b0d" target="_blank">files
on Live Mesh will sync</a>, even if the user is not signed in. This means that on
the client Live Mesh is connected to the cloud without a user logging on. This offers
potential for an interesting feature like 'Live Mesh Lockdown'. Suppose my machine
is stolen. I could use some other device, go to the Live Mesh Desktop on the web and
mark the device as stolen. This could lead to the machine being locked for further
use. I have no idea what information is stored on the server with regards to the device.
Perhaps this feature could even become part of the next version of Windows. That way
if the thief re-installs the machine the server can still recognize the device (based
on MAC address?) and still lock the machine. 
</p>
        <p>
Anyway, can't wait to see what the developer API for Live Mesh looks like.
</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>SDN Event - Collaboration</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/05/29/SDNEventCollaboration.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,bd3d9ced-f440-462f-bcc4-0cb4690de2f1.aspx</id>
    <published>2008-05-29T10:01:04.5707578-07:00</published>
    <updated>2008-05-29T10:01:04.5707578-07:00</updated>
    <category term="General" label="General" scheme="http://www.develop-one.net/blog/CategoryView,category,General.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
The Software Developer Network user group will be hosting it's quarterly event on
Monday, June 23. The theme of the event will be Collaboration, but plenty of general
topic sessions will be held as well (a total of 30 sessions!).
</p>
        <p>
Go to <a href="http://www.sdn.nl/sde">www.sdn.nl/sde</a> to sign up.
</p>
        <p>
Here is an overview of the sessions:
</p>
        <table cellspacing="1" cellpadding="2" width="800" bgcolor="#000000" border="0">
          <tbody>
            <tr>
              <td valign="center" align="left" width="4%" bgcolor="#ffffff">
              </td>
              <td valign="center" align="left" width="16%" bgcolor="#00ffff">
                <p align="center">
                  <strong>.Net C#</strong>
                </p>
              </td>
              <td valign="center" align="left" width="16%" bgcolor="#0000ff">
                <div align="center">
                  <strong>
                    <font color="#ffffff">.Net VB</font>
                  </strong>
                </div>
              </td>
              <td valign="center" align="left" width="16%" bgcolor="#9999ff">
                <div align="center">
                  <strong>
                    <font color="#ffffff">DotNetNuke</font>
                  </strong>
                </div>
              </td>
              <td valign="center" align="left" width="16%" bgcolor="#99ffcc">
                <div align="center">
                  <strong>
                    <font color="#000000">Inform. Worker</font>
                  </strong>
                </div>
              </td>
              <td valign="center" align="left" width="16%" bgcolor="#ff0000">
                <div align="center">
                  <strong>
                    <font color="#ffffff">Delphi</font>
                  </strong>
                </div>
              </td>
              <td valign="center" align="left" width="16%" bgcolor="#99ff99">
                <div align="center">
                  <strong>
                    <font color="#ffffff">User eXperience</font>
                  </strong>
                </div>
              </td>
            </tr>
            <tr>
              <td valign="top" align="left" bgcolor="#ffffff">
                <strong>8:30 </strong>
              </td>
              <td align="middle" bgcolor="#cccccc" colspan="6">
                <div align="center">Registratie / Ontvangst 
</div>
              </td>
            </tr>
            <tr>
              <td valign="top" align="left" bgcolor="#ffffff">
                <strong>9:00 </strong>
              </td>
              <td valign="top" align="middle" bgcolor="#ffffff">
                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                  <tbody>
                    <tr>
                      <td bgcolor="#ffff00">
                        <div align="center">
                          <strong>General session</strong>
                        </div>
                      </td>
                    </tr>
                    <tr>
                      <td>
                        <div align="center">
                          <strong>Softwarekwaliteit, wat is dat eigenlijk?<br /><br /></strong>Jaap van Ekris
</div>
                      </td>
                    </tr>
                  </tbody>
                </table>
              </td>
              <td valign="top" align="middle" bgcolor="#ffffff">
                <p align="center">
                  <strong>Addressing non-functional requirements with aspects</strong>
                </p>
                <p align="center">
Gael Fraiteur
</p>
              </td>
              <td valign="top" align="middle" bgcolor="#ffffff">
                <p align="center">
                  <strong>DotNetNuke Development: meer dan modules</strong>
                </p>
                <p align="center">
Stefan Kamphuis
</p>
              </td>
              <td valign="top" align="middle" bgcolor="#ffffff">
                <div align="center">
                  <p align="center">
                    <strong>SharePoint 2007 en WWF: Integratie van Divergerende Werelden</strong>
                  </p>
                  <p align="center">
Gustavo Velez
</p>
                </div>
              </td>
              <td valign="top" align="middle" bgcolor="#ffffff">
                <p align="center">
                  <strong>VCL for the Web</strong>
                </p>
                <p align="center">
Hadi Hariri
</p>
              </td>
              <td valign="top" align="middle" bgcolor="#ffffff">
                <div align="center">
                  <strong>User Experience op het web<br /><br /></strong>Robert Kuunders
</div>
              </td>
            </tr>
            <tr>
              <td valign="top" align="left" bgcolor="#ffffff">
                <strong>10:15 </strong>
              </td>
              <td align="middle" bgcolor="#cccccc" colspan="6">
                <div align="center">Pauze - 30 min. 
</div>
              </td>
            </tr>
            <tr>
              <td valign="top" align="left" bgcolor="#ffffff">
                <strong>10:45</strong>
              </td>
              <td valign="top" align="middle" bgcolor="#ffffff">
                <table cellspacing="0" cellpadding="0" width="100%" border="0">
                  <tbody>
                    <tr>
                      <td bgcolor="#ffff00">
                        <div align="center">
                          <strong>General session</strong>
                        </div>
                      </td>
                    </tr>
                    <tr>
                      <td>
                        <div align="center">
                          <strong>Waarom agile wel werkt en waterval niet<br /><br /></strong>Sander Hoogendoorn
</div>
                      </td>
                    </tr>
                  </tbody>
                </table>
              </td>
              <td valign="top" align="middle" bgcolor="#ffffff">
                <p align="center">
                  <strong>SharePoint filter webparts - theorie en praktijk</strong>
                </p>
                <p align="center">
Ton Stegeman
</p>
              </td>
              <td valign="top" align="middle" bgcolor="#ffffff">
                <p align="center">
                  <strong>Dynamic Localization in DotNetNuke</strong>
                </p>
                <p align="center">
Peter Donker
</p>
              </td>
              <td valign="top" align="middle" bgcolor="#ffffff">
                <div align="center">
                  <p align="center">
                    <strong>Samenwerken, met Groove een fluitje van een cent!</strong>
                  </p>
                  <p align="center">
Dennis Vroegop
</p>
                </div>
              </td>
              <td valign="top" align="middle" bgcolor="#ffffff">
                <p align="center">
                  <strong>Continuous Integration in .NET</strong>
                </p>
                <p align="center">
Hadi Hariri
</p>
              </td>
              <td valign="top" align="middle" bgcolor="#ffffff">
                <p align="center">
                  <strong>Adobe Flex en AIR : De kracht van Rich Internet Applications<br /><br /></strong>Christoph Rooms
</p>
              </td>
            </tr>
            <tr>
              <td valign="top" align="left" bgcolor="#ffffff">
                <strong>12:00 </strong>
              </td>
              <td align="middle" bgcolor="#cccccc" colspan="6">
                <div align="center">Lunch - 60 min. 
</div>
              </td>
            </tr>
            <tr>
              <td valign="top" align="left" bgcolor="#ffffff">
                <strong>13:00 </strong>
              </td>
              <td valign="top" align="middle" bgcolor="#ffffff">
                <p align="center">
                  <strong>.NET en hardware - video capture en servo's aansturen</strong>
                </p>
                <p align="center">
Jeroen W. Pluimers
</p>
              </td>
              <td valign="top" align="middle" bgcolor="#ffffff">
                <p align="center">
                  <strong>Towards more complex aspects using PostSharp</strong>
                </p>
                <p align="center">
Gael Fraiteur
</p>
              </td>
              <td valign="top" align="middle" bgcolor="#ffffff">
                <p align="center">
                  <strong>Synching your dev and live environments</strong>
                </p>
                <p align="center">
Erik van Ballegoij
</p>
              </td>
              <td valign="top" align="middle" bgcolor="#ffffff">
                <div align="center">
                  <p align="center">
                    <strong>Gepersonaliseerd nieuws op basis van MOSS 2007 Search</strong>
                  </p>
                  <p align="center">
Mike Fortgens &amp; Mirjam van Olst
</p>
                </div>
              </td>
              <td valign="top" align="middle" bgcolor="#ffffff">
                <p align="center">
                  <strong>Unicode in Delphi for Win32</strong>
                </p>
                <p align="center">
Bob Swart
</p>
              </td>
              <td valign="top" align="middle" bgcolor="#ffffff">
                <p align="center">
                  <strong>Silverlight2<br /><br /></strong>Robertjan Tuit
</p>
              </td>
            </tr>
            <tr>
              <td valign="top" align="left" bgcolor="#ffffff">
                <strong>14:15 </strong>
              </td>
              <td align="middle" bgcolor="#cccccc" colspan="6">
                <div align="center">Pauze - 15 min. 
</div>
              </td>
            </tr>
            <tr>
              <td valign="top" align="left" bgcolor="#ffffff">
                <strong>14:30 </strong>
              </td>
              <td valign="top" align="middle" bgcolor="#ffffff">
                <p align="center">
                  <strong>Microsoft Sync Framework in action</strong>
                </p>
                <p align="center">
Dennis van der Stelt
</p>
              </td>
              <td valign="top" align="middle" bgcolor="#ffffff">
                <p align="center">
                  <strong>Het gebruik van een Object Relational Mapper tool</strong>
                </p>
                <p align="center">
Diderick Oerlemans
</p>
              </td>
              <td valign="top" align="middle" bgcolor="#ffffff">
                <p align="center">
                  <strong>DotNetNuke Schedular Interface</strong>
                </p>
                <p align="center">
Leigh Pointer
</p>
              </td>
              <td valign="top" align="middle" bgcolor="#ffffff">
                <div align="center">
                  <p align="center">
                    <strong>Bouw een Silverlight smoelenboek in SharePoint</strong>
                  </p>
                  <p align="center">
Donald Hessing &amp; Reinhard Brongers
</p>
                </div>
              </td>
              <td valign="top" align="middle" bgcolor="#ffffff">
                <p align="center">
                  <strong>Practical Delphi WOA</strong>
                </p>
                <p align="center">
Paweł Głowacki
</p>
              </td>
              <td valign="top" align="middle" bgcolor="#ffffff">
                <p align="center">
                  <strong>Interaction Design: What the user really wants</strong>
                </p>
                <p align="center">
Stefan Bookholt
</p>
              </td>
            </tr>
            <tr>
              <td valign="top" align="left" bgcolor="#ffffff">
                <strong>15:45 </strong>
              </td>
              <td align="middle" bgcolor="#cccccc" colspan="6">
                <div align="center">Pauze - 30 min. 
</div>
              </td>
            </tr>
            <tr>
              <td valign="top" align="left" bgcolor="#ffffff">
                <strong>16:15</strong>
              </td>
              <td valign="top" align="middle" bgcolor="#ffffff">
                <p align="center">
                  <strong>Peer-to-peer en collaboration met .NET 3.5</strong>
                </p>
                <p align="center">
Alex Thissen
</p>
              </td>
              <td valign="top" align="middle" bgcolor="#ffffff">
                <p align="center">
                  <strong>Customize VSTS WorkItems within your application</strong>
                </p>
                <p align="center">
Mike Glaser
</p>
              </td>
              <td valign="top" align="middle" bgcolor="#ffffff">
                <p align="center">
                  <strong>Content Syndication met DotNetNuke</strong>
                </p>
                <p align="center">
Peter Donker
</p>
              </td>
              <td valign="top" align="middle" bgcolor="#ffffff">
                <div align="center">
                  <p align="center">
                    <strong>Collaboration met Lotus Quickr en Microsoft SharePoint</strong>
                  </p>
                  <p align="center">
Arjan Uijl &amp;<br />
Ton Stegeman
</p>
                </div>
              </td>
              <td valign="top" align="middle" bgcolor="#ffffff">
                <p align="center">
                  <strong>Delphi en het Clipboard - copy en paste meer dan tekst alleen</strong>
                </p>
                <p align="center">
Jeroen W. Pluimers
</p>
              </td>
              <td valign="top" align="middle" bgcolor="#ffffff">
                <p align="center">
                  <strong>Developers + Designers = User Experience</strong>
                </p>
                <p align="center">
Martion Tirion
</p>
              </td>
            </tr>
            <tr>
              <td valign="top" align="left" bgcolor="#ffffff">
                <strong>17:30 </strong>
              </td>
              <td align="middle" bgcolor="#cccccc" colspan="6">
                <div align="center">Einde 
</div>
              </td>
            </tr>
          </tbody>
        </table>
      </div>
    </content>
  </entry>
  <entry>
    <title>WCF serialization and RemotingFormat</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/05/21/WCFSerializationAndRemotingFormat.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,b277c4e9-4360-4353-b758-accbbf29714c.aspx</id>
    <published>2008-05-21T14:04:18-07:00</published>
    <updated>2008-05-21T07:04:26.676725-07:00</updated>
    <category term="C#" label="C#" scheme="http://www.develop-one.net/blog/CategoryView,category,C%23.aspx" />
    <category term="WCF" label="WCF" scheme="http://www.develop-one.net/blog/CategoryView,category,WCF.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Anyone familiar with building applications using .NET Remoting (in .NET 2.0) knows
that the DataSet and DataTable classes have a property called RemotingFormat. This
could be set to either XML or Binary where Binary would give you a performance boost
since it is more compact.
</p>
        <p>
Windows Communication Foundation does not use this property at all. The service binding
dictates the serialization format, no matter what you set the RemotingFormat property
to be, even if your using a NetHttpBinding.
</p>
        <p>
The following configuration will setup a service to use .NET Binary formatting over
Http:
</p>
        <p>
          <font face="Courier New">&lt;system.serviceModel&gt;<br />
  &lt;bindings&gt;<br />
    &lt;customBinding&gt;<br />
      &lt;binding name="NetHttpBinding"&gt;<br />
        &lt;reliableSession /&gt;<br />
        &lt;compositeDuplex /&gt;<br />
        &lt;oneWay  /&gt;<br />
        &lt;binaryMessageEncoding  /&gt;<br />
        &lt;httpTransport /&gt;<br />
      &lt;/binding&gt;<br />
    &lt;/customBinding&gt;<br />
  &lt;/bindings&gt;<br />
  &lt;services&gt;<br />
    &lt;service behaviorConfiguration="ServiceBehavior" name="MyService"&gt;<br />
      &lt;endpoint address="" binding="customBinding"<br />
        bindingConfiguration="NetHttpBinding" name="HttpBinding"
contract="IService" /&gt;<br />
      &lt;endpoint address="mex" binding="mexHttpBinding"
contract="IMetadataExchange" /&gt;<br />
    &lt;/service&gt;<br />
  &lt;/services&gt;<br />
  &lt;behaviors&gt;<br />
    &lt;serviceBehaviors&gt;<br />
      &lt;behavior name="ServiceBehavior"&gt;<br />
        &lt;!-- To avoid disclosing metadata information,
set the value below to false and remove the metadata endpoint above before deployment
--&gt;<br />
        &lt;serviceMetadata httpGetEnabled="true"/&gt;<br />
        &lt;!-- To receive exception details in
faults for debugging purposes, set the value below to true.  Set to false before
deployment to avoid disclosing exception information --&gt;<br />
        &lt;serviceDebug includeExceptionDetailInFaults="false"/&gt;<br />
      &lt;/behavior&gt;<br />
    &lt;/serviceBehaviors&gt;<br />
  &lt;/behaviors&gt;<br />
&lt;/system.serviceModel&gt;</font>
        </p>
        <p>
So even if your service looks something like this:
</p>
        <p>
          <font face="Courier New">public DataSet GetData()<br />
{<br />
    DataSet ds = BuildDataSet();   // retrieve some data
here<br />
    ds.RemotingFormat = SerializationFormat.Xml;<br />
    return ds;<br />
}</font>
        </p>
        <p>
The DataSet will still get serialized as a .NET binary as defined in the binding ('binaryMessageEncoding').
</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Building a .NET VoIP Application</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/05/13/BuildingANETVoIPApplication.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,3ede1d1a-31aa-47ac-a22f-a6711a682085.aspx</id>
    <published>2008-05-13T12:11:26.5810631-07:00</published>
    <updated>2008-05-13T12:11:26.5810631-07:00</updated>
    <category term=".NET" label=".NET" scheme="http://www.develop-one.net/blog/CategoryView,category,.NET.aspx" />
    <category term="AOL" label="AOL" scheme="http://www.develop-one.net/blog/CategoryView,category,AOL.aspx" />
    <category term="C#" label="C#" scheme="http://www.develop-one.net/blog/CategoryView,category,C%23.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
The article I wrote about building a Voice over IP .NET application using AIM Call
Out and the AOL Open Voice API has just gone live on the AOL Developer Network. Read
it <a href="http://dev.aol.com/article/2008/building-a-dotnet-voip-application-using-aim-call-out" target="_blank">here</a>.
</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>.NET CLR 2.0 SP2</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/05/13/NETCLR20SP2.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,75305f85-8d53-494c-810c-7f896f382185.aspx</id>
    <published>2008-05-13T06:07:59.9055511-07:00</published>
    <updated>2008-05-13T06:07:59.9055511-07:00</updated>
    <category term=".NET" label=".NET" scheme="http://www.develop-one.net/blog/CategoryView,category,.NET.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
A lot is being blogged about the availability of <a href="http://blogs.msdn.com/brada/archive/2008/05/05/visual-studio-2008-and-net-framework-3-5-sp1-beta.aspx" target="_blank">VS
2008 SP1</a> and <a href="http://blogs.msdn.com/bharry/archive/2008/04/28/team-foundation-server-2008-sp1.aspx" target="_blank">TFS
SP1</a>. It contains fixes and many new features and sound almost too good to be true,
but I checked, it's not an April fool's joke :-)
</p>
        <p>
A little lost in the noise about new features is the fact that .NET Framework 3.5
SP1 will include <strong>.NET CLR 2.0 SP2</strong>. I've been unable to find anything
about this other than this <a href="http://blogs.msdn.com/ericeil/archive/2008/05/12/threadpool-changes-in-net-3-5-sp1-beta.aspx" target="_blank">one
post</a> by Eric Eilebrecht, but any CLR update is significant. 
</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>VB9 does not have Collection Initializers</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/05/10/VB9DoesNotHaveCollectionInitializers.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,6934e0a0-b341-4df6-bbc5-2658771144eb.aspx</id>
    <published>2008-05-10T07:22:46.3287375-07:00</published>
    <updated>2008-05-10T07:23:35.4071766-07:00</updated>
    <category term="C#" label="C#" scheme="http://www.develop-one.net/blog/CategoryView,category,C%23.aspx" />
    <category term="VB.NET" label="VB.NET" scheme="http://www.develop-one.net/blog/CategoryView,category,VB.NET.aspx" />
    <content type="html">&lt;p&gt;
I just wasted some of my time figuring out how to do collection initialization in
VB9. 
&lt;/p&gt;
&lt;p&gt;
C#3.0 has a new feature called collection initializer and according to a (somewhat
older) &lt;a href="http://weblogs.asp.net/scottgu/archive/2007/03/08/new-c-orcas-language-features-automatic-properties-object-initializers-and-collection-initializers.aspx" target="_blank"&gt;post&lt;/a&gt; by
Scott Guthrie, VB9 was slated to have it too. I guess it got cut &lt;a href="http://oakleafblog.blogspot.com/2007/06/will-visual-basic-90-have-collection.html" target="_blank"&gt;somewhere&lt;/a&gt;.
&lt;/p&gt;
&lt;p&gt;
Anyway this is what collection initializers look like in C#3.0:
&lt;/p&gt;
&lt;p&gt;
&lt;span style="font-size: 10pt; color: #2b91af; font-family: 'Courier New'"&gt;List&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'"&gt;&amp;lt;&lt;span style="color: blue"&gt;int&lt;/span&gt;&amp;gt;
numbers = &lt;span style="color: blue"&gt;new&lt;/span&gt; &lt;span style="color: #2b91af"&gt;List&lt;/span&gt;&amp;lt;&lt;span style="color: blue"&gt;int&lt;/span&gt;&amp;gt;
{ 1, 2, 3, 4, 5 };&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
The closest thing in VB9 would be to use array initializers:
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-pagination: none; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: 'Courier New'"&gt;Dim&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'"&gt; numbers &lt;span style="color: blue"&gt;As&lt;/span&gt; &lt;span style="color: blue"&gt;New&lt;/span&gt; List(&lt;span style="color: blue"&gt;Of&lt;/span&gt; &lt;span style="color: blue"&gt;Integer&lt;/span&gt;&lt;?xml:namespace prefix = o /&gt;)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-pagination: none; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; color: blue; font-family: 'Courier New'"&gt;Dim&lt;/span&gt;&lt;span style="font-size: 10pt; font-family: 'Courier New'"&gt; temp() &lt;span style="color: blue"&gt;As&lt;/span&gt; &lt;span style="color: blue"&gt;Integer&lt;/span&gt; =
{1, 2, 3, 4, 5}&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;
&lt;p class="MsoNormal" style="margin-bottom: 0pt; line-height: normal; mso-pagination: none; mso-layout-grid-align: none"&gt;
&lt;span style="font-size: 10pt; font-family: 'Courier New'"&gt;numbers.AddRange(temp)&lt;o:p&gt;&lt;/o:p&gt;
&lt;/span&gt;
&lt;/p&gt;</content>
  </entry>
  <entry>
    <title>Building a RSS aggregator using LINQ to Objects and WCF 3.5</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/05/09/BuildingARSSAggregatorUsingLINQToObjectsAndWCF35.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,340f6530-80db-453a-bb45-57826dc8ce07.aspx</id>
    <published>2008-05-09T09:10:19.2140508-07:00</published>
    <updated>2008-05-10T10:28:40.9938769-07:00</updated>
    <category term="C#" label="C#" scheme="http://www.develop-one.net/blog/CategoryView,category,C%23.aspx" />
    <category term="LINQ" label="LINQ" scheme="http://www.develop-one.net/blog/CategoryView,category,LINQ.aspx" />
    <category term="WCF" label="WCF" scheme="http://www.develop-one.net/blog/CategoryView,category,WCF.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Okay, so you read the title of this post. Perhaps you're expecting huge amounts of
code, but guess what. As it turns out, this is so ridiculously easy. This will be
a very short post.
</p>
        <p>
Step one is to have a method that loads an RSS feed. WCF offers a new class called
SyndicationFeed.
</p>
        <p>
          <font face="Courier New" size="2">private SyndicationFeed Load( string url )</font>
        </p>
        <p>
          <font face="Courier New" size="2">{</font>
        </p>
        <p>
          <font face="Courier New" size="2">  XmlReader reader = XmlReader.Create( url
);</font>
        </p>
        <p>
          <font face="Courier New" size="2">  SyndicationFeed feed = SyndicationFeed.Load(
reader );</font>
        </p>
        <p>
          <font face="Courier New" size="2">  return feed;</font>
        </p>
        <p>
          <font face="Courier New" size="2">}</font>
        </p>
        <p>
          <font face="Courier New">
          </font>  
</p>
        <p>
The above method will take a url and use to load a feed. Now suppose I have a list
of urls and I want to take all the items in all the feeds, sort them and use them
to generate a new, aggregated feed. Sounds like a fair amount of work, right. 
</p>
        <p>
Here is the code: 
</p>
        <p>
  
</p>
        <p>
          <font face="Courier New" size="2">private SyndicationFeed Aggregate( List&lt;string&gt;
urls )</font>
        </p>
        <p>
          <font face="Courier New" size="2">{</font>
        </p>
        <p>
          <font face="Courier New" size="2">  var items = from url in urls</font>
        </p>
        <p>
          <font face="Courier New" size="2">             
from item in Load( url ).Items</font>
        </p>
        <p>
          <font face="Courier New" size="2">             
orderby item.PublishDate descending</font>
        </p>
        <p>
          <font face="Courier New" size="2">             
select item;</font>
        </p>
        <p>
          <font face="Courier New" size="2">
          </font>  
</p>
        <p>
          <font face="Courier New" size="2">  SyndicationFeed feed = new SyndicationFeed(
items );</font>
        </p>
        <p>
          <font face="Courier New" size="2">  return feed;</font>
        </p>
        <p>
          <font face="Courier New" size="2">}</font>
        </p>
        <p>
 
</p>
        <p>
Cool!
</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Next BAND meeting May 27th in Bangor, ME.</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/05/09/NextBANDMeetingMay27thInBangorME.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,c3d06634-93f8-43cc-8ba9-97c44f783139.aspx</id>
    <published>2008-05-09T08:42:09.6876129-07:00</published>
    <updated>2008-05-09T08:42:09.6876129-07:00</updated>
    <category term="General" label="General" scheme="http://www.develop-one.net/blog/CategoryView,category,General.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Heroes Happen in Bangor! The BAND is proud to announce we will be putting on a mini-launch
event for Microsoft's <a href="http://www.microsoft.com/heroeshappenhere/default.mspx">Heroes
Happen Here launch</a> of the 2008 products.  Come to the event at Kominsky Hall
at Husson College in Bangor on Tuesday, May 27 at 6:00 pm.
</p>
        <p>
Greg Howe and Jeff Hall, BAND co-leaders, will be talking about Visual Studio 2008
and how it will impact your development efforts.  There will be two 45-minute
talks, one focusing on the web world, and one focusing on the IDE.  You will
leave this event knowing how you can benefit from the new products, including Windows
Sever 2008 and SQL Server 2008. 
</p>
        <p>
More info <a href="http://www.bangordevelopers.com/" target="_blank">here</a>.
</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Windows Live Writer &amp;amp; dasBlog</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/05/06/WindowsLiveWriterAmpDasBlog.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,84cf78fc-8c85-46c3-bf13-d33374d7f5e2.aspx</id>
    <published>2008-05-06T10:23:49.992289-07:00</published>
    <updated>2008-05-09T08:43:02.2348242-07:00</updated>
    <category term="General" label="General" scheme="http://www.develop-one.net/blog/CategoryView,category,General.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
My blog runs on dasBlog version 2.x and when I started blogging I did all my typing
online. Then Office 2007 came along and Word offered the feature of creating a blog
entry offline and then upload it to dasBlog using the MovableType API.
</p>
        <p>
This wasn't too great though, since Word markup would end up in the HTML and sometimes
the publish process just froze or refused to logon to my web site. Also, uploading
pictures was kind of a hack.
</p>
        <p>
Last week I installed <a href="http://get.live.com/" target="_blank">Windows Live
Writer</a> and this runs as a charm. Definitely a recommendation! 
</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>69%</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/05/06/69.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,6d76e890-dc70-41a4-9f7b-1eb14af614dd.aspx</id>
    <published>2008-05-06T10:16:27.6144578-07:00</published>
    <updated>2008-05-06T10:17:00.1146658-07:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
A new quiz on <a href="http://www.justsayhi.com">www.justsayhi.com</a> says I'm:
</p>
        <a style="display: block; background: url(http://assets.justsayhi.com/badges/618/503/geek_badge1_green.hebjmgan7r.jpg) no-repeat; width: 268px; height: 82px; text-decoration: none" href="http://www.justsayhi.com/bb/geek">
          <span style="display: block; padding-left: 125px; font-size: 22px; color: #000; padding-top: 28px; font-family: arial">69%
Geek</span>
        </a>
      </div>
    </content>
  </entry>
  <entry>
    <title>Live Mesh beta program</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/05/06/LiveMeshBetaProgram.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,af649d30-7325-4cac-98e4-e138d46618ba.aspx</id>
    <published>2008-05-06T10:14:11.5042117-07:00</published>
    <updated>2008-05-06T10:14:11.5042117-07:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
I heard about Live Mesh last week and decided to check it out. So I’ve signed up for
Live Mesh beta program and it is pretty neat, but still fairly simple. I’ve not (yet)
been accepted into the Mesh Developer beta, which is a separate program. As I understand
it Live Mesh will allow you to not just share files, but Silverlight applications
as well. 
</p>
        <p>
  
</p>
        <p>
          <strong>Current state of Live Mesh</strong>
        </p>
        <p>
Live Mesh allows you to turn a folder on your machine into a Mesh Folder. This in
turn allows you to automatically share the folder across multiple devices. Every account
has one default device: the Mesh Live Desktop, an online desktop which acts like a
Windows desktop. 
</p>
        <p>
Mesh Folders can be shared with any Live Messenger contact. Each Mesh folder will
track all changes and allows collaboration my attaching messages to the folder. 
</p>
        <p>
  
</p>
        <p>
Picture of Live Mesh Desktop, I've shared the Develop-One folder which sits on my
laptop. It shows up as a folder on my Live Mesh desktop. 
</p>
        <p>
  
</p>
        <p>
          <a href="http://www.develop-one.net/blog/content/binary/WindowsLiveWriter/LiveMeshbetaprogram_B9F1/clip_image002_2.jpg">
            <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="512" alt="clip_image002" src="http://www.develop-one.net/blog/content/binary/WindowsLiveWriter/LiveMeshbetaprogram_B9F1/clip_image002_thumb.jpg" width="546" border="0" />
          </a>
        </p>
        <p>
  
</p>
        <p>
Device support will include Windows Mobile and Mac! 
</p>
        <p>
  
</p>
        <p>
          <a href="http://www.develop-one.net/blog/content/binary/WindowsLiveWriter/LiveMeshbetaprogram_B9F1/clip_image004_2.jpg">
            <img style="border-right: 0px; border-top: 0px; border-left: 0px; border-bottom: 0px" height="510" alt="clip_image004" src="http://www.develop-one.net/blog/content/binary/WindowsLiveWriter/LiveMeshbetaprogram_B9F1/clip_image004_thumb.jpg" width="544" border="0" />
          </a>
        </p>
        <p>
  
</p>
        <p>
For anyone that knows Office Groove, it'll be interesting to see how the final version
of Live Mesh and Groove compare. 
</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>C# 3.0 deferred execution</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/05/02/C30DeferredExecution.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,e77f2e0e-d2d1-4bdd-ac16-470a8eae1b96.aspx</id>
    <published>2008-05-02T11:33:43.985-07:00</published>
    <updated>2008-05-02T12:45:37.7744506-07:00</updated>
    <category term="C#" label="C#" scheme="http://www.develop-one.net/blog/CategoryView,category,C%23.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <span>An important part of LINQ and C# 3.0 is the concept of deferred execution. What
does this mean? </span>
        </p>
        <p>
          <span>Let's have a look at the following code: </span>
        </p>
        <p>
          <span style="font-size: 10pt; font-family: courier new">
            <span style="color: blue">static</span>
            <span style="color: blue">void</span> Main( <span style="color: blue">string</span>[]
args ) 
<br />
{<br /><span style="color: #2b91af">   List</span>&lt;<span style="color: blue">int</span>&gt;
numbers = <span style="color: blue">new</span><span style="color: #2b91af">List</span>&lt;<span style="color: blue">int</span>&gt;
{ 1, 2, 3, 4, 5, 6, 7, 8, 9 }; 
<br /><span style="color: blue">   var</span> evenNumbers = numbers.Select( x
=&gt; ( x % 2 == 0 ) ); </span>  
</p>
        <p>
          <span style="font-size: 10pt; font-family: courier new">
            <span style="color: blue">  
foreach</span> ( <span style="color: blue">int</span> i <span style="color: blue">in</span> evenNumbers
)<br />
   {<br /><span style="color: blue">     if</span> ( i == 6 )<br />
         numbers.Add( 12 ); <span style="color: green">//
add a number to the list of numbers<br /></span><span style="color: #2b91af">     Console</span>.WriteLine(
i ); 
<br />
   } 
<br /><span style="color: #2b91af">   Console</span>.ReadLine(); 
<br />
} </span>
        </p>
        <p>
          <span style="font-size: 10pt; font-family: courier new">
            <span style="color: blue">public</span>
            <span style="color: blue">static</span>
            <span style="color: #2b91af">List</span>&lt;<span style="color: blue">int</span>&gt;
Select( <span style="color: blue">this</span><span style="color: #2b91af">List</span>&lt;<span style="color: blue">int</span>&gt;
numbers, <span style="color: #2b91af">Filter</span> filter ) 
<br />
{ 
<br /><span style="color: #2b91af">   List</span>&lt;<span style="color: blue">int</span>&gt;
result = <span style="color: blue">new</span><span style="color: #2b91af">List</span>&lt;<span style="color: blue">int</span>&gt;(); 
<br /><span style="color: blue">   foreach</span> ( <span style="color: blue">int</span> i <span style="color: blue">in</span> numbers
) 
<br />
   { 
<br /><span style="color: green">      // call the filter method/delegate
to see if this 
<br />
      // number needs to be in the result 
<br /></span><span style="color: blue">      if</span> ( filter(
i ) == <span style="color: blue">true</span> ) 
<br />
      {<br /><span style="color: green">         // if
i matches the filter then add it to the result 
<br /></span>         result.Add( i ); 
<br />
      }<br /></span>
          <span style="font-size: 10pt; font-family: courier new">   } 
<br /><span style="color: blue">   return</span> result; 
<br />
} </span>
        </p>
        <p>
          <span>In the code above the extension method 'Select' will apply a filter and return
a subset of the original collection of numbers. When the numbers are printed we add
the number '12' to the original collection. Since the Select method created a new
collection with the subset we will not see the number 12 being printed to the console.
If we want a more dynamic interaction we can rewrite the Select method to return an
enumerator rather than a List. </span>
        </p>
        <p>
          <span style="font-size: 10pt; font-family: courier new">
            <span style="color: blue">public</span>
            <span style="color: blue">static</span>
            <span style="color: #2b91af">IEnumerable</span>&lt;<span style="color: blue">int</span>&gt;
Select( <span style="color: blue">this</span><span style="color: #2b91af">List</span>&lt;<span style="color: blue">int</span>&gt;
numbers, <span style="color: #2b91af">Filter</span> filter ) 
<br />
{ 
<br /><span style="color: blue">    for</span> ( <span style="color: blue">int</span> n
= 0; n &lt; numbers.Count; n++ ) 
<br />
    { 
<br /><span style="color: blue">        if</span> ( filter(
numbers[n] ) == <span style="color: blue">true</span> ) 
<br />
        { 
<br /><span style="color: green">           
// if numbers[n] matches the filter then yield the value 
<br /></span><span style="color: blue">           
yield</span><span style="color: blue">return</span> numbers[n]; 
<br />
        } 
<br />
    } 
<br />
} </span>
        </p>
        <p>
          <span>The code above shows that instead of returning a List of numbers we now yield
the value of each number as it passes through the filter. Now when we run the same
Main we will see that the value '12' is included in our output. </span> <span>If
we put a breakpoint inside the application we can inspect the type of 'evenNumbers'. </span></p>
        <p>
          <img src="http://www.develop-one.net/blogpictures/050208_1535_C30deferred1.png" />
        </p>
        <p>
          <span>As you can see it point to the Select methods and the Lambda has been compiled
into an anonymous delegate. Rather than having a fixed result the Select method keeps
being called until there are no more numbers being 'yielded'. You can preview the
results by opening the 'Results View', but that will only provide a view of the iterator
at that specific point in time. </span>
        </p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Three steps to understanding Lambda expressions in C#</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/05/02/ThreeStepsToUnderstandingLambdaExpressionsInC.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,97fd6ff1-0f68-4e0e-955e-ee25ffefac6f.aspx</id>
    <published>2008-05-02T07:55:30.516-07:00</published>
    <updated>2008-05-08T09:21:38.2994395-07:00</updated>
    <category term="C#" label="C#" scheme="http://www.develop-one.net/blog/CategoryView,category,C%23.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <div class="Section1">
          <p>
            <span>There are three key things that you need to understand in order to understand
Lambda expressions in C#3.0.</span>
          </p>
          <p>
            <span>1. Delegates,<br /></span>
            <span>2. Delegates,<br /></span>
            <span>3. ... delegates.</span>
          </p>
          <p>
            <span>Since Lambda has come to town (or C#) I've discovered that a lot of people use
delegates, but quite a few developers don't really know what a delegate is. 
<br /></span>
            <span>Understanding delegates is key to understanding what Lambdas are.</span>
          </p>
          <p>
            <span>Wikipedia has the following definition:<br /></span>
            <span>A delegate is a form of type-safe function pointer used by the .NET Framework. 
Delegates specify a method to call and optionally an object to call the method on.
They are used, among other things, to implement callbacks and event listeners.</span>
          </p>
          <p>
            <span>Here is my rule of thumb definition:<br /></span>
            <span>A delegate definition is a signature description for a method.  </span>
          </p>
          <p>
            <span>It helps me to think of it as an interface definition for methods. An interface
defines a number of methods, properties and/or events that need to be implemented
by a class. You can use an interface definition as a type for a parameter in a method.
Similarly a delegate definition defines the return type and parameters that a method
needs to 'implement' (match is a better word). And a delegate can also be used as
a type for a parameter in a method.</span>
          </p>
          <p>
            <span>Still a lot of mumbo jumbo?<br /></span>
            <span>Okay, let’s take the journey from ‘traditional’ programming to C#3.0
syntax.</span>
          </p>
          <p>
            <span>Consider the following program. Traditionally if you wanted to select a subset
from a collection you would iterate over the collection and copy the items you're
interested in into a new collection.</span>
          </p>
          <p>
            <span style="font-size: 10pt; color: blue; font-family: 'Courier New'">static</span>
            <span style="font-size: 10pt; font-family: 'Courier New'">
              <span style="color: blue">void</span> Main(<span style="color: blue">string</span>[]
args)<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">{<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">    <span style="color: #2b91af">List</span>&lt;<span style="color: blue">int</span>&gt;
numbers = <span style="color: blue">new</span><span style="color: #2b91af">List</span>&lt;<span style="color: blue">int</span>&gt;
{ 1, 2, 3, 4, 5, 6, 7, 8, 9 };<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">    <span style="color: #2b91af">List</span>&lt;<span style="color: blue">int</span>&gt;
evenNumbers = GetEvenNumbers( numbers );<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">    <span style="color: blue">foreach</span> ( <span style="color: blue">int</span> i <span style="color: blue">in</span> evenNumbers
)<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">   
{<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">        <span style="color: #2b91af">Console</span>.WriteLine(
i );<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">   
}<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">    <span style="color: #2b91af">Console</span>.ReadLine();<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">}</span>
          </p>
          <p>
            <span style="font-size: 10pt; color: blue; font-family: 'Courier New'">static</span>
            <span style="font-size: 10pt; font-family: 'Courier New'">
              <span style="color: #2b91af">List</span>&lt;<span style="color: blue">int</span>&gt;
GetEvenNumbers( <span style="color: #2b91af">List</span>&lt;<span style="color: blue">int</span>&gt;
numbers )<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">{<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">    <span style="color: #2b91af">List</span>&lt;<span style="color: blue">int</span>&gt;
result = <span style="color: blue">new</span><span style="color: #2b91af">List</span>&lt;<span style="color: blue">int</span>&gt;();<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">    <span style="color: blue">foreach</span> ( <span style="color: blue">int</span> i <span style="color: blue">in</span> numbers
)<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">   
{<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">        <span style="color: blue">if</span> (
i % 2 == 0 )<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">       
{<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">            <span style="color: green">//
if i matches the filter then add it to the result<br /></span></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">           
result.Add( i );<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">       
}<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">   
}<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">    <span style="color: blue">return</span> result;<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">}</span>
          </p>
          <p>
            <span>The above code will select all the even numbers and print them to the console.
Just a </span>
            <span style="font-size: 10pt; color: blue; font-family: 'Courier New'">foreach</span>
            <span style="font-size: 10pt; font-family: 'Courier New'">
            </span>
            <span>and
no delegates yet.</span>
          </p>
          <p>
            <span>Instead of implementing a 'GetEvenNumbers' method, lets create a generic Select
method. The method will be generic and will loop over the numbers and select only
those which are selected by a filter. But how to define the filter? Lets first look
at what we want our Select method to look like:</span>
          </p>
          <p>
            <span style="font-size: 10pt; color: blue; font-family: 'Courier New'">static</span>
            <span style="font-size: 10pt; font-family: 'Courier New'">
              <span style="color: #2b91af">List</span>&lt;<span style="color: blue">int</span>&gt;
Select( <span style="color: #2b91af">List</span>&lt;<span style="color: blue">int</span>&gt;
numbers, <span style="color: #2b91af">Filter</span> filter )<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">{<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">    <span style="color: #2b91af">List</span>&lt;<span style="color: blue">int</span>&gt;
result = <span style="color: blue">new</span><span style="color: #2b91af">List</span>&lt;<span style="color: blue">int</span>&gt;();<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">
              <br />
            </span>
            <span style="font-size: 10pt; font-family: 'Courier New'">    <span style="color: blue">foreach</span> ( <span style="color: blue">int</span> i <span style="color: blue">in</span> numbers
)<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">   
{<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">        <span style="color: green">//
call the filter method/delegate to see if this 
<br /></span></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">        <span style="color: green">//
number needs to be in the result<br /></span></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">        <span style="color: blue">if</span> (
filter( i ) == <span style="color: blue">true</span> )<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">       
{<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">            <span style="color: green">//
if i matches the filter then add it to the result<br /></span></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">           
result.Add( i );<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">       
}<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">   
}<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">    <span style="color: blue">return</span> result;<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">}</span>
          </p>
          <p>
            <span>We want to create a method which takes a reference to another method as a parameter.
This is what is known as a delegate. In our case the delegate needs to be a method
which takes an Int32 as a parameter and returns a Boolean. In C# the delegate is defined
using the 'delegate' keyword:</span>
          </p>
          <p>
            <span style="font-size: 10pt; color: blue; font-family: 'Courier New'">delegate</span>
            <span style="font-size: 10pt; font-family: 'Courier New'">
              <span style="color: blue">bool</span>
              <span style="color: #2b91af">Filter</span>( <span style="color: blue">int</span> x
);</span>
          </p>
          <p>
            <span>Now, any method that takes an Integer as a parameter and returns a Boolean matches
this delegate. So both methods shown below match the delegate:</span>
          </p>
          <p>
            <span style="font-size: 10pt; color: blue; font-family: 'Courier New'">static</span>
            <span style="font-size: 10pt; font-family: 'Courier New'">
              <span style="color: blue">public
bool</span> IsEvenNumber( <span style="color: blue">int</span> number )<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">{<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">    <span style="color: blue">return</span> (
number % 2 == 0 );<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">}</span>
          </p>
          <p>
            <span style="font-size: 10pt; font-family: 'Courier New'">
            </span> <span style="font-size: 10pt; color: blue; font-family: 'Courier New'">private</span><span style="font-size: 10pt; font-family: 'Courier New'"><span style="color: blue">bool</span> IsOddNumber( <span style="color: blue">int</span> z
)<br /></span><span style="font-size: 10pt; font-family: 'Courier New'">{<br /></span><span style="font-size: 10pt; font-family: 'Courier New'">    <span style="color: blue">return</span> (
z % 2 == 0 );<br /></span><span style="font-size: 10pt; font-family: 'Courier New'">}</span></p>
          <p>
            <span>Notice that the name of the method does not matter, nor does the name of the
parameter, nor does the accessibility of the method. Types of the parameter(s) and
the return type is all that matters when it comes to matching with the delegate.</span>
          </p>
          <p>
            <span>We can now rewrite Main to use the Select method:</span>
          </p>
          <p>
            <span style="font-size: 10pt; color: blue; font-family: 'Courier New'">static</span>
            <span style="font-size: 10pt; font-family: 'Courier New'">
              <span style="color: blue">void</span> Main( <span style="color: blue">string</span>[]
args )<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">{<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">    <span style="color: #2b91af">List</span>&lt;<span style="color: blue">int</span>&gt;
numbers = <span style="color: blue">new</span><span style="color: #2b91af">List</span>&lt;<span style="color: blue">int</span>&gt;
{ 1, 2, 3, 4, 5, 6, 7, 8, 9 };<br /></span>  <span style="font-size: 10pt; font-family: 'Courier New'">   <span style="color: #2b91af">List</span>&lt;<span style="color: blue">int</span>&gt;
evenNumbers = Select( numbers, IsEvenNumber );</span> 
</p>
          <p>
            <span style="font-size: 10pt; font-family: 'Courier New'">    <span style="color: blue">foreach</span> ( <span style="color: blue">int</span> i <span style="color: blue">in</span> evenNumbers
)<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">   
{<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">        <span style="color: #2b91af">Console</span>.WriteLine(
i );<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">   
}<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">    <span style="color: #2b91af">Console</span>.ReadLine();<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">}</span>
          </p>
          <p>
            <span>In C# 3.0 it has become easier to create a delegate, all you need to do is provide
the name of the method, the compiler infers that you wish to create a delegate.</span>
          </p>
          <p>
            <span>The old syntax was:</span>
          </p>
          <p>
            <span style="font-size: 10pt; color: blue; font-family: 'Courier New'">static</span>
            <span style="font-size: 10pt; font-family: 'Courier New'">
              <span style="color: blue">void</span> Main( <span style="color: blue">string</span>[]
args )<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">{<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">    <span style="color: #2b91af">List</span>&lt;<span style="color: blue">int</span>&gt;
numbers = <span style="color: blue">new</span><span style="color: #2b91af">List</span>&lt;<span style="color: blue">int</span>&gt;
{ 1, 2, 3, 4, 5, 6, 7, 8, 9 };<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">
              <br />
    <span style="color: #2b91af">List</span>&lt;<span style="color: blue">int</span>&gt;
evenNumbers = Select( numbers, <span style="color: blue">new</span><span style="color: #2b91af">Filter</span>(
IsEvenNumber ) );<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">
              <br />
    <span style="color: blue">foreach</span> ( <span style="color: blue">int</span> i <span style="color: blue">in</span> evenNumbers
)<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">   
{<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">        <span style="color: #2b91af">Console</span>.WriteLine(
i );<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">   
}<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">    <span style="color: #2b91af">Console</span>.ReadLine();<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">}</span>
          </p>
          <p>
            <span>The syntax is shorter, and arguably more readable, but hides the fact that a
delegate is in fact an object and not just a reference as the new syntax seems to
suggest.</span>
          </p>
          <p>
            <span>Ok, now our IsEvenNumber method is quite simple, right? So to create a whole
method for that method, which will likely never be reused is a little much. This is
where anonymous delegates come in. Rather than specify a method which matches the
delegate we can create an anonymous delegate which also matches with the Filter delegate.</span>
          </p>
          <p>
            <span>Consider the following code:</span>
          </p>
          <p>
            <span style="font-size: 10pt; color: blue; font-family: 'Courier New'">static</span>
            <span style="font-size: 10pt; font-family: 'Courier New'">
              <span style="color: blue">void</span> Main( <span style="color: blue">string</span>[]
args )<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">{<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">    <span style="color: #2b91af">List</span>&lt;<span style="color: blue">int</span>&gt;
numbers = <span style="color: blue">new</span><span style="color: #2b91af">List</span>&lt;<span style="color: blue">int</span>&gt;
{ 1, 2, 3, 4, 5, 6, 7, 8, 9 };<br /><br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">    <span style="color: #2b91af">List</span>&lt;<span style="color: blue">int</span>&gt;
evenNumbers = Select( numbers, <span style="color: blue">delegate</span>( <span style="color: blue">int</span> x
) { <span style="color: blue">return</span> ( x % 2 == 0 ); } );<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">
              <br />
    <span style="color: blue">foreach</span> ( <span style="color: blue">int</span> i <span style="color: blue">in</span> evenNumbers
)<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">   
{<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">        <span style="color: #2b91af">Console</span>.WriteLine(
i );<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">   
}<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">    <span style="color: #2b91af">Console</span>.ReadLine();<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">}</span>
          </p>
          <p>
            <span>The reference to IsEvenNumber has now been replaced by the creation of an anonymous
delegate. The creation and implementation of the delegate is all done in a single
line.</span>
          </p>
          <p>
            <span>You'll probably agree that this does not do much for readability.</span>
          </p>
          <p>
            <span>Remember how I started this blog post? Lambdas are delegates. So let’s replace
the delegate with a lambda.</span>
          </p>
          <p>
            <span style="font-size: 10pt; color: blue; font-family: 'Courier New'">static</span>
            <span style="font-size: 10pt; font-family: 'Courier New'">
              <span style="color: blue">void</span> Main( <span style="color: blue">string</span>[]
args )<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">{<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">    <span style="color: #2b91af">List</span>&lt;<span style="color: blue">int</span>&gt;
numbers = <span style="color: blue">new</span><span style="color: #2b91af">List</span>&lt;<span style="color: blue">int</span>&gt;
{ 1, 2, 3, 4, 5, 6, 7, 8, 9 };<br /></span>
            <br />
            <span style="font-size: 10pt; font-family: 'Courier New'">    <span style="color: #2b91af">List</span>&lt;<span style="color: blue">int</span>&gt;
evenNumbers = Select( numbers, ( x =&gt; ( x % 2 == 0 ) ) );<br /></span>
            <br />
            <span style="font-size: 10pt; font-family: 'Courier New'">    <span style="color: blue">foreach</span> ( <span style="color: blue">int</span> i <span style="color: blue">in</span> evenNumbers
)<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">   
{<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">        <span style="color: #2b91af">Console</span>.WriteLine(
i );<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">   
}<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">    <span style="color: #2b91af">Console</span>.ReadLine();<br /></span>
            <span style="font-size: 10pt; font-family: 'Courier New'">}</span>
          </p>
          <p>
            <span>So what is happening here? Let’s look at the Lambda:</span>
          </p>
          <p>
            <span style="font-size: 10pt; font-family: 'Courier New'">x =&gt; ( x % 2 == 0 )</span>
          </p>
          <p>
            <span>We are expressing that there is an input 'x' which we want to mod by two. Since
this Lambda expression is only a single line the return statement is implied and automatically
applied to the last statement, most Lambda expressions contain only one line of code,
but any number is possible. If you want more that one line you need to use the { }
to denote the scope of the block and use the return statement (if your delegate return
anything other than void). 
<br />
If we were to change the expression to:</span>
          </p>
          <p>
            <span style="font-size: 10pt; font-family: 'Courier New'">x =&gt; ( x % 2 )</span>
          </p>
          <p>
            <span>Then the result of the Lambda would be a integer and the code would not compile
since the return type Int32 does not match with the Filter delegate.<br /></span>
            <span>There is quite a bit of 'magic' going on for the compiler to decide which
delegate the Lambda maps onto, the intellisense will help you, because (in this sample)
it will know that 'x' is of type Int32.</span>
          </p>
          <p>
            <span>So to summarize:<br /></span>
            <span>Lambdas are a concise notation for defining delegates.</span>
          </p>
          <p>
            <span>
            </span> 
</p>
          <p>
            <span>
            </span> 
</p>
          <p>
            <span>
            </span> 
</p>
          <p>
 
</p>
        </div>
      </div>
    </content>
  </entry>
  <entry>
    <title>C#3.0: Adding methods to enumerations</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/04/24/C30AddingMethodsToEnumerations.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,bcbfb861-4a96-4552-82ae-166829f303ae.aspx</id>
    <published>2008-04-24T09:11:49.5404327-07:00</published>
    <updated>2008-04-24T09:11:49.5404327-07:00</updated>
    <category term="AOL" label="AOL" scheme="http://www.develop-one.net/blog/CategoryView,category,AOL.aspx" />
    <category term="C#" label="C#" scheme="http://www.develop-one.net/blog/CategoryView,category,C%23.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
I'm currently doing some <a href="http://dev.aol.com/blog/markdeveloper/MapQuest1">work
with MapQuest</a> and ran into the situation that I need to define styles for point
of interest. From a code point of view I would like an enumeration, but the <a href="http://developer.mapquest.com/Library/SDK_Documentation/DotNet">MapQuest
API</a> defines a series of strings to specify the style you wish to use. With C#3.0
I can now add a method to an enumeration using an extension method.
</p>
        <p>
The sample below shows an enumeration for stars and an extension method for getting
the value of that enumeration as a string:
</p>
        <p>
          <font face="Courier New">public enum Stars : int<br />
{<br />
    Red = 31,<br />
    Green = 32,<br />
    Blue = 33,<br />
    Yellow = 34,<br />
    Orange = 35,<br />
    Purple = 36,<br />
    White = 37,<br />
    Black = 38,<br />
    Gray = 39,<br />
    Gold = 40<br />
}</font>
        </p>
        <p>
          <font face="Courier New">public static class StarsExtension<br />
{<br />
    public static string Value( this Stars enumerator )<br />
    {<br />
        int v = (int) enumerator;<br />
        return "MQ000" + v.ToString();<br />
    }<br />
}</font>
        </p>
        <p>
I can now use this as follows:
</p>
        <p>
          <font face="Courier New">string s = Stars.Gold.Value();</font>
        </p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Array conversion using LINQ</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/04/23/ArrayConversionUsingLINQ.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,9bdab5dc-0821-4167-8725-703e50ed9247.aspx</id>
    <published>2008-04-23T09:10:52.932-07:00</published>
    <updated>2008-04-23T09:11:38.4171529-07:00</updated>
    <category term="C#" label="C#" scheme="http://www.develop-one.net/blog/CategoryView,category,C%23.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Array conversion, or reshaping of objects, seems like a cool thing to do with LINQ
and C# 3.0.<br />
I've played around a little with the following:
</p>
        <p>
          <font face="Courier New">sbyte[] imageBytes = GetImage();<br /><br /><font color="#008000">// convert using extension method / Lambda syntax</font> <br />
byte[] y = imageBytes.Select( s =&gt; (byte) s ).ToArray();<br /><br /><font color="#008000">// convert using LINQ syntax</font><br />
byte[] x = ( from b in imageBytes select (byte) b).ToArray() ;</font>
        </p>
        <p>
          <font face="Courier New">
            <font color="#008000">// convert using the Cast extension
method</font>
            <br />
byte[] z = imageBytes.Cast&lt;byte&gt;().ToArray();</font>
        </p>
        <p>
So what is the difference? Actually approach 1 and 2 lead to the same IL. 
<br />
The Cast method works quite different and in my case I got an exception from approach
3 saying the sbyte would not fit in the byte. 
<br /><br />
But of course LINQ is not needed for this simple conversion:
</p>
        <p>
          <font face="Courier New">
            <font color="#008000">// convert by casting to array to byte[]<br /></font>byte[] bytes = (byte[])(Array)imageBytes;</font>
        </p>
        <p>
I did a quick perf check and the last option is 500 to 800 times faster.
</p>
        <p>
 
</p>
        <p>
        </p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Tomorrow: Geek Lunch (22nd of April) - Introduction to LINQ &amp; Language Improvements in C# 3.0/VB 9</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/04/21/TomorrowGeekLunch22ndOfAprilIntroductionToLINQLanguageImprovementsInC30VB9.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,d900a5c0-3b43-425f-8926-9aef51bded2a.aspx</id>
    <published>2008-04-21T06:50:10.9558107-07:00</published>
    <updated>2008-04-21T06:50:10.9558107-07:00</updated>
    <category term="C#" label="C#" scheme="http://www.develop-one.net/blog/CategoryView,category,C%23.aspx" />
    <category term="General" label="General" scheme="http://www.develop-one.net/blog/CategoryView,category,General.aspx" />
    <category term="LINQ" label="LINQ" scheme="http://www.develop-one.net/blog/CategoryView,category,LINQ.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
The Maine Developer Network is hosting a Geek Lunch tomorrow at the State of Maine,
Harlow Building at 18 Elkins Ave in Augusta.<br />
Chris Bowen will be presenting on LINQ &amp; Language Improvements in C# 3.0/VB 9.<br />
Sign up <a href="http://www.maine-devnet.org/Home/SignUpForEvent.aspx">here</a>.
</p>
        <p>
LINQ (Language Integrated Query) is a unified approach for querying data using coding
syntax that remains consistent regardless of the data source. It WILL change the way
you work as a developer and architect and this session will help you on your way to
using it effectively. To understand how LINQ works, we'll first navigate the new features
of C# 3.0 and VB 9.0 that enable LINQ functionality. Then, we'll dive into .NET 3.5
and Visual Studio 2008 to explore the various realms of LINQ: Datasets, XML, Database/SQL,
in-memory objects, and more. By the end of this session, you'll have a solid understanding
of how LINQ works and what it can do for your applications. 
</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Correlating Workflows using Windows Communication Foundation</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/04/09/CorrelatingWorkflowsUsingWindowsCommunicationFoundation.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,015bcd90-8ac2-4160-a05f-31f582fb3ea8.aspx</id>
    <published>2008-04-09T11:59:06.323-07:00</published>
    <updated>2008-05-21T05:35:11.7667733-07:00</updated>
    <category term="WF" label="WF" scheme="http://www.develop-one.net/blog/CategoryView,category,WF.aspx" />
    <content type="html">&lt;p&gt;
Background: Assume we have workflow which is hosted as a WCF service. Every workflow
instance is identified by the workflow instanceId. When a remote call comes into the
workflow runtime the runtime needs to identify which workflow instance&amp;nbsp;the caller&amp;nbsp;wants
to communicate with. If no identification is provided the runtime will assume a new
workflow instance needs to be created. 
&lt;/p&gt;
&lt;p&gt;
Consider the following piece of client side code which calls a workflow service called
FirstOperation() which is handled by a ReceiveActivity on the server:
&lt;/p&gt;
&lt;p&gt;
&lt;code&gt;ClientProxy proxy = new ClientProxy(); 
&lt;br&gt;
proxy.Open(); 
&lt;br&gt;
proxy.FirstOperation(); //creates a new workflow 
&lt;br&gt;
proxy.Close(); &lt;/code&gt;
&lt;/p&gt;
&lt;p&gt;
Now assume a second call needs to be made and the second call needs to be handled
by the same workflow because in this workflow there is second ReceiveActivity waiting
for the SecondOperation to be called. 
&lt;br&gt;
The following piece of code will do just that:
&lt;/p&gt;
&lt;p&gt;
&lt;code&gt;ClientProxy proxy = new ClientProxy(); 
&lt;br&gt;
proxy.Open(); 
&lt;br&gt;
proxy.FirstOperation(); //creates a new workflow 
&lt;br&gt;
//.. more code, keep the WCF channel open 
&lt;br&gt;
proxy.SecondOperation(); 
&lt;br&gt;
proxy.Close(); &lt;/code&gt;
&lt;/p&gt;
&lt;p&gt;
The above code will work because the ReceiveActivity in combination with the WorkflowServiceHost
automatically adds information to the WCF context. The instanceId of the workflow
has been added to the context. The above code is bad design. The connection to the
server is a valuable resource and should be closed as soon as possible. The following
code snippet show how the context manager is used to retrieve the context from the
call which initiates the workflow and is then reused when a new client proxy is created. 
&lt;/p&gt;
&lt;p&gt;
&lt;code&gt;ClientProxy proxy = new ClientProxy(); 
&lt;br&gt;
proxy.Open(); 
&lt;br&gt;
proxy.FirstOperation(); //creates a new workflow 
&lt;br&gt;
IContextManager manager = proxy.InnerChannel.GetProperty&lt;ICONTEXTMANAGER&gt;
(); 
&lt;br&gt;&lt;STRING, String&gt;
IDictionary context = manager.GetContext(); 
&lt;br&gt;
proxy.Close(); 
&lt;br&gt;
&lt;br&gt;
//.. more code, the WCF channel is now closed 
&lt;br&gt;
&lt;br&gt;
proxy = new ClientProxy(); 
&lt;br&gt;
IContextManager manager = proxy.InnerChannel.GetProperty&lt;ICONTEXTMANAGER&gt;
(); 
&lt;br&gt;
manager.SetContext(context); 
&lt;br&gt;
proxy.SecondOperation(); 
&lt;br&gt;
proxy.Close(); 
&lt;/code&gt;
&lt;/p&gt;
&lt;p&gt;
The IContextManager has been added in .NET 3.5 to help with correlation. The code
needed in .NET 3.0 to achieve the similar functionality is much less elegant. 
&lt;/p&gt;
&lt;p&gt;
Note 1: Server side both the ReceiveActivity as well as the SendActivity have a Context
property allowing for easy access to the context. A common pattern for implementing
a callback is to set the context of the SendActivity to the value of the context of
the ReceiveActivity. In the scenario illustrated above the context would consist of
just the instanceId. In scenarios where the workflow is using send and receive activities
within a parallel activity the context will automatically get extended to include
a conversationId, allowing the WorkflowServiceHost to correlate an incoming call to
the correct receive activity. 
&lt;/p&gt;
&lt;p&gt;
Note 2: If you want manually add the instanceId to a context, have a look at &lt;a href="http://msmvps.com/blogs/theproblemsolver/archive/2008/02/06/long-running-workflows-and-the-receiveactivity.aspx"&gt;this
post&lt;/a&gt; by Maurice de Beijer.
&lt;/p&gt;
&lt;font face="Courier New"&gt;
&lt;br&gt;
&lt;/font&gt;</content>
  </entry>
  <entry>
    <title>Presentations from Code Camp 9</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/04/07/PresentationsFromCodeCamp9.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,923f464a-daa3-4b90-a91c-c273920374a1.aspx</id>
    <published>2008-04-07T08:20:18.061-07:00</published>
    <updated>2008-05-21T05:36:12.1357543-07:00</updated>
    <category term="Architecture" label="Architecture" scheme="http://www.develop-one.net/blog/CategoryView,category,Architecture.aspx" />
    <category term="C#" label="C#" scheme="http://www.develop-one.net/blog/CategoryView,category,C%23.aspx" />
    <category term="General" label="General" scheme="http://www.develop-one.net/blog/CategoryView,category,General.aspx" />
    <category term="WF" label="WF" scheme="http://www.develop-one.net/blog/CategoryView,category,WF.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
The Boston Code Camp 9 is over and done with. It was a great two day event and kudos
to Chris, Chris and all the presenters that put their time and effort into making
this an excellent happening!
</p>
        <p>
Here are the two presentations from the session that I did:
</p>
        <a href="http://www.develop-one.net/blog/content/binary/04-06-2008%20CC9%20-%20Building%20a%20State%20Machine%20Workflow.zip">04-06-2008
CC9 - Building a State Machine Workflow.zip (231.61 KB)</a>
        <br />
        <a href="http://www.develop-one.net/blog/content/binary/04-06-2008%20CC9%20-%20Building%20applications%20with%20logic.zip">04-06-2008
CC9 - Building applications with logic.zip (1.78 MB)</a>
      </div>
    </content>
  </entry>
  <entry>
    <title>Trial images for VSTS 2008 and TFS 2008</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/04/01/TrialImagesForVSTS2008AndTFS2008.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,21067dd5-e795-49d1-9d95-b723c7836967.aspx</id>
    <published>2008-04-01T09:48:24.735-07:00</published>
    <updated>2008-04-01T09:48:55.6107187-07:00</updated>
    <category term="Team System" label="Team System" scheme="http://www.develop-one.net/blog/CategoryView,category,Team%2BSystem.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
If you're interested in playing around and testing VSTS 2008 and TFS 2008, but don't
want to waste too much time getting the software installed? Good news! The trial Virtual
PC images have been updated! Download your play area right <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=c7a809d8-8c9f-439f-8147-948bc6957812&amp;displaylang=en">here</a>. 
</p>
        <p>
The image will not expire until December 31st 2008.
</p>
        <p>
"<em>This virtual machine is running Windows Server 2003 Enterprise Edition, SP2.
It contains a full installation of Team Foundation Server 2008, Team Build 2008, Team
Explorer 2008, Visual Studio Team System 2008 Team Suite and all necessary prerequisites.
In addition, it has been updated with Office 2007 SP1, current Windows Updates as
of March 25, 2008, and the December Release of the TFS Power Tools. Team Foundation
Server is installed in workgroup authentication mode and thus does not require a domain
controller. </em>"
</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>The B.A.N.D. is meeting tonight</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/04/01/TheBANDIsMeetingTonight.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,a5df0a4e-3bce-46ae-8ec8-3ccc2f99b13a.aspx</id>
    <published>2008-04-01T07:39:15.6234271-07:00</published>
    <updated>2008-04-01T07:39:15.6234271-07:00</updated>
    <category term="General" label="General" scheme="http://www.develop-one.net/blog/CategoryView,category,General.aspx" />
    <content type="html">&lt;p&gt;
&lt;span&gt;The Bangor Area .NET Developers are meeting tonight at the Hampton Inn, Bangor
(&lt;a title="Directions to the Hampton Inn" href="http://maps.google.com/maps?f=q&amp;amp;hl=en&amp;amp;geocode=&amp;amp;time=&amp;amp;date=&amp;amp;ttype=&amp;amp;q=hampton+inn,+bangor,+me&amp;amp;ie=UTF8&amp;amp;ll=44.828848,-68.74712&amp;amp;spn=0.042854,0.079823&amp;amp;z=14&amp;amp;om=1" target=_blank&gt;directions&lt;/a&gt;&lt;?xml namespace=""
                                    ns="urn:schemas-microsoft-com:office:office" prefix="o" ?&gt;).&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;b&gt;&lt;i&gt;&lt;span&gt;Converting VB6 Apps to .NET – Eric Burdo&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span&gt;&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;span&gt;You feel stuck in VB6 land...there is all this .NET stuff people are talking
about.&amp;nbsp; You know you want to get there, but what does it take?&amp;nbsp; Eric will
show you!&amp;nbsp; Come learn how to make the jump from VB6 to .NET and find out some
of the pros and cons to converting your older apps.&lt;/span&gt;
&lt;/p&gt;
&lt;p&gt;
Plus there's a random drawing for &lt;b&gt;your own wireless desktop (keyboard and mouse)&lt;/b&gt;&lt;b&gt;,&lt;/b&gt; among
other cool door prizes!
&lt;/p&gt;
&lt;p&gt;
&lt;span&gt;If you haven't done so already: &lt;a href="http://www.bangordevelopers.com/Register.aspx"&gt;Register
For This Gig&lt;/a&gt;. &lt;/span&gt;
&lt;/p&gt;</content>
  </entry>
  <entry>
    <title>Team Suite vNext will be FREE</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/04/01/TeamSuiteVNextWillBeFREE.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,621536ab-c0fc-496b-bbd2-0671db2738ec.aspx</id>
    <published>2008-04-01T07:21:48.7886024-07:00</published>
    <updated>2008-04-01T07:21:48.7886024-07:00</updated>
    <category term="General" label="General" scheme="http://www.develop-one.net/blog/CategoryView,category,General.aspx" />
    <category term="Team System" label="Team System" scheme="http://www.develop-one.net/blog/CategoryView,category,Team%2BSystem.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Today is a good day for a laugh... I love this <a href="http://guy.dotnet-expertise.com/PermaLink,guid,69e74f30-19a8-4cc6-96d7-76a5b4539ab2.aspx">one</a>.
</p>
        <p>
:-)
</p>
        <p>
        </p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Boston Code Camp 9 - The Schedule</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/03/28/BostonCodeCamp9TheSchedule.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,de07dc0c-a285-4a4b-9535-2af373962622.aspx</id>
    <published>2008-03-28T09:26:28.383-07:00</published>
    <updated>2008-03-28T09:37:47.8412345-07:00</updated>
    <category term="General" label="General" scheme="http://www.develop-one.net/blog/CategoryView,category,General.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <img src="http://blogs.msdn.com/blogfiles/cbowen/WindowsLiveWriter/CodeCamp9TheSchedule_9C8F/code%20camp%20wkng%2008%20cropped_3.jpg" />
        <p>
          <a href="http://blogs.msdn.com/cbowen">Chris</a> just posted the schedule for Boston
Code Camp 9!
</p>
        <p>
Go to: <a href="http://blogs.msdn.com/cbowen/archive/2008/03/28/code-camp-9-the-schedule.aspx">http://blogs.msdn.com/cbowen/archive/2008/03/28/code-camp-9-the-schedule.aspx</a>.
</p>
        <p>
See you next week!
</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Participate in designing the next version of Visual Studio</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/03/27/ParticipateInDesigningTheNextVersionOfVisualStudio.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,fbb134ec-8e09-4c09-a066-7d9ee5cfe29c.aspx</id>
    <published>2008-03-27T11:34:06.483-07:00</published>
    <updated>2008-03-27T11:34:43.0615176-07:00</updated>
    <category term="Team System" label="Team System" scheme="http://www.develop-one.net/blog/CategoryView,category,Team%2BSystem.aspx" />
    <content type="html">&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
&lt;font face=Calibri color=#000000 size=3&gt;I've blogged &lt;a href="http://www.develop-one.net/blog/2008/02/27/VisualStudioTeamSystemRosario.aspx"&gt;before&lt;/a&gt; about
the availability of design specs on the next version of Visual Studio Team System.
Well, another group of Rosario specs have been recently published on the &lt;/font&gt;&lt;a href="http://msdn2.microsoft.com/en-us/teamsystem/bb936702.aspx"&gt;&lt;font face=Calibri color=#0000ff size=3&gt;Rosario
Specs website&lt;/font&gt;&lt;/a&gt;&lt;font face=Calibri color=#000000 size=3&gt;:&lt;/font&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;
&lt;o:p&gt;
&lt;font face=Calibri color=#000000 size=3&gt;&amp;nbsp;&lt;/font&gt;
&lt;/o:p&gt;
&lt;/p&gt;
&lt;p class=MsoListParagraph style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"&gt;
&lt;font color=#000000&gt;&lt;span style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;span style="mso-list: Ignore"&gt;&lt;font size=3&gt;·&lt;/font&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face=Calibri size=3&gt;TFS
Bug Submission Portal&lt;/font&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class=MsoListParagraph style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"&gt;
&lt;font color=#000000&gt;&lt;span style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;span style="mso-list: Ignore"&gt;&lt;font size=3&gt;·&lt;/font&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face=Calibri size=3&gt;Send
Mail from TFS&lt;/font&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class=MsoListParagraph style="MARGIN: 0in 0in 0pt 0.5in; TEXT-INDENT: -0.25in; mso-list: l0 level1 lfo1"&gt;
&lt;font color=#000000&gt;&lt;span style="FONT-FAMILY: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol"&gt;&lt;span style="mso-list: Ignore"&gt;&lt;font size=3&gt;·&lt;/font&gt;&lt;span style="FONT: 7pt 'Times New Roman'"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;font face=Calibri size=3&gt;Work
Item Tracking Linking&lt;/font&gt;&lt;/font&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
&lt;o:p&gt;
&lt;font face=Calibri color=#000000 size=3&gt;&amp;nbsp;&lt;/font&gt;
&lt;/o:p&gt;
&lt;o:p&gt;
&lt;font face=Calibri color=#000000 size=3&gt;&amp;nbsp;&lt;/font&gt;
&lt;/o:p&gt;
&lt;/p&gt;
&lt;p class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;
&lt;font face=Calibri color=#000000 size=3&gt;If you feel like participating visit the &lt;/font&gt;&lt;a href="http://forums.microsoft.com/MSDNWorkShop/ShowForum.aspx?ForumID=1981&amp;amp;SiteID=64"&gt;&lt;font face=Calibri color=#0000ff size=3&gt;spec
discussion forum&lt;/font&gt;&lt;/a&gt;.
&lt;/p&gt;</content>
  </entry>
  <entry>
    <title>Learning C# 3.0</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/03/27/LearningC30.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,184b0afe-133d-4c41-a9c1-6779d4c0015d.aspx</id>
    <published>2008-03-27T10:34:28.4758844-07:00</published>
    <updated>2008-03-27T10:34:28.4758844-07:00</updated>
    <category term="C#" label="C#" scheme="http://www.develop-one.net/blog/CategoryView,category,C%23.aspx" />
    <category term="LINQ" label="LINQ" scheme="http://www.develop-one.net/blog/CategoryView,category,LINQ.aspx" />
    <content type="html">&lt;p&gt;
Since I was looking at books today anyway I thought I'd research what is available
C# 3.0, I haven't read any of these yet, but check them out:
&lt;/p&gt;
&lt;object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab" id="Player_6643d773-affb-4a1e-a44d-650a586b3bdf" width="500px" height="175px"&gt;
&lt;param name="movie" value="http://ws.amazon.com/widgets/q?ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fdevelone-20%2F8003%2F6643d773-affb-4a1e-a44d-650a586b3bdf&amp;Operation=GetDisplayTemplate"&gt;
&lt;param name="quality" value="high"&gt;
&lt;param name="bgcolor" value="#FFFFFF"&gt;
&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://ws.amazon.com/widgets/q?ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fdevelone-20%2F8003%2F6643d773-affb-4a1e-a44d-650a586b3bdf&amp;Operation=GetDisplayTemplate" id="Player_6643d773-affb-4a1e-a44d-650a586b3bdf" quality="high" bgcolor="#ffffff" name="Player_6643d773-affb-4a1e-a44d-650a586b3bdf" allowscriptaccess="always" type="application/x-shockwave-flash" align="middle" height="175px" width="500px" /&gt; 
&lt;/object&gt;
&lt;noscript&gt;
&lt;a href="http://ws.amazon.com/widgets/q?ServiceVersion=20070822&amp;MarketPlace=US&amp;ID=V20070822%2FUS%2Fdevelone-20%2F8003%2F6643d773-affb-4a1e-a44d-650a586b3bdf&amp;Operation=NoScript"&gt;Amazon.com
Widgets&lt;/a&gt;
&lt;/noscript&gt;</content>
  </entry>
  <entry>
    <title>Learning WCF</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/03/27/LearningWCF.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,66793cba-962b-439d-aa1b-d5191cc554ce.aspx</id>
    <published>2008-03-27T08:40:50.0416217-07:00</published>
    <updated>2008-03-27T08:40:50.0416217-07:00</updated>
    <category term="WCF" label="WCF" scheme="http://www.develop-one.net/blog/CategoryView,category,WCF.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
A friend of mine asked me about what book I'd recommend for learning Windows Communication
Foundation.
</p>
        <p>
I've read 'Learning WCF' from Michele Leroux Bustamante and think it's great and I
still use it as reference material.
</p>
        <iframe style="WIDTH: 120px; HEIGHT: 240px" marginwidth="0" marginheight="0" src="http://rcm.amazon.com/e/cm?t=develone-20&amp;o=1&amp;p=8&amp;l=as1&amp;asins=0596101627&amp;fc1=000000&amp;IS2=1&amp;lt1=_blank&amp;lc1=0000FF&amp;bc1=000000&amp;bg1=FFFFFF&amp;f=ifr" frameborder="0" scrolling="no">
        </iframe>
      </div>
    </content>
  </entry>
  <entry>
    <title>Presenting at Code Camp 9</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/03/26/PresentingAtCodeCamp9.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,532254d0-4527-4378-bd89-f5ebfd6e759d.aspx</id>
    <published>2008-03-26T10:16:51.4199949-07:00</published>
    <updated>2008-03-26T10:16:51.4199949-07:00</updated>
    <category term="General" label="General" scheme="http://www.develop-one.net/blog/CategoryView,category,General.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
The Boston Code Camp 9 "I Came, I Saw, I Coded" will be held on April 5th and 6th
at Microsoft New England District: 201 Jones Rd, 6th Floor, Waltham MA USA.
</p>
        <p>
There are over 50 sessions planned (<a href="http://www.thedevcommunity.org/Events/PresentationList.aspx?id=6">http://www.thedevcommunity.org/Events/PresentationList.aspx?id=6</a>)
and I will be presenting on two topics:
</p>
        <p>
          <strong>Building a State Machine Workflow<br /></strong>Workflow Foundation offers 2 types of workflows, sequential and state machine.
This presentation walks through the process of building an application using a State
Machine workflow, including state design, state transitions, data exchange services
and handling external events. 
</p>
        <p>
          <strong>Building applications with logic<br /></strong>This session presents a view on how datasets and business logic can be organized
to build a working application. 
<br />
Use basic architectural patterns to enable team development and improve maintainability
of your sources. 
</p>
        <p>
Hope to see you there!
</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Join us for a Geek Lunch - Introduction to LINQ &amp; Language Improvements in C# 3.0/VB 9</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/03/24/JoinUsForAGeekLunchIntroductionToLINQLanguageImprovementsInC30VB9.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,852f1b64-3ec2-4464-a0f0-830f370459c9.aspx</id>
    <published>2008-03-24T09:52:01.257-07:00</published>
    <updated>2008-03-24T09:52:26.6486425-07:00</updated>
    <category term="C#" label="C#" scheme="http://www.develop-one.net/blog/CategoryView,category,C%23.aspx" />
    <category term="General" label="General" scheme="http://www.develop-one.net/blog/CategoryView,category,General.aspx" />
    <category term="LINQ" label="LINQ" scheme="http://www.develop-one.net/blog/CategoryView,category,LINQ.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
The 22nd of April the <a href="http://www.maine-devnet.org">Maine Developer Network</a> is
organizing a Geek Lunch. We'll be meeting at the State of Maine offices in Augusta
to listen to <a href="http://blogs.msdn.com/cbowen/">Chris Bowen</a> present on LINQ
&amp; Language Improvements in C# 3.0/VB 9.
</p>
        <p>
Pizza will be provided and attendance is free and open for everyone!
</p>
        <p>
More info and RSVP <a href="http://www.maine-devnet.org/Home/">here</a>.
</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Developing Vista Gadgets with Visual Studio 2008</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/03/16/DevelopingVistaGadgetsWithVisualStudio2008.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,731410be-03ae-45ce-9e25-4a093064d7a4.aspx</id>
    <published>2008-03-16T08:39:07.3752121-07:00</published>
    <updated>2008-03-16T08:39:07.3752121-07:00</updated>
    <category term="AOL" label="AOL" scheme="http://www.develop-one.net/blog/CategoryView,category,AOL.aspx" />
    <category term="Vista" label="Vista" scheme="http://www.develop-one.net/blog/CategoryView,category,Vista.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
My article for the Software Developer Network Magazine has been printed in the magazine.
If you don't receive the magazine you can read the article <a href="http://www.sdn.nl/Display.aspx?id=2612&amp;key=208955064">here</a>.
</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Cardspace - One ID to rule them all?</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/03/06/CardspaceOneIDToRuleThemAll.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,9fb89752-25a6-41e0-a43a-f0d5752278b0.aspx</id>
    <published>2008-03-05T22:49:26.67-08:00</published>
    <updated>2008-03-05T22:51:03.4780704-08:00</updated>
    <category term="Architecture" label="Architecture" scheme="http://www.develop-one.net/blog/CategoryView,category,Architecture.aspx" />
    <category term="General" label="General" scheme="http://www.develop-one.net/blog/CategoryView,category,General.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Slowly but surely more website are starting to support <a href="http://netfx3.com/content/WindowsCardspaceHome.aspx">CardSpace</a>.
I’ve recently <a href="http://dev.aol.com/blog/markdeveloper/CardSpaceAolOpenID">blogged</a> about
using Cardspace in conjunction with an OpenID from MyOpenID.com to log on to <a href="http://dev.aol.com/">http://dev.aol.com/</a>.
Just the other day I <a href="http://self-issued.info/?page_id=40">discovered</a> that
that my <a href="http://www.discountasp.net/">hosting provider</a> has started a beta
program allowing me to sign on to my website’s control panel using CardSpace. Never
one to shy away from a beta program I gave it a swirl. 
</p>
        <p>
After logging in to the website using my regular username/password I proceeded to
my account page. Here a new button has been added ‘Bind card to account’, after clicking
the button the CardSpace cardselector on my Vista machine opened up and I was allowed
to select a card. Press OK and all was good. Time for a little test. Log out of the
website. Then go back to the logon page and now instead of using my username/password
I can use my CardSpace card to logon. And sure enough it worked!
</p>
        <p>
Next came the real test. Since I also have DiscountASP hosting the website for our
user group (<a href="http://www.maine-devnet.org/">Maine Developer Network</a>) I
tried to logon to this account using my CardSpace card. While doing so I discovered
that this did not work. I could not bind the same card to two different accounts.
I had to dive in a little deeper, but soon discovered this not to be a limitation
of CardSpace, but rather, the website does not support multiple accounts to one card. 
<br />
The way to solve this would be to implement an account selector which would become
available after logging using the CardSpace card. The same would be true if DiscountASP
would support OpenID. Then one ID would have to be attached to multiple accounts.
</p>
        <p>
Moral of the story: We’re a long way away from the ‘one ID to rule them all’. There
is more to it than replacing your username/password validation with an OpenID or CardSpace
control. You will have to reconsider the relationship between user accounts and your
customer.
</p>
        <p>
        </p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Silverlight 2.0 beta 1 - DataGrid</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/03/06/Silverlight20Beta1DataGrid.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,93209699-0615-4d5d-b353-7fd3f4c01788.aspx</id>
    <published>2008-03-05T22:25:44.0827765-08:00</published>
    <updated>2008-03-05T22:25:44.0827765-08:00</updated>
    <category term="Silverlight" label="Silverlight" scheme="http://www.develop-one.net/blog/CategoryView,category,Silverlight.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <a href="http://silverlight.net/">Silverlight 2.0 beta 1</a> is offering a DataGrid
out of the box. Kathy Kam has a a <a href="http://silverlight.net/Samples/2b1/SilverlightControls/run/default.html">great
sample app</a> showing off all the controls in Silverlight and providing you with
a view of the underlying XAML.
</p>
        <p>
Haven't installed Silverlight 2.0 yet? It'll install automatically, but you will have
to restart the browser (at least, I had to).
</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Visual Studio Team System "Rosario"</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/02/27/VisualStudioTeamSystemRosario.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,1b74a450-2c16-4d56-a8d1-205d5b0ba059.aspx</id>
    <published>2008-02-27T05:48:51.69-08:00</published>
    <updated>2008-02-27T05:49:18.800287-08:00</updated>
    <category term="Team System" label="Team System" scheme="http://www.develop-one.net/blog/CategoryView,category,Team%2BSystem.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
The next version of Visual Studio Team System and Team Foundation Server is codenamed
"Rosario". No formal release date has been made public yet, but if you want to see
and participate in upcoming features, then check out the spec-share page on MSDN: <a href="http://msdn2.microsoft.com/en-us/vstudio/bb936702.aspx">http://msdn2.microsoft.com/en-us/vstudio/bb936702.aspx</a>.
</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Maine Developer Network</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/02/27/MaineDeveloperNetwork.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,ec483475-2127-4206-b847-6f1d7d62c5ce.aspx</id>
    <published>2008-02-27T05:40:49.0001493-08:00</published>
    <updated>2008-02-27T05:40:49.0001493-08:00</updated>
    <category term="General" label="General" scheme="http://www.develop-one.net/blog/CategoryView,category,General.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
Just a quick reminder to all who haven't RSVP-ed yet: the <a href="http://www.maine-devnet.org">Maine
Developer Network</a> user group meeting this Friday is still on.
</p>
        <p>
The weather forecast for Friday looks good. So hope to see you all there!
</p>
        <p>
          <strong>Topic</strong>
          <br />
An introduction to Unit Test, Test-Driven Development and Mock Objects As software
development projects grow over the course of months and years, it can be increasingly
difficult to manage quality and consistency. With the help of Visual Studio 2005,
Test-Driven Development (TDD) can be used with very little effort to insure constant,
high-quality code is written during the lifetime of your projects. In addition, you'll
see how to create and use mock objects to logically separate development efforts on
different tiers of your application to prevent blocking issues. 
</p>
        <p>
          <strong>Speaker</strong>
          <br />
Speaker will be <a href="http://russology.com/">Russ Nemhauser</a>. 
<br />
Russ Nemhauser is a Microsoft ASP.NET MVP and a Microsoft Certified Professional,
and has served as an Architect, Developer, Team Leader, and Project Manager over the
past several years. His projects have included enterprise applications, online commerce
sites, and corporate intranets for Wall Street, Universal Studios, Microsoft, Seagram,
and others. Russ actively participates in the development community, speaking at several
conferences and user groups each year. He also writes for several technical magazines
and industry web sites. 
</p>
      </div>
    </content>
  </entry>
  <entry>
    <title>Expedition 2008</title>
    <link rel="alternate" type="text/html" href="http://www.develop-one.net/blog/2008/02/26/Expedition2008.aspx" />
    <id>http://www.develop-one.net/blog/PermaLink,guid,578a9349-ad48-488c-acdc-e75004e7e8d3.aspx</id>
    <published>2008-02-26T07:36:35.0879041-08:00</published>
    <updated>2008-02-26T07:36:35.0879041-08:00</updated>
    <category term="General" label="General" scheme="http://www.develop-one.net/blog/CategoryView,category,General.aspx" />
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>
On Friday the 28th of March 2008 the Software Developer Network in the Netherlands
will host the 'Expedition 2008' Software Developer Event.
</p>
        <p>
Below is an overview of the sessions. For more information and registration go to: <a href="http://www.sdn.nl/Default.aspx?tabid=280">http://www.sdn.nl/Default.aspx?tabid=280</a></p>
        <h3>Sessions
</h3>
        <p>
          <table cellspacing="1" cellpadding="2" width="810" bgcolor="#000000">
            <tbody>
              <tr>
                <td valign="center" align="left" width="2%" bgcolor="#ffffff">
                  <font size="1">
                  </font>
                </td>
                <td valign="center" align="left" width="14%" bgcolor="#00ffff">
                  <p align="center">
                    <strong>
                      <font size="1">C#</font>
                    </strong>
                  </p>
                </td>
                <td valign="center" align="left" width="14%" bgcolor="#0000ff">
                  <div align="center">
                    <strong>
                      <font color="#ffffff" size="1">Visual Basic.Net</font>
                    </strong>
                  </div>
                </td>
                <td valign="center" align="left" width="14%" bgcolor="#9999ff">
                  <div align="center">
                    <strong>
                      <font color="#ffffff" size="1">DotNetNuke</font>
                    </strong>
                  </div>
                </td>
                <td valign="center" align="left" width="14%" bgcolor="#ff0000">
                  <div align="center">
                    <strong>
                      <font color="#ffffff" size="1">Delphi</font>
                    </strong>
                  </div>
                </td>
                <td valign="center" align="left" width="14%" bgcolor="#99ffcc">
                  <div align="center">
                    <strong>
                      <font color="#000000" size="1">Inform. Worker</font>
                    </strong>
                  </div>
                </td>
                <td valign="center" align="left" width="14%" bgcolor="#669900">
                  <div align="center">
                    <strong>
                      <font size="1">FoxPro<br />
VO/Vulcan</font>
                    </strong>
                  </div>
                </td>
                <td valign="center" align="left" width="14%" bgcolor="#ffff00">
                  <div align="center">
                    <strong>
                      <font color="#000000" size="1">VS2008 launch</font>
                    </strong>
                  </div>
                </td>
              </tr>
              <tr>
                <td valign="top" align="left" width="2%" bgcolor="#ffffff">
                  <strong>
                    <font size="1">8:30 </font>
                  </strong>
                </td>
                <td align="middle" bgcolor="#cccccc" colspan="7">
                  <div align="center">
                    <font size="1">Registratie / Ontvangst </font>
                  </div>
                </td>
              </tr>
              <tr>
                <td valign="top" align="left" width="2%" bgcolor="#ffffff">
                  <strong>
                    <font size="1">9:00 </font>
                  </strong>
                </td>
                <td valign="top" align="middle" width="14%" bgcolor="#ffffff">
                  <p align="center">
                    <strong>
                      <font size="1">WPF Styles &amp; Templates</font>
                    </strong>
                  </p>
                  <p align="center">
                    <font size="1">Jo-wen Mei</font>
                  </p>
                </td>
                <td valign="top" align="middle" width="14%" bgcolor="#ffffff">
                  <p align="center">
                    <strong>
                      <font size="1">Workflow Foundation a la 2008</font>
                    </strong>
                  </p>
                  <p align="center">
                    <font size="1">Maurice de Beijer</font>
                  </p>
                </td>
                <td valign="top" align="middle" width="14%" bgcolor="#ffffff">
                  <p align="center">
                    <strong>
                      <font size="1">DotNetNuke - implementatie in de praktijk</font>
                    </strong>
                  </p>
                  <p align="center">
                    <font size="1">Stefan Kamphuis</font>
                  </p>
                </td>
                <td valign="top" align="middle" width="14%" bgcolor="#ffffff">
                  <div align="center">
                    <p align="center">
                      <strong>
                        <font size="1">Easily migrate Delphi apps to C/S with Advantage Database 9</font>
                      </strong>
                    </p>
                    <p align="center">
                      <font size="1">Joachim Dürr</font>
                    </p>
                  </div>
                </td>
                <td valign="top" align="middle" width="14%" bgcolor="#ffffff">
                  <p align="center">
                    <strong>
                      <font size="1">Microsoft CRM 4.0 Plug-In Architectuur</font>
                    </strong>
                  </p>
                  <p align="center">
                    <font size="1">Ralf van Gellekom &amp;<br />
 Martijn Muilwijk</font>
                  </p>
                </td>
                <td valign="top" align="middle" width="14%" bgcolor="#ffffff">
                  <p align="center">
                    <strong>
                      <font size="1">On the Dark Side of FoxPro (Part 1)</font>
                    </strong>
                  </p>
                  <p align="center">
                    <font size="1">Christof Wollenhaupt</font>
                  </p>
                </td>
                <td valign="top" align="middle" width="14%" bgcolor="#ffffff">
                  <p align="center">
                    <strong>
                      <font size="1">Visual Basic 2008 - What's new</font>
                    </strong>
                  </p>
                  <p align="center">
                    <font size="1">André Obelink</font>
                  </p>
                </td>
              </tr>
              <tr>
                <td valign="top" align="left" width="2%" bgcolor="#ffffff">
                  <strong>
                    <font size="1">10:15 </font>
                  </strong>
                </td>
                <td align="middle" bgcolor="#cccccc" colspan="7">
                  <div align="center">
                    <font size="1">Pauze - 30 min. </font>
                  </div>
                </td>
              </tr>
              <tr>
                <td valign="top" align="left" width="2%" bgcolor="#ffffff">
                  <strong>
                    <font size="1">10:45</font>
                  </strong>
                </td>
                <td valign="top" align="middle" width="14%" bgcolor="#ffffff">
                  <p align="center">
                    <strong>
                      <font size="1">Introduction Using LINQ programming model</font>
                    </strong>
                  </p>
                  <p align="center">
                    <font size="1">Marcel de Vries</font>
                  </p>
                </td>
                <td valign="top" align="middle" width="14%" bgcolor="#ffffff">
                  <p align="center">
                    <strong>
                      <font size="1">Ontwikkel Smart Client en Office toepassingen in Visual Studio
2008</font>
                    </strong>
                  </p>
                  <p align="center">
                    <font size="1">Maarten van Stam</font>
                  </p>
                </td>
                <td valign="top" align="middle" width="14%" bgcolor="#ffffff">
                  <p align="center">
                    <strong>
                      <font size="1">Enhance your modules using Token Replace</font>
                    </strong>
                  </p>
                  <p align="center">
                    <font size="1">Sebastian Leupold</font>
                  </p>
                </td>
                <td valign="top" align="middle" width="14%" bgcolor="#ffffff">
                  <div align="center">
                    <p align="center">
                      <strong>
                        <font size="1">Delphi Agile Techniques</font>
                      </strong>
                    </p>
                    <p align="center">
                      <font size="1">Pawel Glowacki</font>
                    </p>
                  </div>
                </td>
                <td valign="top" align="middle" width="14%" bgcolor="#ffffff">
                  <p align="center">
                    <strong>
                      <font size="1">Performance Management met Performance-Point Server</font>
                    </strong>
                  </p>
                  <p align="center">
                    <font size="1">Hans Geurtsen</font>
                  </p>
                </td>
                <td valign="top" align="middle" width="14%" bgcolor="#ffffff">
                  <p align="center">
                    <strong>
                      <font size="1">On the Dark Side of FoxPro (Part 2)</font>
                    </strong>
                  </p>
                  <p align="center">
                    <font size="1">Christof Wollenhaupt</font>
                  </p>
                </td>
                <td valign="top" align="middle" width="14%" bgcolor="#ffffff">
                  <p align="center">
                    <font size="1">
                      <strong>What’s new in SQL Server 2008<br /><br /></strong>Peter ter Braake</font>
                  </p>
                </td>
              </tr>
              <tr>
                <td valign="top" align="left" width="2%" bgcolor="#ffffff">
                  <strong>
                    <font size="1">12:00 </font>
                  </strong>
                </td>
                <td align="middle" bgcolor="#cccccc" colspan="7">
                  <div align="center">
                    <font size="1">Lunch - 60 min. </font>
                  </div>
                </td>
              </tr>
              <tr>
                <td valign="top" align="left" width="2%" bgcolor="#ffffff">
                  <strong>
                    <font size="1">13:00</font>
                  </strong>
                </td>
                <td valign="top" align="middle" width="14%" bgcolor="#ffffff">
                  <p align="center">
                    <strong>
                      <font size="1">C# 3.0 en Rhino Mocks maken unit testen weer interessant!</font>
                    </strong>
                  </p>
                  <p align="center">
                    <font size="1">Dennis Doomen</font>
                  </p>
                </td>
                <td valign="top" align="middle" width="14%" bgcolor="#ffffff">
                  <p align="center">
                    <strong>
                      <font size="1">ASP.NET 3.5 Extensions</font>
                    </strong>
                  </p>
                  <p align="center">
                    <font size="1">Thomas Huijer</font>
                  </p>
                </td>
                <td valign="top" align="middle" width="14%" bgcolor="#ffffff">
                  <p align="center">
                    <strong>
                      <font size="1">DotNetNuke 5: New Features</font>
                    </strong>
                  </p>
                  <p align="center">
                    <font size="1">Sebastian Leupold</font>
                  </p>
                </td>
                <td valign="top" align="middle" width="14%" bgcolor="#ffffff">
                  <div align="center">
                    <p align="center">
                      <strong>
                        <font size="1">Samenwerking Win32 en .NET met Delphi en Hydra 3</font>
                      </strong>
                    </p>
                    <p align="center">
                      <font size="1">Bob Swart</font>
                    </p>
                  </div>
                </td>
                <td valign="top" align="middle" width="14%" bgcolor="#ffffff">
                  <p align="center">
                    <strong>
                      <font size="1">SQL server 2008: What's hot?</font>
                    </strong>
                  </p>
                  <p align="center">
                    <font size="1">Donald Hessing &amp;<br />
 Reinhard Brongers</font>
                  </p>
                </td>
                <td valign="top" align="middle" width="14%" bgcolor="#ffffff">
                  <p align="center">
                    <strong>
                      <font size="1">Werken met relationele databases in .Net en Vulcan.Net</font>
                    </strong>
                  </p>
                  <p align="center">
                    <font size="1">Bert Dingemans</font>
                  </p>
                </td>
                <td valign="top" align="middle" width="14%" bgcolor="#ffffff">
                  <p align="center">
                    <font size="1">
                      <strong>LINQ to SQL<br /><br /></strong>Anko Duizer</font>
                  </p>
                </td>
              </tr>
              <tr>
                <td valign="top" align="left" width="2%" bgcolor="#ffffff">
                  <strong>
                    <font size="1">14:15</font>
                  </strong>
                </td>
                <td align="middle" bgcolor="#cccccc" colspan="7">
                  <div align="center">
                    <font size="1">Pauze - 15 min. </font>
                  </div>
                </td>
              </tr>
              <tr>
                <td valign="top" align="left" width="2%" bgcolor="#ffffff">
                  <strong>
                    <font size="1">14:30</font>
                  </strong>
                </td>
                <td valign="top" align="middle" width="14%" bgcolor="#ffffff">
                  <p align="center">
                    <strong>
                      <font size="1">Domein Gedreven Programmeren met C# 3.0</font>
                    </strong>
                  </p>
                  <p align="center">
                    <font size="1">A. Boonzaaijer &amp;<br />
 P.J. vd Sande</font>
                  </p>
                </td>
                <td valign="top" align="middle" width="14%" bgcolor="#ffffff">
                  <p align="center">
                    <strong>
                      <font size="1">SQL Server 2008 - een eerste blik voor ontwikkelaars</font>
                    </strong>
                  </p>
                  <p align="center">
                    <font size="1">Hugo Kornelis</font>
                  </p>
                </td>
                <td valign="top" align="middle" width="14%" bgcolor="#ffffff">
                  <p align="center">
                    <strong>
                      <font size="1">Ask The Expert</font>
                    </strong>
                  </p>
                  <p align="center">
                    <font size="1">Leigh Pointer</font>
                  </p>
                </td>
                <td valign="top" align="middle" width="14%" bgcolor="#ffffff">
                  <div align="center">
                    <p align="center">
                      <strong>
                        <font size="1">Gebruik je Delphi kennis XPlatform</font>
                      </strong>
                    </p>
                    <p align="center">
                      <font size="1">Thaddy de Koning</font>
                    </p>
                  </div>
                </td>
                <td valign="top" align="middle" width="14%" bgcolor="#ffffff">
                  <p align="center">
                    <strong>
                      <font size="1">Building Internet Sites with MOSS 2007</font>
                    </strong>
                  </p>
                  <p align