You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
@tomasr - is there an easy way to detect that the request was processed by WCF infra from HttpModule? I am looking for a way to notify WCF users that they need to install WCF NuGet for better information collection from the standard ApplicationInsights.Web NuGet.
I'm thinking maybe some routing information got stored in HttpContext or something like this.
The text was updated successfully, but these errors were encountered:
Not sure, but maybe checking HttpContext.Handler against known handlers? For integrated pipeline mode, this should be System.ServiceModel.Activation.HttpHandler, System.ServiceModel.Activation.ServiceHttpHandlerFactory, or System.ServiceModel.Activation.AspNetRouteServiceHttpHandler.
Not entirely sure this would be possible at the stage your're hooking into, but might be a possibility.
I did some more checking on this, and it would appear that if you wanted to use HttpContext.Current, you'd need to also hook into the PostMapRequestHandler event (which can fire multiple times for each request), as looking at this either in BeginRequest or EndRequest would just return null.
Not sure if this is something you'd be able to do.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
@tomasr - is there an easy way to detect that the request was processed by WCF infra from HttpModule? I am looking for a way to notify WCF users that they need to install WCF NuGet for better information collection from the standard
ApplicationInsights.Web
NuGet.I'm thinking maybe some routing information got stored in
HttpContext
or something like this.The text was updated successfully, but these errors were encountered: