winforms仪器. [英] winforms instrumentation .

查看:77
本文介绍了winforms仪器.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是最好的仪器仪表模式.我有一个应用程序,我希望能够每次用户在应用程序中执行许多功能(调出表单,查看特定功能等)时跟踪指标,但是我不想在整个应用程序中都拥有代码在做这个仪器.我在这里有什么选择?

最终,我希望能够汇总列出指标的多个用户的数据.

解决方案

我一直在研究做类似的事情(对于匿名的统计信息收集库...有点像Google Analytics(分析),但对于台式机应用程序.如果'有兴趣,请在此处.. /p>

无论如何,对于.NET,我一直在研究一些面向方面的库,这些库提供动态和静态检测.我不确定它们是否适合(我尚未编写任何代码;我刚刚开始研究这些库).但是这里有一些前景:

祝你好运!

What is the best pattern for instrumentation. I have an application and i want to be able to track metrics on everytime a users does a number of functions in the app (brings up a form, views a certain feature, etc) but i dont want to have code all over the application that is doing this instrumentation. what are my options here?

At the end of the day, i want to be able to aggregate data across multiple users listing out metrics.

解决方案

I've been investigating doing something very similar (for an anonymous stats-collection library... kind of like Google Analytics, but for desktop apps. If you're interested, check out the GUI mockup here.)

Anyhow... for .NET, I've been looking at a few aspect-oriented libraries that provide dynamic and static instrumentation. I'm not sure whether they'll fit the bill yet (I haven't written any code yet; I've just started researching the libs). But here are a few prospects:

Good luck!

这篇关于winforms仪器.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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