AspNet Request IsWebSocket Layout Renderer
Rolf Kristensen edited this page Jul 18, 2022
·
4 revisions
ASP.NET Request HttpContext.WebSockets.IsWebSocketRequest as 1
or 0
Platforms Supported: All
Introduced with NLog.Web.AspNetCore v5.1.0 and NLog.Web v5.1.0
${aspnet-request-is-web-socket}
- Troubleshooting Guide - See available NLog Targets and Layouts: https://nlog-project.org/config
- Getting started
- How to use structured logging
- Troubleshooting
- FAQ
-
All targets, layouts and layout renderers
Popular: - Using NLog with NLog.config
- Using NLog with appsettings.json