locked
Data only Needs to be Synced RRS feed

  • Question

  • Hi

    I am using sync frame work 2.1 .My situation is , we are having the centerlized DB server which could get updated by our on line portal whenervr our client found that the server's unavailability or internet unavailability then they could starts working on our windows based application it could be connected to the clients local database(offline Application). so the off line data needs to be sync with the online Database. I have gone through many of the N-Tire sync samples, in the samples the web service has to know the client Database connection string as well as Server DB connection string. Here the client Db could be located in the local LAN , so the client DB connection could not be exposed to the internet. Hence the data only needs to be transfered to the web service based on that the online db should gets synced. Is there any way to accomplish this. Please share your thougths and examples

    Thursday, February 17, 2011 6:57 PM

Answers

  • the client need not know the database connection string, only the location of the service. likewise, the service on your central server need not know anything about your client's database location.

    if you look closely at the sample (am assuming the one you downloaded from the Sync Fx teams code gallery), you can isolate the server and client side code.

    Thursday, March 3, 2011 8:35 AM

All replies

  • Can you explain more, sorry I don't understand what you mean.
    Monday, February 21, 2011 9:10 AM
  • the client need not know the database connection string, only the location of the service. likewise, the service on your central server need not know anything about your client's database location.

    if you look closely at the sample (am assuming the one you downloaded from the Sync Fx teams code gallery), you can isolate the server and client side code.

    Thursday, March 3, 2011 8:35 AM