I'm running a Silverlight 4 application that has a WCF service reference to a service that has a lot of contracts involved.
I noticed that my startup performance was horrible so I profiled it and found that 7 seconds of time was spent generating serialization code on the first WCF call.
I know there is a way to improve startup time by using the XmlSerializer (explained here). This is done by generating the serialization code into a separate assembly ahead of time but I can't seem to figure out how to do this in Silverlight.
Has anyone done this before? Is it even possible? Any other ideas that might help are also welcome.
Thanks.