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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T04:26:30+00:00 2026-05-19T04:26:30+00:00

The basic layout of my problem is this: Website (ASP.NET/C#) hosted at a dedicated

  • 0

The basic layout of my problem is this:

  • Website (ASP.NET/C#) hosted at a dedicated hosting company (location 1)
  • Company database (SQL Server) with records of relevant data (location 2).
  • Location 1 & 2 connected through VPN.
  • Customer visiting the website and wanting to pull data from the company database.
  • No possibility of changing the server locations or layout (i.e. moving the website to an in-office server isn’t possible).

What I want to do is figure out the best way to handle the data acces in this case, minimizing the need for time-expensive database calls over the VPN. The first idea I’m getting is this:

When a user enters the section of the
website needing the DB data, you pull
all the needed tables from the
database into a in-memory dataset. All
subsequent views/updates to the data
is done on this dataset. When the user
leaves (logout, session timeout,
browser closed etc) the dataset gets
sent to the SQL server.

I’m not sure if this is a realistic solution, and it obviously has some problems. If two web visitors are performing updates on the same data, the one finishing up last will have their changes overwriting the first ones. There’s also no way of knowing you have the latest data (i.e. if a customer pulls som info on their projects and we update this info while they are viewing them, they won’t see these changes PLUS the above overwriting issue will arise).

The other solution would be to somehow aggregate database calls and make sure they only happen when you need them, e.g. during data updates but not during data views. But then again the longer a pause between these refreshing DB calls, the bigger a chance that the data view is out of date as per the problem described above.

Any input on the above or some fresh ideas would be most welcome.

  • 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-19T04:26:30+00:00Added an answer on May 19, 2026 at 4:26 am

    Cache static data(asp.net caching function) and create as little as possible queries.

    Try to create a two step process for database updates with some client callbacks where needed to make the client feel like they have a responsive website. (Ajax would shine in this situation)

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

Sidebar

Related Questions

I have an ASP.NET site that I'm developing. The layout is pretty basic. The
I have a basic website nav layout that looks like this: <li class=folder parent_folder>
The basic problem is like this: A subscriber has successfully replicated a row from
I've got two sizing issue regarding a Window I've got. The basic layout is
My basic question is, in .NET, how do I clone WebControls? I would like
I'm currently in the process of setting my website, largely with php. Though this
Basic requests are: human readable / text format (for easy version control) online (for
Basic question : How to I create a bidirectional one-to-many map in Fluent NHibernate?
Basic premise: I have a Room which publishes an event when an Avatar enters
Very basic question: how do I write a short literal in C++? I know

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.