Sign In
MSDN Blogs
Microsoft Blog Images
More ...
Microsoft Office 2010 Engineering
The official blog of the Microsoft Office product development group
Advanced search options...
Search In:
Everything
Blogs
Forums
People
Groups
Places
Pages
Date range:
All Time
Last Year
Last 6 Months
Last 3 Months
Last Month
Last Week
Last Two Days
Common Tasks
Blog Home
Email Blog Author
Subscribe via RSS
RSS for posts
Recent Posts
Leaving Microsoft, Blog Moving to EricWhite.com
Posted
over 1 year ago
by
Eric White - Independant Consultant
8
Comments
Using the OData Rest API for CRUD Operations on a SharePoint List
Posted
over 2 years ago
by
Eric White - Independant Consultant
1
Comments
Comparing Excel Automation to Excel Services
Posted
over 2 years ago
by
Eric White - Independant Consultant
0
Comments
Microsoft Word 2010 Developer Building Blocks
Posted
over 2 years ago
by
Eric White - Independant Consultant
3
Comments
How to Install and Activate the IW Demo/Evaluation Hyper-V Machine
Posted
over 2 years ago
by
Eric White - Independant Consultant
1
Comments
Tags
BCS
Book Recommendations
C#
Claims-based Identity
FP Tutorial
FP-Tutorial-VB
Functional Programming
LINQ
LINQ to XML
Managed Add-In
News
OBA
Office
Office 2010
OpenXML
OpenXmlSdk
Pages
PowerTools
Recursive Descent Parser
SharePoint
SharePoint 2010
SpreadsheetML
Useful Code Snippets
VBA
XML
Microsoft Blogs
Articles
Tutorial in Functional Programming using C# 3.0
How to Write Queries in a Functional Style
Blog Map
Eric White's Blog Map
Tutorial in Functional Programming using VB 9.0
Archives
Archives
January 2011
(1)
December 2010
(9)
November 2010
(4)
October 2010
(1)
September 2010
(1)
August 2010
(1)
July 2010
(9)
June 2010
(8)
May 2010
(4)
April 2010
(7)
March 2010
(26)
February 2010
(7)
January 2010
(12)
December 2009
(11)
November 2009
(21)
October 2009
(6)
September 2009
(2)
August 2009
(3)
July 2009
(9)
June 2009
(3)
May 2009
(8)
April 2009
(10)
March 2009
(6)
February 2009
(9)
January 2009
(8)
December 2008
(11)
November 2008
(44)
October 2008
(22)
September 2008
(19)
August 2008
(11)
July 2008
(20)
June 2008
(13)
May 2008
(3)
April 2008
(20)
March 2008
(7)
February 2008
(3)
January 2008
(4)
December 2007
(20)
November 2007
(1)
October 2007
(1)
August 2007
(1)
July 2007
(1)
May 2007
(1)
April 2007
(3)
October 2006
(32)
September 2006
(5)
August 2006
(3)
May 2006
(3)
April 2006
(2)
Browse by Tags
MSDN Blogs
>
Eric White's Blog
>
All Tags
>
linq
Browse by Tags
C#
Dynamic Types
FP Tutorial
FP-Tutorial-VB
Functional Programming
LINQ to XML
OpenXML
OpenXmlSdk
Pages
PowerTools
Recursive Descent Parser
SharePoint
SharePoint 2010
SpreadsheetML
Useful Code Snippets
XML
Blog Post:
Leaving Microsoft, Blog Moving to EricWhite.com
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog Due to personal obligations (moving away from Seattle) it is with sadness that I’m announcing that I’m leaving Microsoft. My last day at Microsoft will be January 21. This will be the last post on this blog. I will be commencing...
on
19 Jan 2011
Blog Post:
Table Markup in Open XML SpreadsheetML
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog Tables are a feature in Open XML spreadsheets that allow you to interact with data more like a database. You can select a region and convert it to a table. Most Excel aficionados are familiar with this feature. It is very useful. ...
on
21 Jul 2010
Blog Post:
Recursive Descent Parser using LINQ: The Augmented Backus-Naur Form Grammar
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog A grammar is a device to define syntax for a language. A grammar is made up of rules, sometimes called productions. Each rule defines a symbol, when can then be further used in other rules. Grammars are not hard to understand; most developers...
on
6 Jul 2010
Blog Post:
Hex Dump using LINQ (in 7 Lines of Code)
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog At one point while debugging the HtmlConverter class , when I found certain situations in the XML, I wanted to dump the XML in binary to see the actual hex values of characters being used. I got tired of stopping and examining the values...
on
12 Mar 2010
Blog Post:
Ad-Hoc String Concatenation using LINQ
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog I regularly use functional programming and LINQ in two contexts – when writing code that is part of an example or tool that will potentially execute millions of times, and when writing ad-hoc queries. These days, I use C# and LINQ...
on
10 Mar 2010
Blog Post:
Convert XDocument to XmlDocument (and Convert XmlDocument to XDocument)
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog Some time ago, I blogged about an approach for converting an XElement object to an XmlNode object , and vice versa. This is useful when you want to use a programming interface that takes and returns objects of type XmlNode, but you want...
on
5 Mar 2010
Blog Post:
Rollup Extension Method: Create Running Totals using LINQ to Objects
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog Recently, I had need for a new extension method for IEnumerable<T>, which I call "Rollup". This extension method is sort of a cross between the Select and Aggregate extension methods. Like Select, when using this extension method...
on
15 Feb 2010
Blog Post:
Writing Entity References using LINQ to XML
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog This is one in a series of posts on transforming Open XML WordprocessingML to XHtml. You can find the complete list of posts here . I need to write out some XHtml, and in several places, I want that XHtml to contain entities references...
on
21 Jan 2010
Blog Post:
DescendantsAndSelfTrimmed LINQ to XML Axis Method
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog There are some circumstances where I need a variation on the DescendantsAndSelf axis method that allows me to specify that specific elements (and the descendants of those elements) are ‘trimmed’ from the returned collection...
on
19 Aug 2009
Blog Post:
Merging Comments from Multiple Open XML Documents into a Single Document
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog Microsoft Word 2007 allows you to lock a document, prohibiting users from making changes to content, while allowing them to add comments. If we have multiple documents that have the same content yet different comments, we can merge those...
on
27 Jul 2009
Blog Post:
Recursive Approach to Pure Functional Transformations of XML
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog Writing pure functional transformations a in a recursive style enables us to put together interesting transformations in a very small amount of code. Using some specific techniques that allow us to write this code very concisely, this...
on
20 Jul 2009
Blog Post:
Document-Centric Transforms using LINQ to XML
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog When thought of in a certain way, XML documents come in two flavors – data-centric and document-centric. Further, there are two types of document-centric documents. This post presents my thoughts about approaches to various types...
on
9 Jul 2009
Blog Post:
Empty Elements and Self-Closing Tags
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog Last January, I blogged about an approach to normalizing LINQ to XML trees . That post is based on another post, Manually Cloning LINQ to XML Trees . In those posts, my code to clone an element would clone a self-closing element (<Tag...
on
7 Jul 2009
Blog Post:
Comparing Two Open XML Documents using the Zip Extension Method
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog Sometimes we want to compare two word processing documents to see if they contain the same content. I’m working on a blog post to merge comments from multiple Open XML documents into a single document. This is based on a feature...
on
5 Jul 2009
Blog Post:
Querying LINQ to XML Nodes in Reverse Document Order with Better Performance
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog (Update June 25, 2009 - fixed bugs in event handlers associated with deleting last node and inserting node at beginning of list) Occasionally I need to query LINQ to XML nodes in reverse document order. I’m currently writing some...
on
24 Jun 2009
Blog Post:
Working with Optional Elements and Attributes in LINQ to XML Queries
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog Often XML schemas allow for optional elements and attributes. When you write queries on these elements or attributes, you may be tempted to write code that does lots of testing for null. There is a better way to do this, laid out in this...
on
13 May 2009
Blog Post:
Comparison of LINQ to XM and the Open XML SDK Strongly Typed OM
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog LINQ to XML code is highlighted in yellow . Open XML SDK strongly typed object model is highlighted in green . using System; using System.IO; using System.Linq; using System.Xml; using System.Xml.Linq; using DocumentFormat.OpenXml.Packaging;...
on
11 May 2009
Blog Post:
Comparison of Navigating Parts between System.IO.Packaging and the Open XML SDK
Eric White - Independant Consultant
Code highlighted in yellow shows navigating from the package to the main document part. Code highlighted in green shows navigating from the main document part to the styles part. using System; using System.Linq; using System.IO; using System.IO.Packaging; using System.Xml; using System...
on
11 May 2009
Blog Post:
The Use of Extension Methods to Manage Open XML Document Changes in PowerTools for Open XML
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog There is an interesting approach that we use in PowerTools for Open XML that makes it easy to write cmdlets that modify Open XML documents. This approach isn’t very complicated, but aspects of this approach need some explanation...
on
27 Apr 2009
Blog Post:
Using DocumentBuilder with Content Controls for Document Assembly
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog DocumentBuilder is an example class that’s part of the PowerTools for Open XML project that enables you to assemble new documents from existing documents. One of the problems to solve when moving markup from one document to another...
on
21 Apr 2009
Blog Post:
Why I Don’t Use the ForEach Extension Method
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog In my first version of my functional programming tutorial , I discussed a ForEach extension method, but I removed the topic from the second version. This extension method iterates through a source collection and performs an action on each...
on
8 Apr 2009
Blog Post:
Creating a Template Open XML Document in Memory
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog One of the most effective ways to generate Open XML documents, spreadsheets, or presentations is to start with a ‘template’ document and then modify the document. For instance, you can start with a blank word processing document...
on
28 Feb 2009
Blog Post:
Ease of Maintenance of LINQ Code (2)
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog In two previous posts , I developed a somewhat involved query to search through a word processing document for style names and/or paragraph content. This is a query that I’m developing for the PowerTools for Open XML project . In...
on
22 Feb 2009
Blog Post:
Computing Deep Hash Codes using LINQ to XML
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog In some scenarios, it is useful to compute a ‘deep’ hash code using LINQ to XML. If you are writing a server-side application that caches queries expressed in XML, then you may want to store these queries in a hash table. XNode...
on
21 Feb 2009
Blog Post:
Ease of Maintenance of LINQ Code
Eric White - Independant Consultant
[Blog Map] This blog is inactive. New blog: EricWhite.com/blog I believe that it is easier to maintain code that is written in the functional style. For one thing, this is the very reason for many of the characteristics of functional code. No state is maintained, so we don’t have to worry about...
on
20 Feb 2009
Page 1 of 4 (84 items)
1
2
3
4