Microsoft SDK

I went to install the most recent SDK on my development machine when I ran into this nugget on the install page.  Microsoft has 6 Billion in cash sitting around and they can cough up enough to make sure their SDKs don’t force a reinstall of VS2008?  The alternative does not include any of the speech SDK iteams.
<sigh>
 

WCF Editor

I am wrapping up studying for my WCF Upgrade exam – I completed all of the labs in Microsoft learning and I am now building some Hello World projects to focus on specific areas for the exam.  I ran into an interesting problem.  I created a new solution with some class libaries in it and 1 console project to be my hosting application.  I did not used the WCF templates.  When I added an App.config to the Console applciation and right clicked on it, the WCF editor did not show up.  The project already had a System.ServiceModel reference.  I wonder what you need to do to have this editor show up in a project?  A quick glance through my solution and a parallel WCF-template generated solution did not reveal anything.
 
In related news to the labs – lab 6654 does not work because of SQL Server security permissions, 6659 does not work because of SQL Server security permissions (which is ok because that is the exception you are supposed to raise anyway), and 6658 does not work out of the box because they did not define the binding as duplex.  This can be fixed by changing the binding.
 
 

LINQ To SQL – Part 01

I started playing around with LINQ to SQL This AM.  I tried to enumerate all of the running processes on my machine using the following LINQ:
 

var

query =

from p in System.Diagnostics.Process

.GetProcesses()

select new

{p.SessionId.ToString(), p.ProcessName};

ObjectDumper.Write(query);

  

and I got the following error:
Invalid anonymous type member declarator. Anonymous type members must be declared with a member assignment, simple name or member access.
An anonymous type must be declared with a member assignment, simple name, or member access.

Apparently, you need to have real variable names for each property you create (note the bold):

 

select

 new {sessionId = p.SessionId.ToString(), p.ProcessName};

Did the trick