Project DescriptionTool to generate a custom optimized CRM Web Service proxy dll complete with pregenerated XmlSerializer. Reduces CrmService instantiation (newing) to milliseconds.
http://www.shulerent.com/2011/05/26/coming-soon-dynamics-crm-4-0-optimized-web-service-generator/This tool consumes a CRM web service description - whether it be online or a downloaded wsdl file, and removes as many unnecessary entities / types as you prefer before compiling the proxy class and generating XmlSerializers. The necessary attributes are added to the proxy class to enforce the use of the pregenerated serializers, or optionally you can embed the serializers.
The size of the proxy code is reduced significantly. My last baseline test produced a Crm.dll of 55kb, and Crm.XmlSerializers.dll of 250kb. The real benefit? Creating a new CrmService in 0.12 seconds... instead of 7! Dramatic speed improvement initializing the CrmService.
Thre are quite a few options, and thre may be more to come - as I mentioned in the release notes, I haven't done much testing beyond my own use.
If you have visual studio 2010 installed, you should be all set. It Might work if you have visual studio 2008 so long as you have the full .net 4 framework installed. You may need to install certain portions of the windows sdk (to get sgen), and the path to sgen.exe is currently hard-coded to the default.