locked
Webservice Asynchcallabck RRS feed

  • Question

  • Gurus,

    We are developing a web application, where in users can upload zip file that can have 1000s of records, which we parse and make request to specific webservice for response... till 1000 records we are able to get response... we are using Aynchcallback method to handle the response returned by service... but when number of request increase we are not getting response... we get error... Need advice on How many request we can send aynchronusly... is it required to maintain a pool for handling response...

    basically in the callback method we get the XML response, parse it and store it in DB... Need guidance on the same...

    • Moved by Andrew.Wu Monday, October 17, 2011 9:53 AM (From:Visual C# General)
    Friday, October 14, 2011 6:53 PM

Answers

All replies

  • what kind of error are you getting?
    If a post answers your question, please click "Mark As Answer" on that post and "Mark as Helpful".
    Friday, October 14, 2011 7:00 PM
  • OutOfMemoryException or worker process being recycled I think.

    The default requestLengthDiskThreshold is 256kb per session, so 1000 request means 256MB is spent on solely storing the file being upload on the way. You may want to check what is the setting of memory limits in the application pool settings. (and machine.config and web.config)

    Saturday, October 15, 2011 3:19 AM
  • Hi Sarran,

    You are more likely to get more efficient responses to ASP.NET issues at http://forums.asp.net where you can contact ASP.NET experts.

    Thanks for your understanding.

    Best Regards,


    Andrew Wu [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Monday, October 17, 2011 9:53 AM