跟踪 .NET 应用程序中的应用程序使用情况

发布于 2024-11-17 14:36:03 字数 389 浏览 7 评论 0原文

我有一个在不同客户端上运行的 .NET (C#) WPF 应用程序。 我想跟踪应用程序的使用情况、指标、错误等(当然需要客户许可)并将这些信息发回以进行进一步分析。

我说的是类似 Google Analytics 的东西,但适用于客户端应用程序而不是网站。

我目前正在寻找非常基本的内容,例如应用程序的错误和崩溃、应用程序启动、应用程序退出,因为我的应用程序是在屏幕导航到和导航离开时使用导航(不是 SDI 或 MDI)构建的。

因为这是一个客户端应用程序,并且某些客户端并不总是连接到互联网,所以我想我必须缓存数据并在连接存在后发送它。

  1. 有人见过这样的东西吗(成本不到 100 美元)?
  2. 还有人对这样的能力感兴趣吗?

非常感谢, 我愿意。

I have a.NET (C#) WPF application which run on different clients.
I would like to track the usages, metrics, error, etc. of the application (with the clients permission off course) and have this information be sent back for further analysis.

I'm talking something like Google Analytics but for a client application and not web site.

I'm currently looking for very basic stuff like errors and crashes of the application, application start, application exit and because my application is build with navigation (not SDI or MDI) when a screen is navigated to and when navigated away.

Because this is a client application, and some clients are not always connected to the internet I think I'll have to cache the data and send it once connection exists.

  1. Has anyone seen something like this (that cost less then 100$) ?
  2. Do anyone else is interested in such ability?

Thank you very much,
Ido.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

围归者 2024-11-24 14:36:03

我开发的东西基本上可以满足你在项目中想要的功能。我只是使用了一个 AOP 库(我想我使用了 PostSharp,但现在有很多免费的库)来跟踪表单何时打开/关闭、何时抛出错误等。我们只是将信息存储在下次启动应用程序时上传到 FTP 服务器的文本文件。我们主要将它用于错误报告(它仅在应用程序崩溃时发送),但您可以出于指标收集目的执行类似的操作。

I developed something that basically did what you want on a project once. I just used an AOP library (I think I used PostSharp but there are quite a few libraries out there now that are free) that tracked when a form was opened/closed, when errors were thrown, etc. We just stored the info in a text file which was uploaded to an FTP server when the application was started the next time. We mostly used it for error reports (it only sent if the application crashed) but you could do something like that for metrics gathering purposes.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文