This sample application performs tasks such as creating and modifying chat room categories, chat rooms, users, and federated user groups. For an example of how to use an existing chat room, see SampleChat or SampleLoadTest .

To set up the project in Microsoft Visual Studio 2008

  1. On the Microsoft Visual Studio 2008 Filemenu, point to Newand then choose Project. The New Projectdialog box appears.

  2. In the Project typespane, choose Visual C#and then choose Windows.

  3. In the Templatespane, choose Console Application.

  4. Type the name of the project in the Nametext box and then click OK. Visual Studio creates a new project.

To add the source code to the project

  1. Replace Program.cs with the SampleManagement.cs.

  2. Add SampleCommon.cs to the project.

  3. Press F5 to run the application in Debug mode.

Requirements

  • Microsoft Visual Studio 2008 development system

  • .NET Framework 3.5 SP1 (installed automatically with Visual Studio 2008)

  • UcmaRedist.msi

  • UcgcRedist.msi

Demonstrates

Managing categories, chat rooms, users, and user groups. Includes adding users to specific roles and working with federated users.