Closed ousiax closed 8 years ago
HI,
It just happens when I publish my web application and host it on IIS.
And, finally, I found the magic,
namespace Glimpse.Agent.Internal.Inspectors
{
public partial class WebDiagnosticsInspector
{
[DiagnosticName("Microsoft.AspNet.Hosting.BeginRequest")]
public void OnBeginRequest(HttpContext httpContext)
{
// TODO: Not sure if this is where this should live but it's the earlist hook point we have
_contextData.Value = new MessageContext { Id = Guid.NewGuid(), Type = "Request" };
var request = httpContext.Request;
Question: How to handle this exception ?