• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/55

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

55 Cards in this Set

  • Front
  • Back
What configuration element contains Health-monitoring settings?
healthMonitoring
What configuration element contains information about types of web events?
healthMonitoring/eventMappings
What configuration element contains information about event listeners?
healthMonitoring/providers
What configuration element contains information about provider event subscription?
healthMonitoring/rules
How can a web event be disabled?
Remove all references to the event from the rules configuration section.
What are the benefits of using event buffering when using health monitoring events?
1. Helps reduce the impact on application performance of sending frequent e-mail messages or performing frequent SQL server insertions.
2. Protects the SMTP server and SQL Server from heavy loads due to high event volume.
What configuration element can be used to clear all health monitoring rules?
healthMonitoring/rules/

<clear />
What class defines the base class for the ASP.NET health monitoring events?
WebBaseEvent
What is the base class for non buffered event providers?
WebEventProvider
What is the base class for buffered event providers?
BufferedWebEventProvider
What are the two groups of performance counters supported by ASP.NET?
1. System
2. Application
What class can be used for both reading existing predefined or custom counters and publishing performance data to custom counters?
System.Diagnostics.PerformanceCounter
What property can be used to set or retrieve the uncalculated value of a performance counter?
PerformanceCounter.RawValue
What method can be used to retrieve the next calculated value that the system obtains for a performance counter?
PerformanceCounter.NextValue
What attribute of the @Page directive can be used to enable tracing in a web page?
Trace (Defaults to false)
What attribute of the @Page directive can be used to control the order in which trace messages are displayed?
TraceMode (Defaults to SortByTime)
What are the two types of trace modes for a page?
1. SortByTime
2. SortByCategory
What takes precedence, the Trace attribute in a @Page directive or attributes in a trace configuration element?
Trace attribute in a @Page directive
What configuration element can be used to enable application level tracing for a website?
trace
What attribute, of the trace configuration element, specifies whether page output is rendered at the bottom of a page or not at all?
pageOutput
What attribute, of the trace configuration element, specifies the number of trace requests to store on the server?
requestLimit (defaults to 10)
What attribute, of the trace configuration element, allows application-level trace information to be visible from remote computers?
localOnly (default is true)
What property can be used to get the TraceContext for the current web request or to write custom trace messages to the ASP.NET trace output?
Page.Trace
What method can be used to write messages to the trace log that will be rendered as red text?
TraceContext.Warn
What two methods can be used to write trace information to the trace log?
1. TraceContext.Write
2. TraceContext.Warn
What are two ways to view trace output?
1. In the page
2. In the Trace Viewer (trace.axd)
How can System.Diagnostics trace output be displayed in the trace output for an ASP.NET page?
1. Add a WebPageTraceListener
2. Compile the code that calls System.Diagnostics.Trace with the TRACE compiler switch enabled
What two caching mechanisms are provided by ASP.NET?
1. Application
2. Page Output
What are two ways to configure page caching?
1. Individually for each page
2. Create cache profiles in the Web.config file
What two models of page caching are available?
1. Full page caching
2. Partial page caching
What are two ways partial page caching can work?
1. Control caching
2. Post-cache substitution
What are the main concepts of control caching, when using partial page caching?
1. The page is not cached
2. Specific page content is cached
What are the main concepts of post-cache substitution, when using partial page caching?
1. The page is cached
2. Specific page content is not cached
What are the two types of expiration policies that can be applied to items stored in the cache?
1. Sliding
2. Absolute
What directive can be used to declaratively control the output caching policies of an ASP.NET page or a user control contained in a page?
@OutputCache
What attribute, of the @OutputCache directive, can be used to specify the time, in seconds, that the page or user control is cached?
Duration
What attribute, of the @OutputCache directive, can be used to specify a semicolon-separated list of strings used to vary the output cache of a page?
VaryByParam
What attribute, of the @OutputCache directive, can be used to specify a semicolon-separated list of strings used to vary a user control's output cache?
VaryByControl
What configuration element can be used to create cache profiles for application-level caching?
outputCacheSettings/outputCacheProfiles
What attribute, of the @OutputCache directive, is used to specify where the output cache for a page is stored?
Location
What property can be used to retrieve the caching policy (HttpCachePolicy) of a web page?
Response.Cache
What method can be used to set the Cache-Control HTTP header for a page?
HttpCachePolicy.SetCacheability
What attribute, of the @OutputCache directive, can be used to specify the name of a caching profile for a page to use?
CacheProfile
What method can be used to programmatically set the expiration time for a page?
HttpCachePolicy.SetExpires
What method registers a callback allowing custom logic to be executed when checking the validity of a chached page?
HttpCachePolicy.AddValidationCallback
What are the possible return values from a cache validation handler?
1. Invalid
2. IgnoreThisRequest (cache miss)
3. Valid
What method can be used to create a dependency between a file and cached page output?
HttpResponse.AddFileDependency
What class implements caching for web application data?
Cache
What delegate is available to enable notification of an item being removed from the cache?
CacheItemRemovedCallback
What configuration element can be used to configure the caching of application data?
cache
What four attributes of the @OutputCache directive can be used to cache mulitple versions of page output?
1. VaryByHeader
2. VaryByControl
3. VaryByParam
4. VaryByCustom
What attribute can be used with Web Form user controls to indicate if and how their output is cached?
PartialCachingAttribute
What attribute, of the @OutputCache directive, allows a user control's output to be cached once and used by multiple pages?
Shared
What control can be used to specify a section of a cached page that is created dynamically rather than cached?
Substitution control
What property is used to get or set the name of the callback method to invoke when the Substitution control executes?
Substitution.MethodName