I’ve been working through the NHibernate with ASP.NET ProblemDesignSolution (Wrox Blox), with some small changes. I’m writing my sample in C# using the .Net framework 3.5. I prefer to use auto-properties. It’s common that fields have private setters and only nhibernate can map using the backing field (set via reflection). public String City { get; [...]
Archives for XML
Integrating Internet Services on Your Site (Or Mini-Cloud Web Sites)
Something I’ve been increasingly fascinated with over the last year is the reuse of free internet services that I have. On my site, I have widgets that feed the last 4 posts from this wordpress blog, and my twitter feed. I also have an ajax live bing search box that will return results from my [...]
UTF-8 Encoding with XMLWriter and a Stringbuilder
You could waste a lot of time trying to figure out why an XMLWriter ignores the Encoding set on XMLWriterSettings that is passed into the XMLTextWriter.Create() function. Instead, read the following blog post and move along… http://devproj20.blogspot.com/2008/02/writing-xml-with-utf-8-encoding-using.html