slow soaphttpclientprotocol constructor
i'm doing experiments microsoft dynamics crm. correlate by web services i have total web anxiety project. web use interface unequivocally rich, generated "reference.cs" 90k loc.
i'm controlling web anxiety console application. i mostly change something, recompile run. gathering fast, nonetheless newing adult web use anxiety unequivocally slow, holding 15-20 seconds:
crmservice use = new crmservice();
profiling reveals spent soaphttpclientprotocol constructor.
the law-breaker apparently fact xml serialization formula (not enclosed 90k loc mentioned above) generated during run time, before being jit'ed. happens during constructor call. wait rather frustrating enactment around perplexing things out.
i've attempted several combinations sgen.exe, ngen xgenplus (which takes several hours generates 500mb additional code) nonetheless avail. i've deliberate implementing windows use have few crmservice instances prepared plate out indispensable nonetheless seems excessive.
any ideas?
Comments
Post a Comment