部署Microsoft.ApplicationInsights.dll的最佳方法是什么? [英] What is the best way to deploy Microsoft.ApplicationInsights.dll ?

查看:85
本文介绍了部署Microsoft.ApplicationInsights.dll的最佳方法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





考虑到我使用的桌面应用程序,使用Microsoft.ApplicationInsights.dll向Azure报告已经过验证的功能,




1.将DLL部署到客户的最佳方式是什么? 

2.有没有MSM或MSI我可以用于该部署?如果不是应该怎么做?



谢谢

Hi ,

Considering there's that desktop application I use with proven capabilities on reporting to Azure using Microsoft.ApplicationInsights.dll,

1. What would be the best way to deploy that DLL to our customers? 
2. Is there any MSM or MSI I can use for that deployment? if not how it should be done?

Thanks

Lior

推荐答案

Hi Lior,

Hi Lior,

感谢您的光临!

您可以使用ClickOnce进行部署和维护部署后您的应用程序。有关详细信息,请参阅以下文档:

You can use ClickOnce for deployment and maintenance of your application after deployment. Refer to the below documents for more information:

https://docs.microsoft.com/en-us/visualstudio/deployment/clickonce-security-and-deployment?view=vs-2019

https://docs.microsoft.com/en-us/visualstudio/deployment/clickonce-security-and-deployment?view=vs-2019

https://docs.microsoft.com/en-us/visualstudio/deployment/how-to-check-for-application-updates-programmatically-using- the-clickonce-deployment-api?view = vs-2019

" ClickOnce提供了两种在部署应用程序后更新应用程序的方法。在第一种方法中,您可以配置ClickOnce部署以按特定间隔自动检查更新。在第二种方法中,您可以编写使用
的代码
ApplicationDeployment  类,用于根据事件检查更新,例如用户
request。

以下过程显示了一些用于执行程序化更新的代码,还介绍了如何配置ClickOnce部署以启用程序化更新检查。

按顺序要以编程方式更新ClickOnce应用程序,您必须指定更新位置。这有时称为部署提供程序。有关设置此属性的更多
信息,请参阅 
选择ClickOnce更新策略 。"

In order to update a ClickOnce application programmatically, you must specify a location for updates. This is sometimes referred to as a deployment provider. For more information on setting this property, see Choose a ClickOnce update strategy."

希望这会有所帮助!


这篇关于部署Microsoft.ApplicationInsights.dll的最佳方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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