在本地计算机上测试UCMA应用程序 [英] Testing UCMA application on a local machine

查看:128
本文介绍了在本地计算机上测试UCMA应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在研究使用UCMA 5.0的解决方案.我希望能够在本地测试我的解决方案,但是当我查看文档时,似乎需要将我的解决方案部署到所谓的受信任的服务器".我想在本地测试所有内容,并避免将文件复制到远程服务器(并在那里进行测试).有什么提示吗?

I am working on a solution that uses UCMA 5.0. I'd like to be able to test my solution locally, however when I look at the documentation, it seems I need to deploy my solution to so called "trusted server". I'd like to test everything locally, and avoid copying the files to a remote server (and test it there). Any hints how to do it ?

推荐答案

UCMA应用程序主要有两种类型:

There are two main types of UCMA applications:

  • Client Application
  • Server Application

客户端应用程序只能创建 UserEndpoint ,它必须提供所有身份验证信息(即用户密码).如果只需要这些,那么您就可以在任何地方运行此程序,而无需任何设置.

A client application can only create UserEndpoint and it has to supply all the authentication information (i.e. the user password). If that is all you require then you can run this anywhere without any setup.

服务器应用程序涉及更多,因为Lync信任"该应用程序及其运行的计算机.您可以使用 ApplicationEndpoint

A server application is more involved as the application and the machine it's running on is "trusted" by Lync. You can use ApplicationEndpoint's or UserEndpoint's and they have more somewhat power than normal endpoints (no passwords required and more abilities). If this is what you need then you need to setup your machine to be able to run a server UCMA application.

服务器应用程序分为两种主要类型:

Server applications come in two main types:

  • Manual provisioning
  • Auto provisioning

手动配置需要更多的编码,因为您需要预先了解Lync自己创建的所有内容.

Manual provisioning requires a bit more coding as you need to know up front everything created in Lync yourself.

自动配置所需的编码较少,但是机器设置很多.

Auto provisioning requires less coding but the machine setup is a lot.

我建议始终使用手动配置,因为自动配置的机器设置是我认为的疯狂...

I recommend always going with the Manual provisioning as the machine setup for auto provisioning is what I consider insane...

因此,要在自己的计算机上运行,​​您需要:

So for running on your own machine, you need to:

  • 安装计算机以运行 UCMA服务器应用程序.我建议使用单个实例池.
  • 为您的计算机创建一个证书(通常Web服务器会这样做).阅读以上链接,证书设置一直是客户获得正确答案的第一大难题,因此请仔细阅读以上链接.
  • 如果您发疯了,请将计算机设置为
  • Setup machine to run UCMA server application. I would recommend a single instance pool.
  • Create a certificate for your computer (normally webserver will do). Read above link, the certificate setup has been the number one problem area for customers to get correct so read the above link very carefully.
  • If your insane, set your machine up as a store replication point for auto provisioning.

将计算机设置为应用程序池后,您就可以根据需要使用 New-CsTrustedApplicationEndpoint .

Once your machine is setup as a application pool, you can then create the trusted applications and trusted application endpoints as needed using New-CsTrustedApplication and New-CsTrustedApplicationEndpoint.

我会习惯使用lync powershell命令,因为它非常有用.

I would get very used to using the lync powershell commands as it can be very useful.

顺便说一句,我也建议UCMA v4.0超过v5.0. v4应用程序在Skype for Business和Lync 2013上运行良好.此外,如果使用UCMA 4.0,则可以安装Lync 2013 ocscore.msi(随UCMA 4.0运行时一起提供),并允许您自己运行Lync powershell命令机器(针对S4B和Lync 2013).我还没有弄清楚如何在UCMA 5.0上做到这一点而又不会破坏任何东西...

As a aside, I would also recommend UCMA v4.0 over v5.0. v4 applications run fine on Skype for Business and also on Lync 2013. Also, if you use UCMA 4.0 you can install the Lync 2013 ocscore.msi (comes with UCMA 4.0 runtime) and that allows you to run the Lync powershell commands on your own machine (against S4B and Lync 2013). I have yet to figure out how to do that on UCMA 5.0 without breaking something...

4.0和5.0之间没有API差异,因此它们之间的切换非常简单.

There are no API differences between 4.0 and 5.0 so the switch between them is pretty simple.

这篇关于在本地计算机上测试UCMA应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆