Manual Provisioning (QuickStart)

Sample name: ManualProvisioning

Sample location: %ProgramFiles%\Microsoft UCMA 3.0\SDK\Core\Sample Applications\QuickStarts\ManualProvisioning

Description

In some situations, administrators may wish to deploy Microsoft Unified Communications Managed API (UCMA) 3.0-based applications that are trusted by Microsoft Lync Server 2010, yet avoid installing a Central Management Store (CMS) replica on the server hosting the application. In these situations, the application must make use of manual provisioning.

In comparison to automatic provisioning, manual provisioning has several limitations. Specifically, manually-provisioned applications must be configured with a Globally Routable User Agent URI (GRUU), and trusted application endpoint owner URI and port, all of which must be configured in the CMS when the trusted application endpoint is configured. Additionally, it is usually necessary to configure manually-provisioned endpoints with the registrar FQDN and port. It is also necessary to determine the certificate the application will use if TLS transport is being employed. Additionally, changes to the trusted application endpoint owner properties will not be updated from CMS into the application.

For more information about provisioning trusted applications and endpoints in Microsoft Lync Server 2010, see Activating a UCMA 3.0 Core Trusted Application, as well as General Application Activation and Activating a Manually-Provisioned Application.

This sample demonstrates how to create a CollaborationPlatform instance using the ServerPlatformSettings constructor, establish a single ApplicationEndpoint, and monitor the state changes on the endpoint.

Features

  • CollaborationPlatform creation from ServerPlatformSettings

  • ApplicationEndpoint establishment

  • Endpoint StateChanged notification handling

Prerequisites

  • Microsoft Lync Server 2010.

  • Provisioned trusted ApplicationEndpoint

Running the Sample

  1. Supply the configuration settings to be used by the sample in the accompanying App.config file, OR

    Supply these settings when prompted for them when you run the sample.

  2. Open the project in Microsoft Visual Studio, and then press F5.