如何在Asp.Net Web App中显示性能视图 [英] How Do I Display Performance View In Asp.Net Web App
本文介绍了如何在Asp.Net Web App中显示性能视图的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要在我的asp.net Web应用程序中显示系统对象(比如IIS等)的性能,以及如何为自定义应用程序创建性能计数器,该应用程序将数据写入事件日志(基于编号。写入事件日志的事件
解决方案
.NET中有一些类用于与绩效计数器 [ ^ ] - 还有一篇关于如何使用它们的好文章:性能计数器简介 [ ^ ] - 我已经向disp写了一个应用程序以图形方式放置性能计数器:用于跟踪.NET应用程序性能的应用程序仪表板 [ ^ ]
I Have a requirement of displaying performance of the system objects(say IIS etc) in my asp.net web application and how do i create a performance counter for a custom application which writes data into event log(based on no. of events written into that event log
解决方案
There are classes in .NET for interacting with performance counters[^] - there is also a good article on how to use them : An Introduction To Performance Counters[^] - and I have written an application to display the performance counters graphically : Application dashboard for tracking .NET application performance[^]
这篇关于如何在Asp.Net Web App中显示性能视图的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文