
By Sanda Borlea on November 12, 2009
As many other times, I came across this issue having to begin at the wrong end, i.e. having the result and in need of the problem. The samples and recommended procedures offer – as in most cases – only the simplest examples. The workaround is often tedious and in absence of feedback uncertain.
Posted in .NET | Tagged .net, c#, linq, sql |

By Sanda Borlea on October 29, 2009
This note refers to Visual Studio snippets and shows how you can easily add your own. Very useful when having to create many classes with lots of properties such snippets save a lot of time. They are usually to be found in the Visual Studio folder under My Documents (i.e. for VS 2008 : C:\Documents [...]
Posted in .NET | Tagged c#, snippets, visual studio, xml |

By Sanda Borlea on November 29, 2008
Recently needed some quick method to use objects generated from an existing xml file without bothering to create an xml schema for it. After a few attempts and searching for explanations why a simple task like this wouldn´t work, finally put the steps together:
Posted in .NET | Tagged .net, c#, xml |

By Armand Niculescu on January 18, 2007
MS SQL has the ability to retrieve data as XML by using the “FOR XML [RAW | AUTO [ELEMENTS] | EXPLICIT]” parameters, which is very useful especially when used in a web service that communicates with a Flash / Flex client as the results don’t have to be converted, but just output to the client. [...]
Posted in .NET | Tagged .net, c#, sql, xml |