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
-
Create the application. For more information see the sections on creating speech and IM applications in Walkthrough: Hello World.
-
Establish accounts on the server running Lync Server 2010. For more information, see Provision and Deploy a UCMA Workflow Application.
-
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
-
Run Visual Studio as an administrator.
-
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.
-
On the test computer, in Lync 2010, in the Search box, type the URI of the application contact object.
-
In Visual Studio, on the Build menu click Build Solution.
-
Press F5 to debug the solution, and wait until the application starts to run.
-
In Lync 2010, click the Call button appearing next to the URL created in step 3.
-
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
-
Run Visual Studio as an administrator.
-
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.
-
On the test computer, in Lync 2010, in the Search box, type the URI of the application contact object.
-
In Visual Studio, on the Build menu click Build Solution.
-
Press F5 to debug the solution, and wait until the application starts to run.
-
In Lync 2010, enter some message text and then press ENTER.
-
Watch for a prompt from the IM application.