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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:44:05+00:00 2026-05-26T13:44:05+00:00

Recently a question raised in my group. I have a sections list in database.it

  • 0

Recently a question raised in my group. I have a sections list in database.it is nothing but names of sections like Dubai section, NA section, Canada Section. This list updated very rarely in the database.

Now the question, Is there any mechanism in asp.net that we can keep the list in Server Cache memory and refresh the cache every 24 hours? Why group need is, they dont want call DB all the time. Just they want read it from Server memory.

Please share me if we have that kind of facility in asp.net.

examples and blogs will be more helpful.

  • 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-26T13:44:05+00:00Added an answer on May 26, 2026 at 1:44 pm

    You can do that with Cache object. More info here.

    You probably need something like this:

    Cache.Insert("DSN", connectionString, null, DateTime.Now.AddHours(24), Cache.NoSlidingExpiration);
    

    This will cache connectionString object under a key named DSN for 24 hours.

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

Sidebar

Related Questions

I recently asked this question in the pyglet-users group, but got response, so I'm
I have a project that I have recently started working on seriously but had
I saw this interview question recently for a firm that said: Group of people,
Ok I had asked a question recently based on this. But I need to
Solved this ages ago, but this question recently got some attention so I'm adding
I have a brief conceptional question: Recently, I started to develop an app in
I asked a similar question recently, but didn't get a clear answer because I
Hello I have a question recently I seen more and more sites using #/pagename
I recently asked a question regarding how to Save a list with nested elements
Further to a recently answered question, I have the following code: SELECT q21coding, COUNT(q21coding)

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.