跟踪 .NET 应用程序中的应用程序使用情况
我有一个在不同客户端上运行的 .NET (C#) WPF 应用程序。 我想跟踪应用程序的使用情况、指标、错误等(当然需要客户许可)并将这些信息发回以进行进一步分析。
我说的是类似 Google Analytics 的东西,但适用于客户端应用程序而不是网站。
我目前正在寻找非常基本的内容,例如应用程序的错误和崩溃、应用程序启动、应用程序退出,因为我的应用程序是在屏幕导航到和导航离开时使用导航(不是 SDI 或 MDI)构建的。
因为这是一个客户端应用程序,并且某些客户端并不总是连接到互联网,所以我想我必须缓存数据并在连接存在后发送它。
- 有人见过这样的东西吗(成本不到 100 美元)?
- 还有人对这样的能力感兴趣吗?
非常感谢, 我愿意。
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.
- Has anyone seen something like this (that cost less then 100$) ?
- Do anyone else is interested in such ability?
Thank you very much,
Ido.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我开发的东西基本上可以满足你在项目中想要的功能。我只是使用了一个 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.