Grab the opportunity! 21% off on FastReport and FastCube with your Ho Ho Holiday sale!
By Mauro Venturini.Freeware 23 Sep 2005
Description.NET XmlSerializer is a nice class: it can serialize and deserialize almost anything almost anyway, and the serialization is quite fast too. Unfortunately, no lunch is free: during the first constructor invocation for a target type XmlSerializer create and compiles a C# assembly with the serialization code tailored to the target type. That's a lot of overhead, both in memory and execution time, that happens every time your application runs. Microsoft recognised the problem and .NET 2.0 includes an utility (SGen) that executes offline steps 1, 2 and 3 and produces the serialization / deserialization assembly. But .NET 2.0 is not here yet and SGen is a not very friendly command line utility. Here comes XSGen that produces offline the serialization / deserialization assembly required for a given target type, works now with .NET 1.1 and integrates with the Delphi 2005 IDE to make the process as easy as possible.
- Status: Fully functional
- Source: None
- Size: 260kB