BPINirvana

Saturday, September 17, 2005

Nasty Serializer Bugs

Ok one day, you design your schema working those multi dimention arrays thinking if it works in your orchs it shouldln't be a problem anywhere else.

the hard aquired experience is no, you gonna fall into a trap called serializer bugs :(

.NET serialization though the most powerful tool currently existing it has some heckups, one of them is the multi-dimention. on win 2000 box you will get "File/assembly not found and some random name" on win2003 you will get something like "can not generate XXX class", some wacky error telling you nothing.

the moral of the story:
- Keep your schemas simple
- Test them with Chris Sell's Serlization Compiler (www.SellsBrothers.com)
- Read http://msdn.microsoft.com/library/en-us/dnxmlnet/html/trblshtxsd.asp, and learn of it

happy 'schema design' ;)

Kal