PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Adapters.​Asp­Net­Core Namespace / Asp­Net­Core­Request­Expression­Model Structure / Asp­Net­Core­Request­Expression­Model Properties

AspNetCoreRequestExpressionModel Properties

The AspNetCoreRequestExpressionModel type exposes the following members.

Properties
  NameDescription
Public propertyContext
Gets the full HttpContext object.
Public propertyMethod
Gets the HTTP method (such as GET).
Public propertyPath
Gets the path of the URL, starting with a /.
Public propertyProtocol
Gets the request protocol (such HTTP/1.1).
Public propertyQueryString
Gets the query string starting with a ?, or null.
Public propertyRemoteIpAddress
Gets the IP address of the remote client.
Public propertyScheme
Gets the request scheme, for instance http or https.
Public propertyUser
Gets the name of the current authenticated user, or null.
See Also