Click or drag to resize

AWSXRayASPNET Class

The class to intercept HTTP request for ASP.NET Framework. For each request, AWSXRayASPNET will try to parse trace header from HTTP request header, and determine if tracing is enabled. If enabled, it will start a new segment before invoking inner handler. And end the segment before it returns the response to outer handler.
Inheritance Hierarchy
SystemObject
  Amazon.XRay.Recorder.Handlers.AspNetAWSXRayASPNET

Namespace:  Amazon.XRay.Recorder.Handlers.AspNet
Assembly:  AWSXRayRecorder.Handlers.AspNet (in AWSXRayRecorder.Handlers.AspNet.dll) Version: 2.6.2
Syntax
C#
public class AWSXRayASPNET

The AWSXRayASPNET type exposes the following members.

Constructors
  NameDescription
Public methodAWSXRayASPNET
Initializes a new instance of the AWSXRayASPNET class
Top
Methods
  NameDescription
Public methodStatic memberRegisterXRay(HttpApplication, SegmentNamingStrategy)
Registers X-Ray for the current object of HttpApplication class. BeginRequest, EndRequest, Error event handlers are registered with X-Ray function.
Public methodStatic memberRegisterXRay(HttpApplication, String)
Registers X-Ray for the current object of HttpApplication class. BeginRequest, EndRequest, Error event handlers are registered with X-Ray function. A segment is created at the beginning of the request and closed at the end of the request.
Top
Fields
  NameDescription
Public fieldStatic memberXRayEntity
Key name that is used to store segment in the HttpApplication.Context object of the request.
Top
See Also