locked
How to sync with (Web) WCF Service Application? RRS feed

  • Question

  • What I am doing is similar to the Walk through sample "Creating N-Tier Data Application" (http://msdn.microsoft.com/en-us/library/bb384570.aspx) and "Adding a Local Database Cache to an N-Tier Application" (http://msdn.microsoft.com/en-us/library/bb882690.aspx). Following is a brief of the walk through: A windows Form application get data from DataService ( a WCF service library) and all the Data sync part are all in the DataService.

    The trouble I have is that my server database is behind the firewall and I have to get the data via the web server. So I decided to create a "Web" WCF service application (instead of WCF library). It worked great WITHOUT Local data cache. When I tried to add the Local Database cache,"  the "Configure Data Sync" dialog asks:

    1. Server Connection: I do have one my dev machine. But it will not been seen in production environment. Is it used to create Local database and modify the schema of the server database only or will it be used when sync data in production?

    2. Server project location: My website (host WCF service application) is in the solution but is not showing as a project.

    It looks to me (I am new in WCF)  that the approach in the work through will NOT work for me. I can write code sync the data via the web WFC service. But is there better option?

    Thanks in advance,

    John
    • Moved by Max Wang_1983 Friday, April 22, 2011 6:37 PM forum consolidation (From:SyncFx - Microsoft Sync Framework Database Providers [ReadOnly])
    Friday, July 4, 2008 6:23 AM

Answers

All replies