PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Adapters.​Asp­Net­Framework
Open sandboxFocus

PostSharp.Patterns.Diagnostics.Adapters.AspNetFramework Namespace

Classes

AspNetFrameworkRequestMetadata

The default implementation of LogEventMetadata and incoming legacy ASP.NET requests. Exposes an AspNetFrameworkRequestExpressionModel to the policy configuration file.

AspNetFrameworkRequestMetadata<T>

A base implementation of LogEventMetadata for legacy ASP.NET incoming HTTP requests. You can derive from this class if you want to expose your own expression model. The default implementation is the non-generic AspNetFrameworkRequestMetadata, which exposes AspNetFrameworkRequestExpressionModel.

PostSharpLoggingHttpModule

An System.Web.IHttpModule that defines a PostSharp Logging activity (and possibly a transaction) for incoming HTTP requests. This module can be added as such to web.config. It can also be derived in a custom class, which allows to override the LogEventMetadata. The default implementation is AspNetFrameworkRequestMetadata.

Structs

AspNetFrameworkRequestExpressionModel

Exposes a legacy ASP.NET request to the transaction policy expressions (see OpenTransactionExpressionModel.Request and CloseTransactionExpressionModel.Request). The type attribute of the policy element must be set to AspNetCoreRequest to match requests of this class.