XmlSerializers.dll and faster startup

Discussion in 'ASP .Net Web Services' started by Oleg.Ogurok@gmail.com, Oct 23, 2006.

  1. Guest

    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.
     
    , Oct 23, 2006
    #1
    1. Advertising

  2. <> wrote in message
    news:...
    > 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
     
    John Saunders, Oct 24, 2006
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Anushi
    Replies:
    5
    Views:
    8,786
  2. wpy
    Replies:
    1
    Views:
    369
    -=Chris=-
    Nov 11, 2003
  3. Flinky Wisty Pomm

    XmlSerializers, Structs, and Default Constructors

    Flinky Wisty Pomm, Jun 19, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    651
    Flinky Wisty Pomm
    Jun 20, 2006
  4. CSharpner
    Replies:
    0
    Views:
    1,050
    CSharpner
    Apr 9, 2007
  5. H. Simpson
    Replies:
    4
    Views:
    289
    H. Simpson
    Aug 3, 2004
Loading...

Share This Page