Update the RaygunHttpModule for ASP.NET Framework applications to store and use a single RaygunClient instance. This avoids a new RaygunClient and in turn a ThrottledBackgroundMessageProcessor, from being created for every exception handled by the RaygunHttpModule. The ThrottledBackgroundMessageProcessor creates a number of background worker threads, so instantiating it for each exception can be costly.
Description
Update the
RaygunHttpModule
for ASP.NET Framework applications to store and use a singleRaygunClient
instance. This avoids a newRaygunClient
and in turn aThrottledBackgroundMessageProcessor
, from being created for every exception handled by theRaygunHttpModule
. TheThrottledBackgroundMessageProcessor
creates a number of background worker threads, so instantiating it for each exception can be costly.