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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T13:55:15+00:00 2026-06-13T13:55:15+00:00

I’ve got my first batch of really massive data that I need for my

  • 0

I’ve got my first batch of really massive data that I need for my ASP.NET web application. Up until now (for two years in fact!) nothing has come up that was so costly that I couldn’t just do it on Page_Load or store it in ViewState or Session. But now, I need a list of objects that remains fairly static (gets updated once a day at most) and contains about 5000 objects, and building it every time on Page_Load causes the load time to take an obvious hit.

Some Googling regarding caching shows some very elementary examples using stuff like Cache["myStuff"] = myObject; and that’s all well and good. But I’d like to know if there is some way I can set my Web Application to run an update at a specific time, regardless of whether or not the application is being accessed or in use.

For example, I want this process to update the list to run once a day at like 4:00am when no one is using anything. So let’s say on day 1 in the afternoon, the Page_Load checks to grab the cached object, but it comes back null, so in that case, bite the bullet and request/build the list for the rest of day 1, store it in cache. Throughout the rest of day 1, no one has to build the object because it’s in cache and it’s still valid.

Day 1 ends, and it’s now 4:00am on day 2. No one is using any pages. I want the object that was stored in cache from day 1 to be deleted and re-built, so that when people get to the office in the morning, the first person who accesses the page doesn’t need to build the list for today, it’s already done.

The only idea I have would be to look into creating a console application that runs on a Windows scheduled task or something. But even then, I’m not sure how I would be able to interact with the ASP.NET web application from an external application like that.

Hopefully I’m making sense. Is what I’d like to accomplish even possible?

  • 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-06-13T13:55:17+00:00Added an answer on June 13, 2026 at 1:55 pm

    If you use a distributed cache like MemCached, you could create a Windows Service or Console application for populating the cache. Since both applications (The service and the web app) will use the same cache, it will solve your problem.

    Another solution is to have a page just for that (i.e. /startcache.aspx) that will do the cachin on page_load. And you can schedule a request to that page. You could also hide the page from outside the web-app using some kind of firewall (so nobody accesses that page!). Finally, the good part of this solution is that you can reuse your current code, as it will work in the same project.

    Hope it helps.

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

Sidebar

Related Questions

That's pretty much it. I'm using Nokogiri to scrape a web page what has
I've got a string that has curly quotes in it. I'd like to replace
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I need a function that will clean a strings' special characters. I do NOT
I have a small JavaScript validation script that validates inputs based on Regex. I
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a jquery bug and I've been looking for hours now, I can't
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
this is what i have right now Drawing an RSS feed into the php,
I have a French site that I want to parse, but am running into

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.