Share via


Exercise 5: Verification

  1. Press CTRL+F5 to start an instance of the DiscoveryChat application without debugging.
  2. Switch back to Visual Studio, and press CTRL+F5 again to launch another instance of the application.
  3. Switch to one of the instances and setup the chat as follows:

    1. User Name: Fred
    2. Click Sign In
    Note:
    Windows Firewall may prompt you to allow the Chat client access to use the network. It is safe to allow this.

  4. Switch to the other DiscoveryChat instance and setup the chat as follows:
    1. User Name: Wilma
    2. Click Sign In
  5. Wilma’s chat window will discover Fred’s after signing in. Switch to Fred’s chat window and click on the Discover Users button to find Wilma.
  6. You should see the other instance’s username appear in the Available Users pane. You can double-click on it to start a chat.

    Figure 16

    Extensions allow us to send the username in discovery metadata

  7. Close both instances of the DiscoveryChat application.

Next Step

Exercise 6: Discovery Announcements