SyncExpress is a free development and testing service for Correspondence. While it lacks the management features of a production-ready solution, it is easy to set up in a local network.

Install SyncExpress on a server in your development or testing environment. It creates a Windows Service called "Correspondence SyncExpress". Start this service either through the service manager, or with the command line:
net start "Correspondence SyncExrpess"

The service listens at http://<machine_name>:9119/SyncExpress. Browse to this page to ensure that it is running. You will see a WCF-generated service endpoint page.

Client applications should be configured to use the WebServiceCommunicationStrategy as we saw in lesson 4a. In addition, they should have an app.config file that contains an endpoint for ISynchronizationService. Change this endpoint address to your machine name.
<client>
    <endpoint
        address="http://<machine_name>:9119/SyncExpress"
        binding="basicHttpBinding"
        bindingConfiguration="SynchronizationServiceSoapBinding"
        contract="UpdateControls.Correspondence.WebService.Contract.ISynchronizationService"
        name="SynchronizationService" />
</client>
Make these changes in Lesson.Client. Run an instance on another machine. Two people can log on to the two machines and challenge each other to games.

Next: Practice 4: Subscribe to games

Last edited Aug 9, 2010 at 3:28 AM by MichaelLPerry1971, version 4

Comments

No comments yet.