NLog.Web.LayoutRenderers Namespace |
Class | Description | |
---|---|---|
AspNetAppBasePathLayoutRenderer |
Rendering Application BasePath. MapPath(String)("~")
| |
AspNetApplicationValueLayoutRenderer |
ASP.NET HttpContext Application Dictionary Item Value.
| |
AspNetEnvironmentLayoutRenderer |
Rendering development environment. EnvironmentName | |
AspNetItemValueLayoutRenderer |
ASP.NET HttpContext Items Dictionary Value.
| |
AspNetLayoutMultiValueRendererBase |
Layout renderers for ASP.NET rendering multiple key/value pairs.
| |
AspNetLayoutRendererBase |
Base class for ASP.NET layout renderers.
| |
AspNetMvcActionRenderer |
ASP.NET RouteData MVC Action Name.
| |
AspNetMvcControllerRenderer |
ASP.NET RouteData MVC Controller Name.
| |
AspNetMvcLayoutRendererBase | Obsolete.
Base Class for ASP.NET MVC Renderer.
| |
AspNetQueryStringLayoutRenderer |
ASP.NET Request Query String
| |
AspNetRequestBidirectionalStreamLayoutRenderer |
Indicates if the server can upgrade this request to an opaque, bidirectional stream.
1 if Capable
0 if Incapable
| |
AspNetRequestClientCertificateLayoutRenderer |
ASP.NET Client Certificate of the Connection
| |
AspNetRequestConnectionIdLayoutRenderer |
ASP.NET request connection id
| |
AspNetRequestContentLength |
ASP.NET request contentlength of the posted body
| |
AspNetRequestContentTypeLayoutRenderer |
ASP.NET HttpRequest Content-Type Header
| |
AspNetRequestCookieLayoutRenderer |
ASP.NET Request Cookie
| |
AspNetRequestDurationLayoutRenderer |
ASP.NET Request Duration
| |
AspNetRequestFormLayoutRenderer |
ASP.NET Request Form Data
| |
AspNetRequestHasPostedBodyLayoutRenderer |
Used to indicate if the request has a body.
Uses IHttpRequestBodyDetectionFeature
This returns true when:
- It's an HTTP/1.x request with a non-zero Content-Length or a 'Transfer-Encoding: chunked' header.
- It's an HTTP/2 request that did not set the END_STREAM flag on the initial headers frame.
The final request body length may still be zero for the chunked or HTTP/2 scenarios.
This returns false when:
- It's an HTTP/1.x request with no Content-Length or 'Transfer-Encoding: chunked' header, or the Content-Length is 0.
- It's an HTTP/1.x request with Connection: Upgrade(e.g.WebSockets).
There is no HTTP request body for these requests and no data should be received until after the upgrade.
- It's an HTTP/2 request that set END_STREAM on the initial headers frame. When false, the request body should never return data.
| |
AspNetRequestHeadersLayoutRenderer |
ASP.NET Request Headers
| |
AspNetRequestHostLayoutRenderer |
ASP.NET Request DNS name of the remote client
| |
AspNetRequestHttpMethodRenderer |
ASP.NET Http Request Method (POST / GET)
| |
AspNetRequestIpLayoutRenderer |
ASP.NET Request IP address of the remote client
| |
AspNetRequestIsWebSocketLayoutRenderer |
ASP.NET Is Request Web Socket
| |
AspNetRequestLocalIpLayoutRenderer |
ASP.NET Local IP of the Connection
| |
AspNetRequestLocalPortLayoutRenderer |
ASP.NET Local Port of the Connection
| |
AspNetRequestPostedBodyLayoutRenderer |
ASP.NET posted body, e.g. FORM or AJAX POST, when ContentLength > 0
| |
AspNetRequestReferrerRenderer |
ASP.NET Request Referrer URL String
| |
AspNetRequestRemotePortLayoutRenderer |
ASP.NET Remote Port of the Connection
| |
AspNetRequestRouteParametersRenderer |
ASP.NET Request Route Parameters
| |
AspNetRequestServerVariableLayoutRenderer |
ASP.NET Server Variable.
| |
AspNetRequestTrackingConsentLayoutRenderer |
ASP.NET Tracking Consent
| |
AspNetRequestUrlRenderer |
ASP.NET Request URL
| |
AspNetRequestUserAgent |
ASP.NET Request User Agent String
| |
AspNetRequestValueLayoutRenderer |
ASP.NET Request Context variable.
| |
AspNetRequestWebSocketRequestedProtocolsLayoutRenderer |
ASP.NET Web Socket Requested Protocols
| |
AspNetResponseContentLength |
ASP.NET Response ContentLength
| |
AspNetResponseContentTypeLayoutRenderer |
ASP.NET HttpResponse Content-Type Header
| |
AspNetResponseCookieLayoutRenderer |
ASP.NET Response Cookie
| |
AspNetResponseHasStartedLayoutRenderer |
ASP.NET response headers already sent, in other words the response has started
| |
AspNetResponseHeadersLayoutRenderer |
ASP.NET Response Headers
| |
AspNetResponseStatusCodeRenderer |
ASP.NET Response Status Code.
| |
AspNetSessionIdLayoutRenderer |
ASP.NET Session ID.
| |
AspNetSessionValueLayoutRenderer |
ASP.NET Session Dictionary Item Value
| |
AspNetTraceIdentifierLayoutRenderer |
ASP.NET Request TraceIdentifier.
| |
AspNetUserAuthTypeLayoutRenderer |
ASP.NET User Identity AuthenticationType
| |
AspNetUserClaimLayoutRenderer |
ASP.NET User ClaimType Value Lookup.
| |
AspNetUserIdentityLayoutRenderer |
ASP.NET User Identity Name
| |
AspNetUserIsAuthenticatedLayoutRenderer |
ASP.NET User Identity Authenticated? (0 = not authenticated, 1 = authenticated)
| |
AspNetWebRootPathLayoutRenderer |
Rendering WebRootPath. MapPath(String)("/")
| |
AssemblyVersionLayoutRenderer |
Extend NLog.LayoutRenderers.AssemblyVersionLayoutRenderer with ASP.NET Full and Core support
| |
IISInstanceNameLayoutRenderer |
Rendering site name in IIS. SiteName |
Enumeration | Description | |
---|---|---|
SessionValueType |
The type of a value
|