protected void PreProcessRequest(HttpListenerContext context) { if (context?.Request == null) { return; } context.SetRequestId(); RequestLog.LogRequest(new HttpContextWrapper(context)); }