Category Archives: c#

C# XML encoding woes

I have a simple XML document fragment with a euro symbol in it:
[code lang="xml"]
Lorem ipsˆum dolor sit amet,
[/code]
which I want to load into an XML document.
[code lang="cpp"]
System.Xml.XmlDocument doc=new System.Xml.XmlDocument();
doc.LoadXml(xml);
[/code]
I then output the XML of that doc to see that all is well – alas it is not, It has decided to re-enocde my beautiful numeric [...]

Dev crazy

In an attempt to vary the type of programming I am doing, out of office I have been working on quite a few cool projects. Outlined a few below – unfortunately none are for download yet as they are still in progress.

KarovaDev Firefox extension
As Karova’s main product is a hosted e-commerce solution, we naturally have [...]

IIS wants it’s 80 back

Once again microsoft succeed in completely baffling me with a non sensical error message – “Unexpected Error 0×8ffe2740 Occurred”.

What it really meant to say was that IIS is not able start on port 80 so sort it out, the reason for this was Skype (As I have seen before).

ASPX craziness

There I was hammering away, well in the zone writing a pretty beefy login system in C# when all of a sudden all the pages stopped working. I was running the application on my own machine so I tried to debug by setting a breakpoint and attaching the aspnet worker process. Nope just output [...]