XML, XSD.exe, C# and WCF Data Contracts
Blog Date:
Thursday, May 1, 2008
I'm liking more and more XMLSpy. I still like reading plain XSD a lot just because I have been working with XML for so long. It's kind of like with web pages. I have been creating web sites for so long, that I would rather look at the underlying HTML than some IDE that dumbs it down from me and hides the meat (formatting, etc).
I have been playing a lot with XSD.exe which comes with Visual Studio. And even though I am using the one provided by Visual Studio 2008, it's a shame it doesn't crank out .NET 3.5 code.
I tried using the svcutil.exe, but when specifying a dataContractSerializer, it was too picky on what constructs are alllowed in data contracts. I just wanted the code! And the xmlSerializer didn't understand many of the XSD constructs at all!
But, I have become very comfortable with XSD. However, I am analyzing it more in the sense of a developer. I have been doing object-oriented programming for so many years, that my opinions are partially swayed by the serialized classes it creates, but also OOP basic concepts of re-usability.
5/1/2008 6:24:19 PM