XmlSerializers.dll and faster startup

O

Oleg.Ogurok

Hi there,

I have a small console app that makes a call to XML Webservices. The
app runs from a login script. Because of the web service call, it takes

about 15-20 seconds for the app to complete. Most of the delay is at
startup time where SOAP serializers are initialized, e.g. when I
instantiate a proxy class. The actuall calls to XML services are fast.


Is there a way to speed it up? I tried compiling the app in Release
mode with MyApp.XmlSerializers.dll generated but didn't notice any
performance gain.


Please advise,


-Oleg.
 
J

John Saunders

Hi there,

I have a small console app that makes a call to XML Webservices. The
app runs from a login script. Because of the web service call, it takes

about 15-20 seconds for the app to complete. Most of the delay is at
startup time where SOAP serializers are initialized, e.g. when I
instantiate a proxy class. The actuall calls to XML services are fast.


Is there a way to speed it up? I tried compiling the app in Release
mode with MyApp.XmlSerializers.dll generated but didn't notice any
performance gain.

Is the XML simple enough that you can call the web service directly? That
is, don't use the proxy class.

John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top