I\'m working on a compact framework application and need to boost performance. The app currently works offline by serializing objects to XML and storing them in a database.
Have you tried creating custom serialization classes for your classes? Instead of using XmlSerializer which is a general purpose serializer (it creates a bunch of classes at runtime). There's a tool for doing this (sgen). You run it during your build process and it generates a custom assembly that can be used in pace of XmlSerializer.
If you have Visual Studio, the option is available under the Build tab of your project's properties.