Lync 2013: Create a Lync WPF Controls application for Windows 8 and Windows 8 Pro

Lync 2013

Learn how to use the Lync 2013 SDK to create a Lync Windows Presentation Foundation (WPF) Controls application for Windows 8 and Windows 8 Pro.

Last modified: March 29, 2013

Applies to: Lync 2013 | Lync Server 2013 | Visual Studio | Windows

Provided by:  John Clarkson, Microsoft Corporation

In this article
Introduction
Creating the Lync WPF Controls application
Conclusion
Additional resources

Watch the video: Create a Lync WPF Controls application for Windows 8 and Windows 8 Pro

Videos

Applications that are developed with the Lync 2013 SDK run on the Windows 8 desktop. This article explains how to create a Lync WPF Controls application by using Lync Controls and also discusses how to pin the application to the Windows 8 Start screen.

Requirements

  • Lync 2013 SDK.

  • Visual Studio 2010 and later versions of Visual Studio.

  • Lync 2013 client.

    Important note Important

    To run the Lync WPF Controls application, you must sign in to the Lync client.

Figure 1.

Windows 8 start screen

To create the application, use Visual Studio to open a new project using the Lync WPF Application template, and then drag three controls onto the Design pane.

To create the Lync Controls application

  1. On the Windows 8 Start screen, click Visual Studio.

  2. In Visual Studio, use the Lync WPF Application template to create an application.

  3. In the XAML pane, delete the XAML text between the two StackPanel elements.

  4. Set the following StackPanel attributes.

    • Orientation='Vertical'

    • HorizontalAlignment='Left'

    • VerticalAlignment='Top'

  5. In the Visual Studio Toolbox, select the Lync 2013 SDK Controls tab, and then drag the MyStatusArea control onto the Design pane. Position the control in the upper-left corner of the Design pane.

  6. Drag the ContactSearch control onto the Design pane. Position the control under the MyStatusArea control on the Design pane.

  7. Drag the ContactList control onto the Design pane. Position the control under the ContactSearch control on the Design pane.

  8. Press F5 to build and run the application.

  9. Before you start the next procedure, close the application.

To start the application on the Windows 8 Start screen

  1. Use File Explorer to find the application .exe file, located in the bin/Debug folder.

  2. Right-click the .exe file and select Pin to Start.

  3. On the Windows 8 Start screen, click the application tile to start the application.

Using the Lync 2013 SDK to create a Lync WPF Controls application for Windows 8 is similar to creating a Windows 7 application. The extra step is simply to pin the application .exe file to the Start screen.

Like other Windows desktop applications, Lync WPF applications can be installed on and started from the Windows 8 Start screen. But, because the Lync 2013 SDK was built for earlier Windows versions, applications developed with it run on the desktop rather than on the Start screen.

Show: