kzu on XSD-based code generation on MSDN

XML MVP and avid bath-reader Daniel Cazzulino has written a cool article on the MSDN about customizing generated code by manipulating CodeDom object graphs when creating a “custom class” from an XML Schema (these object graphs are generated by the same framework classes that are used by xsd.exe when you give it the /classes command line switch). If this sounds somewhat similar to the CodeDom object graph manipulations that I was doing in my recent typed dataset sample then it should. I based some of my CodeDom manipulation code on stuff that Daniel posted a while ago. Unfortunately I had to almost totally re-write it to work with the object graphs that are created when generating typed datasets, but it got me started in the right direction. It is cool to know that the framework developers had extensibility in mind when they created these tools.
Comments are closed

Recent Tweets

Twitter May 17, 05:39
Why use add/edit/delete in your doco when you can use append, amend and annul. #whatcouldgowrong

Twitter May 15, 15:25
From the dark heart of the enterprise comes biztalk.js

Twitter May 15, 15:21
http://t.co/eMfOSWJ5gH good story

Twitter May 14, 08:33
Digital certs issued by Bruce schneier aren't identified by digital thumb print, they're identified by digital bite marks. #4yearoldjoke

Twitter May 11, 13:04
2TB of new space provisioned....more VMs.

@josephcooney

Latest Tool - logEnvy

logEnvy is the latest tool I've been working on for searching, sorting and filtering windows and IIS logs, and it's sexy! For more info check it out here.