raygun4net
raygun4net copied to clipboard
HttpContext.Current is null when attaching RaygunWebApiClient
When we've added RaygunWebApiClient to a project using both Web Forms and API programming models, we started to get exceptions that HttpContext.Current is null on file uploads.
The setup looked something like this:
GlobalConfiguration.Configure(config =>
{
RaygunWebApiClient.Attach(config);
// ...
}
Any ideas why this may happen?
My team and I are having the same problem in the same scenario :/
This should no longer be a problem, the client used to require the context to be set on a request by request basis but now thats encapsulated into the client itself.