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 1004859
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T08:11:59+00:00 2026-05-16T08:11:59+00:00

My environment – C# 3.5 and ASP.NET 4.0 and VS 2010 Apologies – am

  • 0

My environment – C# 3.5 and ASP.NET 4.0 and VS 2010

Apologies – am a bit new to some of the concepts related to threading and Async methods.

My scenario is this:

  1. My site will periodically make a couple of GET/POSTS to an external site and collect some data
  2. This data will be cached in a central cache
  3. The periodic action will happen once in about 5 minutes, and will happen for every new member who registers on my site. The querying for the member will stop based on certain conditions
  4. The user does NOT need to be logged in for these periodic queries – they register on the site, and then off my async code goes – it keeps working 24/7 and messages the user once a while via email depending on certain trigger condition. So essentially it all should happen in the background regardless of whether the user is explicitly logged in or not.

Load Expected – I anticipate about 100 total running members a day (accounting for new members + old ones leaving/stopping).

the equation is ~ 100 visitors / day x 4 POST per fetch x 12 fetches / hour x 8 hours / day

In my mind – I’m running 100 threads a day, and each ‘thread’ wakes up once in 5 minutes and does some stuff. The threads will interact with a static central cache which is shared among all of them.

I’ve read some discussions on ThreadPools, AsyncPage etc – all a bit new territory. In my scenario what would you suggest? What’s the best approach to doing this so it’s efficient?

In your response I would appreciate if you mention specific classes/methods/links to use so I can chase this. Thanks a bunch!

  • 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-16T08:11:59+00:00Added an answer on May 16, 2026 at 8:11 am

    You will not be able to do it with ASP.net as such, you will not be able to keep the “threads” running with any level of reliability. IIS could decide to restart the appication pool (I.E. the whole process) at any point in time. Really what you would need is some kind of windows service that runs and makes the requests. You could the use HttpWebRequest.BeginGetResponse method to make your calls. This will fire off the relevent delegate when the response comes back and .net will manage the threading.

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

Sidebar

Related Questions

Environment: ASP.NET MVC3 C# Say I have some repository (semi-psuedo): public interface IRepository {
Environment: Windows 2003 Server (32 bit); IIS6, ASP.NET 2.0 (3.5); 4Gb Ram; 1 Worker
Environment: .NET 2.0, visual studio 2005 in aspx markup, set a control like: <asp:CheckBox
environment: asp.net 3.5 <asp:CustomValidator ID=cvServerValidateDate runat=server ControlToValidate=tbDate onservervalidate=cvValidateServer ValidateEmptyText=True ClientValidationFunction=validateDate></asp:CustomValidator> <script type=text/javascript> function validateDate(oSrc,
Environment - C#, .net 4.0, VS 2010 Hello, I have written a simple shell
Environment: asp.net fx3.5 I'm using the objectdatasource for my gridview. At first, I load
Environment : ASP.NET 3.5, C#, Forms Authentication, IIS 6 Problem details : I have
Environment : Visual Studio 2010 Professional .NET Framework 4 C# Added Service Reference using
Environment is Visual Studio 2012, ServiceStack, ASP.NET Web Application Project (followed https://github.com/ServiceStack/ServiceStack/wiki/Create-your-first-webservice ) Looking
Environment: IIS 6.0, ASP.NET 3.5 I have the need to secure just one file

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.