Export (0) Print
Expand All

Walkthrough: Debugging a Communications Workflow Application

This topic demonstrates the basic steps in debugging speech and instant messaging (IM) communications workflow applications.

  • Microsoft Lync Server 2010.

  • Microsoft Lync 2010.

  • Microsoft .NET Framework 3.5.

  • Microsoft Visual Studio 2008 Standard, Professional, or Team System 2008, or Microsoft Visual Studio 2010 Professional, Premium, or Ultimate.

  • Microsoft Unified Communications Managed API (UCMA) 3.0 Workflow SDK.

  • After installing UCMA 3.0 Workflow SDK, install a language pack.

  • For speech workflow applications, audio devices need enabling so that you can hear and speak through Lync 2010. For more information, see Set Up Audio and Video.

To prepare a workflow communications application for debugging

  1. Create the application. For more information see the sections on creating speech and IM applications in Walkthrough: Hello World.

  2. Establish accounts on the server running Lync Server 2010. For more information, see Provision and Deploy a UCMA Workflow Application.

  3. Update the default code added to Program.cs by the new project template. For more information, in Walkthrough: Hello World see "Update Template Code."

For information about modifying template code to create an application endpoint in a communications workflow application, see Walkthrough: Hello World.

To debug a speech application

  1. Run Visual Studio as an administrator.

  2. On the test computer, sign in to Lync 2010 using a user account enabled for Lync Server 2010. For more information, see Provision and Deploy a UCMA Workflow Application.

  3. On the test computer, in Lync 2010, in the Search box, type the URI of the application contact object.

  4. In Visual Studio, on the Build menu click Build Solution.

  5. Press F5 to debug the solution, and wait until the application starts to run.

  6. In Lync 2010, click the Call button appearing next to the URL created in step 3.

  7. Listen for a prompt from the speech application.

For information about modifying template code to create an application endpoint in a communications workflow application, see Walkthrough: Hello World.

To debug an IM application

  1. Run Visual Studio as an administrator.

  2. On the test computer, sign in to Lync 2010 using a user account enabled for Lync Server 2010. For more information, see Provision and Deploy a UCMA Workflow Application.

  3. On the test computer, in Lync 2010, in the Search box, type the URI of the application contact object.

  4. In Visual Studio, on the Build menu click Build Solution.

  5. Press F5 to debug the solution, and wait until the application starts to run.

  6. In Lync 2010, enter some message text and then press ENTER.

  7. Watch for a prompt from the IM application.

Show:
© 2014 Microsoft