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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T11:36:12+00:00 2026-06-08T11:36:12+00:00

In a multiuser environment: How do you make sure that all clients see eachothers

  • 0

In a multiuser environment:
How do you make sure that all clients see eachothers changes? What is the best way to do this?

In the past I created a C# application and installed it on 2 pc’s. It connected to a central SQL Express server (the client application worked with Entity Framework Code First as ORM).
When client1 added a record to the database, this was not directly visibly to client2. Only if client2 fetched all data again (hard refresh) the change was visible.

Now I am looking for a solution on how this ‘sync'(?) can or should be done. I like working Entity Framework Code First, it would be nice a solution could keep this.
Also the application is still in a very early stage.
I thought by having a central database and multiple clients connecting to it, but I’m not sure if this is a good solution. If your suggestions/solutions would require a central server application where the clients connect to (and where the server application does the database handling) this would be no problem.

If possible a basic sample solution or some basic code that shows how to always work with the latest data could would be very helpful!

Similar questions:

  • Entity Framework – Underlying data (in database) change notification
  • Entity Framework data updates in a multi-user environment with central database
  • Entity framework data context not in sync with database?

Thanks in advance

  • 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-08T11:36:13+00:00Added an answer on June 8, 2026 at 11:36 am

    It depends on your environment and the data you are managing and the architecture you want.

    If it’s OK/acceptable to let clients have copies of the data which they can work with, they need to work with the data when not connected to the central server, then you could use the the Sync Framework.

    You’d have your central SQL Server as usual, and use the Sync Framework to sync with clients.

    You would write a “Provider” which would decide how to resolve changes made to the same data by different clients, etc.

    You would have to put SQL Express (or possibly LocalDB (new name for SQLCE)) onto the client machines.

    Then do your Entity Framework Model/Code to access the local database instead of a central one.

    http://blogs.msdn.com/b/sync/archive/2008/06/24/sample-sql-express-client-synchronization-using-sync-services-for-ado-net.aspx

    Otherwise it’s down to designing and implementing some “tiers” and following a Distributed Internet/Database Architecture/SOA.

    A nice free resource:

    http://msdn.microsoft.com/en-us/library/ff650706.aspx

    http://mtechsoa2011.blogspot.co.uk/2011/04/soa-vs-distributed-internet_27.html

    Some useful books:

    http://www.amazon.co.uk/Service-Oriented-Architecture-Concepts-Technology-Computing/dp/0131858580/ref=sr_1_1?s=books&ie=UTF8&qid=1343295432&sr=1-1

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

Sidebar

Related Questions

We will be using eclipse(Helios or Indigo) for multiuser environment for development. For this
We are building a multiuser app that has one database per customer. All customer
I read several documents with conflicting view: This post says that you cannot use
This is semi-related to my previous question . As that previous question states, I
I need to implement a security framework for a multiuser application that is in
How would you go about handling Eclipse in a multiuser and multisite environment with,
I'm working in a multiuser environment with the following setup: Linux 64bits environment (users
I have a python daemon process that gets started via rc.local. This same script,
I'm working on some sort of online multiuser editor / coop interface, which will
Context: multi-user app (node.js) - 1 painter, n clients Canvas size: 650x400 px (=

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.