public BewiseSyncSyncAgent(object remoteSyncProviderProxy) {
this.InitializeSyncProviders();
this.InitializeSyncTables();
this.RemoteProvider = new Microsoft.Synchronization.Data.ServerSyncProviderProxy(remoteSyncProviderProxy);
this.OnInitialized();
}
// *** TODO: ***
// To expose this service as an endpoint add the following to the services section of the app.config file
//
// <service name="WCFService.BewiseSyncSyncService" behaviorConfiguration="WCFService.BewiseSyncSyncServiceBehavior">
// <host>
// <baseAddresses>
// <add baseAddress ="http://localhost:8080/BewiseSyncSyncService/"/>
// </baseAddresses>
// </host>
// <endpoint address ="" binding="wsHttpBinding" contract="WCFService.IBewiseSyncSyncContract"/>
// <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" />
// </service>
// and the following to the serviceBehaviors section
// <behavior name="WCFService.BewiseSyncSyncServiceBehavior">
// <serviceMetadata httpGetEnabled="True" />
// <serviceDebug includeExceptionDetailInFaults="False" />
// </behavior>