In previous post Code – UCWA in C# – Part 03 of 05 we provided support to send IM.
In this post we will extend our prototype with support for Call via Work.
This post is part 1 of a series of 5 on writing C# applications using UCWA 2.0.
I used Microsoft Visual Studio Community 2015 running Windows 10 and targeted Windows Desktop Application to .NET Framework 4.6.1. The application illustrates the steps like autodiscover both internal and external and the different steps involved to logon. Next some examples of using resources like Note, Location, Presence and sending a Hello World IM as well as Call via Work.
In upcoming posts more advanced code, handling redirects, implementing event channels, keeping the application alive and handle both incoming and outgoing conversations.
Later on more complete implementation of the remaining documented features of UCWA implemented, and how to access the less documented modalities such as audio and video.
In the App.config nothing special, just added the defaultProxy allowing my program to run in our company behind firewall and proxy server that would else block HTTPS traffic.
<?xml version="1.0" encoding="utf-8"?>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/>
I will publish in the upcoming months C# software I have developed based upon UCWA 1.0 and UCWA 2.0 showcasing advanced integration scenarios in on-premise environments, based upon UCWA documentation (and with a little help of Fiddler for the undocumented modalities).
Revisit this page when the Application API and JS UC Controls, UCWA JS OM, UC Controls, UCWA Mobile OM become generally available, with more options in Hybrid or Office365 environments.
I was inspired by the blog and movie of Tsuyoshi Matsuzaki san – my basic skills of the Japanese language acquired during previous employment at company NEC was most helpful to understand his point. Also the specs at MS-OCDISCWS and article of Graham Cropley explaining the discovery process.
In the meantime I recommend reviewing the basic introduction samples available on Microsoft Developer Network
© Microsoft Developer Network – Apache license, version 2.0