TAILIEUCHUNG - Professional ASP.NET 3.5 in C# and Visual Basic Part 153

Professional in C# and Visual Basic Part 153. Building on the revolutionary release, adds several key new developer features including AJAX, LINQ, and a new CSS designer in Visual Web Developer 2008. The dramatic reduction in code that developers realized from the more than 50 new server controls in now allows developers the time to make their applications more interactive with AJAX, to work with data in their preferred language with LINQ, and to build visually attractive and consistent standards-based sites with CSS | Chapter 32 Instrumentation providers add name EventLogProvider type Version Culture neutral PublicKeyToken b03f5f7f11d50a3a providers The three attributes discussed so far are required attributes. The rest are considered optional attributes. The minInstances attribute defines the minimum number of times this Web event must occur before it is logged. The maxLimit attribute defines the maximum number of instances of the defined Web event that can be recorded. If instances are likely to occur because of some continuous loop you might want to add a value here. The minInterval attribute denotes the minimum time allowed between log entries. This means that if the minInterval is set to 00 01 00 and two Web events being monitored occur within 15 seconds of each other the first one is recorded but the second instance is discarded because it falls within the 1-minute setting. Within the rules section you can also see a profile attribute defined in the add elements of the rules defined. The value of this attribute comes from a definition that is supplied from the profiles section of the healthMonitoring section. This section is discussed next. profiles The profiles section enables you to define some of the behaviors for Web event monitoring. These definitions are utilized by any number of rule definitions within the rules section. An example use of the profiles section is illustrated in Listing 32-7. Listing 32-7 Using the profiles section configuration healthMonitoring enabled true eventMappings -- Code removed for clarity -- eventMappings providers -- Code removed for clarity -- providers rules -- Code removed for clarity -- rules profiles clear add name Default minInstances 1 maxLimit Infinite minInterval 00 01 00 custom Continued 1485 Chapter 32 Instrumentation add name Critical minInstances 1 maxLimit Infinite minInterval 00 00 00 custom profiles healthMonitoring configuration As with

TỪ KHÓA LIÊN QUAN
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.