Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 591381
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T15:37:43+00:00 2026-05-13T15:37:43+00:00

I have a given list of URL’s, and i make an HTTP web request

  • 0

I have a given list of URL’s, and i make an HTTP web request object, and try to connect with it, i have an ‘array’ of url’s, and i try to connect with each one. the objective is seeing which ones are out.

It already works, but one request only starts as soon as the last one ends, so it’s quite a slow working, about two requests per second.

I was wondering if i should make about 5 threads working alongside in the background, that would make it 5 times faster, which is the desired speed (whithout overloading the shared internet band). But i have two problems:

1 – i don’t even know IF it is the best solution for my problem.
2 – i’ve tried some times, but i’m new to .NET framework, and have never used multi-thread. so i don’t know how i would do it easily.

I have a function start(), and it has a For that goes through all the url’s checking existence.

data: VS 08, .NET 3.5, C#.

–[edit]–

Can anyone tell me (with code sample if possible) how to use five (not as many as possible) threads in backgroundworker ? what about starting right after the last processing ends ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T15:37:44+00:00Added an answer on May 13, 2026 at 3:37 pm

    Research the BackgroundWorker Object. This will allow you to spawn multiple thread workers to instantiate asynchronous web requests. Then just use the ReportProgress method to report back on the status of each request.

    http://msdn.microsoft.com/en-us/library/system.componentmodel.backgroundworker.aspx
    http://www.dotneat.net/2009/02/10/BackgroundworkerExample.aspx
    http://dotnetperls.com/backgroundworker

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a huge list of URL's, in the format: http://www.example.com/dest/uk/bath/ http://www.example.com/dest/aus/sydney/ http://www.example.com/dest/aus/ http://www.example.com/dest/uk/
Given a list of urls, I would like to check that each url: Returns
I have been given a staff list which is supposed to be up to
Given that I have the following WCF service: class LookUpService { public List<County> GetCounties(string
I have a list of whitelisted words: kitchen chair table ; Given a text,
have a database with a list of business leads. They are all given a
I currently have a list of things to update in the given mysqli query:
I am given an input, N, i have to find the number of list
I have web-service which give list of property at a particular area My problem
How can I get the title of a web page for a given URL

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.