Click or drag to resize

NLog.Web.LayoutRenderers Namespace

 
Classes
  ClassDescription
Public classAspNetAppBasePathLayoutRenderer
Rendering Application BasePath. MapPath(String)("~")
Public classCode exampleAspNetApplicationLayoutRenderer
ASP.NET HttpContext Application Dictionary Item Value.
Public classAspNetEnvironmentLayoutRenderer
Rendering development environment. EnvironmentName
Public classCode exampleAspNetHttpContextItemLayoutRenderer
ASP.NET HttpContext Items Dictionary Value.
Public classAspNetLayoutMultiValueRendererBase
Layout renderers for ASP.NET rendering multiple key/value pairs.
Public classAspNetLayoutRendererBase
Base class for ASP.NET layout renderers.
Public classAspNetMvcActionLayoutRenderer
ASP.NET RouteData MVC Action Name.
Public classAspNetMvcControllerLayoutRenderer
ASP.NET RouteData MVC Controller Name.
Public classAspNetMvcLayoutRendererBase Obsolete.
Base Class for ASP.NET MVC Renderer.
Public classAspNetRequestBidirectionalStreamLayoutRenderer
Indicates if the server can upgrade this request to an opaque, bidirectional stream. 1 if Capable 0 if Incapable
Public classAspNetRequestClientCertificateLayoutRenderer
ASP.NET Client Certificate of the Connection
Public classAspNetRequestConnectionIdLayoutRenderer
ASP.NET request connection id
Public classAspNetRequestContentLengthLayoutRenderer
ASP.NET request contentlength of the posted body
Public classAspNetRequestContentTypeLayoutRenderer
ASP.NET HttpRequest Content-Type Header
Public classAspNetRequestCookieLayoutRenderer
ASP.NET Request Cookie
Public classAspNetRequestDurationLayoutRenderer
ASP.NET Request Duration
Public classAspNetRequestFormLayoutRenderer
ASP.NET Request Form Data
Public classAspNetRequestHasPostedBodyLayoutRenderer
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.
Public classAspNetRequestHeadersLayoutRenderer
ASP.NET Request Headers
Public classAspNetRequestHostLayoutRenderer
ASP.NET Request DNS name of the remote client
Public classAspNetRequestIpLayoutRenderer
ASP.NET Request IP address of the remote client
Public classAspNetRequestIsWebSocketLayoutRenderer
ASP.NET Is Request Web Socket
Public classAspNetRequestLayoutRenderer
ASP.NET Request Context variable.
Public classAspNetRequestLocalIpLayoutRenderer
ASP.NET Local IP of the Connection
Public classAspNetRequestLocalPortLayoutRenderer
ASP.NET Local Port of the Connection
Public classAspNetRequestMethodLayoutRenderer
ASP.NET Http Request Method (POST / GET)
Public classAspNetRequestPostedBodyLayoutRenderer
ASP.NET posted body, e.g. FORM or AJAX POST, when ContentLength > 0
Public classAspNetRequestQueryStringLayoutRenderer
ASP.NET Request Query String
Public classAspNetRequestReferrerLayoutRenderer
ASP.NET Request Referrer URL String
Public classAspNetRequestRemotePortLayoutRenderer
ASP.NET Remote Port of the Connection
Public classAspNetRequestRouteParametersLayoutRenderer
ASP.NET Request Route Parameters
Public classAspNetRequestServerVariableLayoutRenderer
ASP.NET Server Variable.
Public classAspNetRequestTrackingConsentLayoutRenderer
ASP.NET Tracking Consent
Public classAspNetRequestUrlLayoutRenderer
ASP.NET Request URL
Public classAspNetRequestUserAgentLayoutRenderer
ASP.NET Request User Agent String
Public classAspNetRequestWebSocketRequestedProtocolsLayoutRenderer
ASP.NET Web Socket Requested Protocols
Public classAspNetResponseContentLengthLayoutRenderer
ASP.NET Response ContentLength
Public classAspNetResponseContentTypeLayoutRenderer
ASP.NET HttpResponse Content-Type Header
Public classAspNetResponseCookieLayoutRenderer
ASP.NET Response Cookie
Public classAspNetResponseHasStartedLayoutRenderer
ASP.NET response headers already sent, in other words the response has started
Public classAspNetResponseHeadersLayoutRenderer
ASP.NET Response Headers
Public classAspNetResponseStatusCodeLayoutRenderer
ASP.NET Response Status Code.
Public classAspNetSessionIdLayoutRenderer
ASP.NET Session ID.
Public classCode exampleAspNetSessionItemLayoutRenderer
ASP.NET Session Dictionary Item Value
Public classAspNetTraceIdentifierLayoutRenderer
ASP.NET Request TraceIdentifier.
Public classAspNetUserAuthTypeLayoutRenderer
ASP.NET User Identity AuthenticationType
Public classAspNetUserClaimLayoutRenderer
ASP.NET User ClaimType Value Lookup.
Public classAspNetUserIdentityLayoutRenderer
ASP.NET User Identity Name
Public classAspNetUserIsAuthenticatedLayoutRenderer
ASP.NET User Identity Authenticated? (0 = not authenticated, 1 = authenticated)
Public classAspNetWebRootPathLayoutRenderer
Rendering WebRootPath. MapPath(String)("/")
Public classAssemblyVersionLayoutRenderer
Extend NLog.LayoutRenderers.AssemblyVersionLayoutRenderer with ASP.NET Full and Core support
Public classIISSiteNameLayoutRenderer
Rendering site name in IIS. SiteName
Enumerations
  EnumerationDescription
Public enumerationSessionValueType
The type of a value