Calling several webrequests at the same time

Discussion in 'ASP .Net' started by GM, May 16, 2006.

  1. GM

    GM Guest

    (my original post was in a wrong newsgroup)

    Hello,

    Is it possible to call 4 webrequests from an aspx file at the same time and
    then wait for the results of all 4 to come in. (4 webrequests to 4 different
    servers)
    I know that I can create 4 threads to do this, but when this application is
    called by 100 people, will it mean that 400 threads will be running?

    Is there a sollution or way around this?
    GM, May 16, 2006
    #1
    1. Advertising

  2. look at async mode. shoudl do what you want.

    -- bruce (sqlwork.com)


    "GM" <> wrote in message
    news:...
    > (my original post was in a wrong newsgroup)
    >
    > Hello,
    >
    > Is it possible to call 4 webrequests from an aspx file at the same time
    > and
    > then wait for the results of all 4 to come in. (4 webrequests to 4
    > different
    > servers)
    > I know that I can create 4 threads to do this, but when this application
    > is
    > called by 100 people, will it mean that 400 threads will be running?
    >
    > Is there a sollution or way around this?
    >
    >
    >
    bruce barker \(sqlwork.com\), May 16, 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. =?Utf-8?B?RGF2ZQ==?=

    WebRequests & 401 Unauthorized errors

    =?Utf-8?B?RGF2ZQ==?=, May 5, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    389
    =?Utf-8?B?RGF2ZQ==?=
    May 5, 2004
  2. =?Utf-8?B?RGF2ZQ==?=

    Asynchronous WebRequests?

    =?Utf-8?B?RGF2ZQ==?=, Jun 23, 2005, in forum: ASP .Net
    Replies:
    4
    Views:
    865
    Scott Allen
    Jun 29, 2005
  3. Replies:
    3
    Views:
    1,969
    Steven D'Aprano
    Jul 25, 2009
  4. GM
    Replies:
    1
    Views:
    102
    Mike Brind
    May 16, 2006
  5. Victor \Zverok\ Shepelev

    RDOC: several related modules in several C files

    Victor \Zverok\ Shepelev, Mar 6, 2007, in forum: Ruby
    Replies:
    3
    Views:
    168
    Max Lapshin
    Mar 16, 2007
Loading...

Share This Page