Access to HttpContext in a custom IRaygunAspNetCoreClientProvider

steve

Posted on
Oct 28 2016

I see that there is a new feature in Raygun4Net.AspNetCore 5.3.2 where the custom IRaygunAspNetCoreClientProvider can get access to the current HttpContext. That is great news. Can someone provide a code sample of how that's actually done?

Perhaps just adding that to the ExampleRaygunAspNetCoreClientProvider sample here: https://raygun.com/docs/languages/net/netcore

Thanks!


Jason Fauchelle

Raygun

Posted on
Nov 04 2016

Hi Steve,

Thanks for contacting us about this. We've updated the documentation in the section that you mentioned: https://raygun.com/docs/languages/net/netcore#raygun-middleware

This includes a code example of how to use the HttpContext within the custom client provider, as well as an example of how to pass in the HttpContext while performing manual sends.

Please let us know if you have further questions about this.

Regards -Jason Fauchelle


steve

Posted on
Nov 12 2016

Thanks very much Jason!


Reply