Wednesday, August 26, 2009

XML files to C# Classes, Serialization/De-serialization

It has been around 42 days since I have written a technical blog. I was given a pretty interesting application to develop in C# 2.0 and ASP.NET. You can call it a really tight timelines when you are given couple of PDF and XML samples of I/O for third party web services and told to develop a services' wrapper and consuming web based application with considerations of thousands of users simultaneously. Application itself hits couple of other legacy systems for data lookups & persistence.

As it seems, it wasn't a rocket science. Still the manual work/ coding was intensive. I would like to share partial technical intricacies involved in the below sections.


  1. Architectural Guidelines.
  2. Design Considerations.
  3. Creating XML Schema (.XSD) from XML files.
  4. Create C# Class file from XML Schema (.XSD).
  5. Corrections in the generated classes.
  6. Serialzation add-on to the generated classes.
  7. Object Oriented Design Concepts.
  8. Web Service generated proxy issues.
  9. Jungle of Javascript.
  10. Asynchronous Callbacks.
  11. Security Guidelines.

[I will complete it soon as soon as I get enough time....]

Followers