Tham khảo tài liệu 'c# 2005 programmer’s reference - chapter 42', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | 918 CHAPTER 42 Instrumenting Applications with Types Runtime detection of program errors is an important capability. Similarly it s important to monitor the performance of a program. The next chapter shows how to capture runtime performance of an application. The namespace includes a framework for supporting performance counters. Performance counters enable a program to be monitored for performance and scalability. At a basic level predefined system performance counters can be used to examine a program s behavior. The performance counter framework supports customized performance counters for situations where it s necessary to monitor specialized behavior. Custom performance counters identify conditions specific to an application and must be explicitly managed by the application. Sampling provides more sophisticated monitoring of program performance. This technique takes a number of samples and performs calculations on a regular basis. More so than other methods the results of sampling can provide much more insight into a program s capability. PART 10 Deploying Code CHAPTER 43 CHAPTER 44 CHAPTER 45 CHAPTER 46 CHAPTER 47 Assemblies and Versioning Securing Code Creating Visual Studio 2008 Setup Projects Deploying Desktop Applications Publishing Web Applications This page intentionally left .