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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T17:41:55+00:00 2026-05-16T17:41:55+00:00

I have a MVC2 web app without a database that is being hosted by

  • 0

I have a MVC2 web app without a database that is being hosted by IIS7. The model is a custom index of some properties of a filesystem, and right now the index is stored in memory. The problem is that on a regular basis, the data stored in memory gets released, and the index must be recreated. Maybe the best solution would be to serialize the index object and load it when the index gets released, but it would be much simpler if I could prevent the data from going anywhere.

  • 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-16T17:41:56+00:00Added an answer on May 16, 2026 at 5:41 pm

    Anytime there is no activity for a certain amount of time or IIS recycles the process you are going to lose any data in memory so if you require that information, you are going to need to persist it in some way and retrieve it when the memory is cleared.

    Have you considered having this data in a persistent xml file or serialized to a file on the server?

    If it gets cleared from memory you could check for that case and then just reload the file back into the application cache.

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

Sidebar

Related Questions

I have an MVC2 C#. Net web app that is storing data in html
I have a situation with my MVC2 app where I have multiple pages that
I have an MVC2 C#.Net web app using VS2010. Below is an entry in
I'm writing an MVC2 app using DataAnnotations. I have a following Model: public class
I have a C#.Net MVC2 web app. We are loading a partial view with
I am building an asp.net MVC2 web app using StructureMap. I have created a
I have an old web application that's being migrated to a different system, and
I have an MVC2 app where I am starting to use the STE 's.
I have an MVC2 app I developed with the VS2010 RC and the .NET
I have an ASP.NET MVC2 site connecting to a MySQL database via DbLinq. There

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.