Dot Net Solutions
George V Place,
4 Thames Avenue
Windsor
Berkshire
SL4 1QP
Great Britain
0845 402 1752
GEO: -0.606174, 51.4843
 
 
 
 
09 Mar 2010

XmlElementAsDictionary: A very simple wrapper for LINQ to XML

Why? I've been forced into engaging with XML in all its gory details recently, as part of my AzureKit project (more on which in another post). Being a big fan of all things LINQ, I started out trying to use the LINQ-to-XML framework. I had problems. This is not a fault of the framework; as a fundamental part of the .NET Framework it must provide a way to achieve everything, and that's not the same as providing a way to do things simply. The REST API for Windows Azure uses a hybrid of t ... [Read more]
Published: 09 Mar 2010  04:00 | 0  Comments | 0  Links to this post
 
 
 
 
17 Feb 2010

Working with namespaces in LINQ to XML

I was working on an Azure utility with Johan on Friday, which had to deal with the XML responses provided by the Service Management REST API. XML like this: <HostedServices xmlns="http://schemas.microsoft.com/windowsazure" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <HostedService> <Url>https://management.core.windows.net/GUID/services/hostedservices/foo</Url> <ServiceName>foo</ServiceName> </HostedService></Host ... [Read more]
Published: 17 Feb 2010  09:11 | 1  Comment | 0  Links to this post