Geeks With Blogs

Tim Murphy

Tim is a Solutions Architect for PSC Group, LLC. He has been an IT consultant since 1999 specializing in Microsoft technologies. Along with running the Chicago Information Technology Architects Group and speaking on Microsoft and architecture topics he was also contributing author on "The Definitive Guide to the Microsoft Enterprise Library".

I review for the O'Reilly Blogger Review Program

Technorati Profile

Tim Murphy's .NET Software Architecture Blog Adventures in Architecting and Developing .NET LINQ There are 10 entries for the tag LINQ
Local LINQtoSQL Database For Your Windows Phone 7 Application
There aren’t many applications that are of value without having some for of data store. In Windows Phone development we have a few options. You can store text directly to isolated storage. You can also use a number of third party libraries to create or mimic databases in isolated storage. With Mango we gained the ability to have a native .NET database approach which uses LINQ to SQL. In this article I will try to bring together the components needed to implement this last type of data store and fill ......

Posted On Thursday, September 6, 2012 12:35 PM

Twitter Search JSON Deserialization
In a previous post I talked about using the JSON to LINQ features of JSON.NET. Thanks to Bil Simser I was able to do some testing of the deserialization capabilities of this library. The key was his hint to leverage the json2csharp web site. Below is the C# representation of the search results for a Twitter query created by putting an example of the search result into this site. public class Url{ public string url { get; set; } public string expanded_url { get; set; } public string display_url { ......

Posted On Friday, January 13, 2012 12:28 PM

Using JSON.NET To Load Twitter Search Results In WP7
The main way that Twitter provides feeds is through JSON. Unfortunately the version of the .NET Framework that is on the phone does not include the System.Runtime.Serializatio... namespace. Rather than trying to brute force the JSON feed I have been looking into using the Newtonsoft JSON.NET library. The first thing that I ran into with JSON.NET is that the documentation is severely tilted to the serialization side with almost no mention of deserialization. This would have been my preferred approach ......

Posted On Wednesday, December 14, 2011 7:27 AM

Review: ComponentOne Studio for Entity Framework
While I have always been a fan of libraries that improve coding efficiency and reduce code redundancy I have mostly been using ones that were in the public domain. As part of the Geeks With Blogs Influencers program a got my hands on ComponentOne’s Studio for Entity Framework. Below are my thought after working with the product for several weeks. My coding preference has always been maintainable code that is reusable across an enterprises protfolio. Because of this my focus in reviewing this product ......

Posted On Wednesday, November 23, 2011 3:44 PM

Linq to SQL and Linq to SQL classes
While I have been using Linq to Object for a couple of years now I had not investigated Linq to SQL up to this point. I figured I would put together my take on this technology’s use. Linq is a wonderful syntax for navigating an object graph without having to walk the graph object by object and member by member. It is concise and compact but for someone who has never seen its syntax you would swear you went from reading English to obscure mathematic notation. If you want to learn about the general ......

Posted On Sunday, March 27, 2011 3:13 PM

Update Since Microsoft/PSC Office Open XML Case Study
In 2009 Microsoft released a case study about a project that we had done using the OOXML SDK 1.0 for Research Directors Inc. Since that time Microsoft has released version 2.0 of the SDK and PSC has done significant development with it. Below are some of the mile stones we have reached since the original case study. At the time of the original case study two report types had been automated to output as PowerPoint presentations. Now that the all the main products have been delivered we have added ......

Posted On Wednesday, December 15, 2010 4:30 PM

Copying A Slide From One Presentation To Another
There are many ways to generate a PowerPoint presentation using Open XML. The first way is to build it by hand strictly using the SDK. Alternately you can modify a copy of a base presentation in place. The third approach to generate a presentation is to build a new presentation from the parts of an existing presentation by copying slides as needed. This post will focus on the third option. In order to make this solution a little more elegant I am going to create a VSTO add-in as I did in my previous ......

Posted On Saturday, March 20, 2010 9:31 AM

Searching For Content Controls In Office 2007 With OOXML SDK2
As far as I have seen content controls in Office 2007 render to either a SdtRun or SdtBlock object. The nice thing is that both of these inherit from SdtElement. This allows you to take the query from my earlier post and replace SdtBlock with SdtElement and now you have a universal retrieval. Of course as with any tool you need to be careful you don’t take it too far. Depending on the structure of you document this may not do what you need. Technorati Tags: office Open XML,OOXML,LINQ,.NET ......

Posted On Friday, November 6, 2009 11:14 AM

Retrieving A List of SdtBlocks for A Tag Value Using LINQ
If you are using a template document and replacing text programmatically using the Office Open XML SDK 2 API you will need a way to identify the target to be replaced. One option is to use a Content Control and setting the tag value the same for all of the controls that need to be substituted with a single value. After some trial and error and a lot of digging through the DocumentReflector I came up with the following LINQ query to get a list of all blocks with the same tag name. var blocks = from ......

Posted On Thursday, November 5, 2009 6:45 AM

First Impressions of VS2008 Beta 2
I decided to take the time to download the latest beta of Visual Studio. Below are my impressions from initial usage. This mainly means I opened the environment and played a little. The first thing that you notice is that the IDE looks essentially the same as it did for VS2005. When you create a new project you will notice that there are now options for WPF, WCF, WF and AJAX projects. Seeing as I spend most of my time in web applications I figured that would be a good place to start. It is good to ......

Posted On Monday, July 30, 2007 10:37 PM

Copyright © Tim Murphy | Powered by: | Join free