Category: .Net

Confucius On Programming

Confucius On Programming

One of the favorite classes that I took in college was an introductory course to Chinese philosophy. From time to time, I found one or two passages from The Analects that I could apply to my computer science major. One...

How Did I Miss This?!?

With the release of .NET 3.5 and Visual Studio 2008, Microsoft will also release selected bits of the .NET Framework source code!  With comments intact no less! To me, this is good news; very good news I mean, there are a...

Serializing Inheritance Chains With WCF

Serializing Inheritance Chains With WCF

During a recent code review, I noticed that a colleague was sending me service entities from his WCF service with flags for the data type.  This itself wasn’t so bothersome to me, but what did bother me was that the...

Working With SQL Server Compact Edition 2005

Working With SQL Server Compact Edition 2005

One interesting issue that I just solved involved how to specify the location of the database file for a SQL Server Compact Edition 2005 connection string in a .Net add-in for Microsoft Office. You see, when the add-in starts, it...

Normalizing And Denormalizing SharePoint Field Names

Normalizing And Denormalizing SharePoint Field Names

Frequently, when working with Office, SharePoint, and SharePoint web services, it is necessary to convert between the “normalized” (hex escaped string) version of a field name. To that end, I found a useful JavaScript tool for normalizing strings into SharePoint’s...

Tuesday Morning Thoughts

Tuesday Morning Thoughts

Some random stuff and some not so random stuff. First, the Oral-B CrossAction Vitalizer is possibly the best damn (non-electric) toothbrush ever made.  It’s comfy on the gums, it gets to the back teeth, and the handle is just right...

WCF Configuration Intellisense

WCF Configuration Intellisense

Hmm…I thought it was kind of odd that Visual Studio didn’t support intellisense for WCF configuration elements (but then again, I’ve kind of become intimately familiar with the core elements without having the schema). Turns out that you have to...

Enterprise Library vs. Log4Net

Enterprise Library vs. Log4Net

If there’s one thing that really irks me is allegiance for the sake of allegiance. Don’t get me wrong, I have nothing against Microsoft Enterprise Library and in fact, in absense of any better alternatives, EL is indeed the best...

SharePoint SoapServerException When Using Lists Service

SharePoint SoapServerException When Using Lists Service

When using the lists service to query the “User Information List” (the SharePoint list where the users and groups is located), you may encounter the exception: System.Web.Services.Protocols.SoapException:     Exception of type ‘Microsoft.SharePoint.SoapServer.SoapServerException’     was thrown.  at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(      SoapClientMessage message,       WebResponse...

Correlation Across Workflow Instances

Correlation Across Workflow Instances

One of the problems that I’ve been working on solving recently centered around correlation in workflows.  In simple terms, where a workflow may produce parallel execution paths, correlation allows the runtime to route events to the right workflow execution path....