-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a function which generates xml for a list object:
public XDocument ToXML()
{
foreach (var row in this)
{
var xml = row.ToXml();
template.Root.Add(xml);
}
return template;
}
The template.ToString() reads: <RootElement xmlns="urn:testTools">
The xml reads:…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a result of a xlinq that is an enumerable with id and phones, I want to transform that to a Dictionary, that part is simple, however the part of transforming the phone numbers from a XElement to a string its proving hard
xLinqQuery.ToDictionary(e => e.id, e => e.phones.ToList());
will…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi folks,
i have a simple xml file in a wcf service that i am trying to load using Xelement.Load("sample.xml") which is not reading the file. What's the right way of doing this?
The service is supposed to return an xml to an asp.net application.
TIA
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I want to read a large xml file (100+M). Due to its size, I do not want to load it in memory using XElement. I am using linq-xml queries to parse and read it.
What's the best way to do it? Any example on combination of XPath or XmlReader with linq-xml/XElement?
Please help. Thanks.
>>> More
-
as seen on ASP.net Weblogs
- Search for 'ASP.net Weblogs'
This post will focus on some advanced programming topics concerned with IaaS (Infrastructure as a Service) which provided as windows azure virtual machine (with its related resources like virtual disk and virtual network), you know that windows azure started as PaaS cloud platform but regarding to…
>>> More