Hi,
I'm trying to reduce the start-up time of a browser deployed .NET application. The app uses webservices to login to our back-end server. The proxies are generated via the wsdl.exe tool.
The first time I instance the webservice proxy class it takes 3-4 seconds. What is .NET doing during this time?
The Visual Studio debug console reports the following line...
'TestDocumentEditorControl.exe': Loaded 'b8nfj03n', No symbols loaded.
Where 'b8nfj03n' is a random name.
It looks to me that an assembly is being dynamically compiled for each proxy class. Is this the case? If so, can I move this compilation into the build of my app? This would significantly improve start-up times.
Thanks
Chad Z. Hower aka Kudzu - 24 May 2005 11:06 GMT
> The first time I instance the webservice proxy class it takes 3-4
> seconds. What is .NET doing during this time?
Have you tried ngen?
> It looks to me that an assembly is being dynamically compiled for each
> proxy class. Is this the case? If so, can I move this compilation into
> the build of my app? This would significantly improve start-up times.
ngen.
--
Chad Z. Hower (a.k.a. Kudzu) - http://www.hower.org/Kudzu/
"Programming is an art form that fights back"
Blog: http://blogs.atozed.com/kudzu