Web services RRS feed

  • Question

  • Hi,

    I have a legacy web service (.ASMX) which takes too long to respond when called from a C# console application.

    The Webservice method contains code to just show the datetime, and that's it. For this small method , it takes 24 seconds to complete the call.

    I have tried many things like setting the 

    1.Proxy to null in the C# code

    2.setting  bypassonlocal="False" attribute in the app.config file.

    3.Precompiling it and hosting it in IIS using a separate App pool.

    None of these worked , can anyone help me out here.


    Tuesday, December 1, 2015 9:09 PM


  • Create another project and then see if it takes as long. Some other poster was having the same kind of issues. He indicated that it resolved it by creating another project from scratch and things moved from many seconds like close to a minute down to 1 or 2 seconds, and this was an ASP.Net UI solution with one form and doing nothing hardly.  
    Tuesday, December 1, 2015 9:33 PM