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

  • Home
  • SEARCH
  • 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 4614886
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T01:45:44+00:00 2026-05-22T01:45:44+00:00

I have an web application that allows certain domain objects to be associated with

  • 0

I have an web application that allows certain domain objects to be associated with a url. Right now, if we rollback the production database to our development database (which we do regularly), we have to go into the appropriate table and change the urls to point to their development environment equivalent. My manager wants a way to have the urls stored in some sort of flat file, so when we rollback the database, we don’t have to change any urls. The production environment would have its own version of the flat file with production urls, while the development environment would have its own version of the flat file with development urls. The application would just read off the flat file in the current environment. He also wants the ability for end-users to CRUD these urls in the flat file through the interface. Right now I am trying to go through the options and see what is best. It is between reading/writing an xml file or using MongoDB (would be using it here for the first time).

If anyone could give me any advice as to which one would be ideal (or any other suggestions), I would be greatly appreciative!

This is an asp.net 3.5 web application.

  • 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-22T01:45:45+00:00Added an answer on May 22, 2026 at 1:45 am

    You could use a flat file (key value pairs – one per line).

    IO contention can be made to be very low if you cache the file.

    Assuming changes are infrequent, you could also write a wrapper around the cache, to invalidate it when it changes and write the changes to disk. This will start to perform poorly the more concurrent changes to the list occur.

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

Sidebar

Related Questions

I have a web application that allows a user to search on some criteria,
I have a bowling web application that allows pretty detailed frame-by-frame information entry. One
We have created a web application, using ASP.NET, that allows users to upload documents
I have a web application that builds a dynamic PDF with FPDF and allows
I have a web application that should behave differently for internal users than external
I have a web application that is becoming rather large. I want to separate
I have a web application that needs to take a file upload from the
I have this web application that has grown to an unmanageable mess. I want
I have a web application that's branded according to the user that's currently logged
I have a web application that makes heavy use of the Session state to

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.