August 2008 - Posts
[Blog Map] Content controls are an effective way to add structure to word processing documents. You can write a very small LINQ query to retrieve the contents of content controls. This topic in Office Online provides more information on content controls.
Read More...
The Dynamics CRM duo are at it again. Ben Riga and Girish Raja have put together an interesting video in which they talk about integration of Office with Dynamics CRM and Office Live Small Business (based on SharePoint). Office Live Small Business is
Read More...
[Blog Map] Raw data for a LINQ query doesn’t always come in the form you want. Recently, I had some data like this: string [] source = new [] { "EW" , "Eric" , "8:00" , "DW" , "Dave" , "9:00" , "JA" , "Jim" , "8:00" }; You want to transform the above
Read More...
[Blog Map] You can use lambda expressions to write an event handler, even for classes that predate C# 3.0 and the latest version of the framework. This can shorten your code, and make it easier to read. For example, the code to validate an XML tree using
Read More...
[Blog Map] Sometimes you need to find the duplicates in a list. I’m currently developing a little utility that tests code in a word processing document (now posted, you can find it here ). Each code snippet in the document has an identifier, and one of
Read More...
When developing C# programs in the functional programming style, you often need to dump out a collection to the console. Object dumper is a great tool to use for this. It is a sample that far too few developers know about. A functional transform typically
Read More...
Two of my teammates, Girish Raja and Ben Riga, have recorded a cool 20 minute video where they talk about how Dynamics CRM integrates with SharePoint. They show a SharePoint List web part that pulls data from CRM, showing a list of CRM users and the hours
Read More...
Companies store mission critical information in SharePoint – this is the information that embodies the collective knowledge of a company. Prudent and responsible IT professionals will plan for the unexpected with a comprehensive disaster recovery plan.
Read More...
[Blog Map] Sometimes in the middle of a .NET application (either C# or VB) you want to run an executable and collect the output. This post presents a simple function (RunExecutable) that makes it easy to do this. I write a lot of documents that contain
Read More...
Antonio Zamora has posted an interesting article on using PowerTools for Open XML in a workflow using Windows Workflow Foundation (WF). We're seeing quite a few people who are using PowerTools for Open XML in a variety of scenarios. If you are using WF,
Read More...
[Blog Map] Just as soon as I learn something, I blog it. This has a potential pitfall – sometimes I blog something and then learn that my approach was incorrect. But I’m not too awfully proud – I just blog again and tell you my new lessons learned. Nearly
Read More...