Skip to main content
PostSharp avatar

PostSharp

NuGet publisher profile

Packages
109
Total Downloads
90.1M
90,071,035

Packages (109)

PostSharp package icon

PostSharp

The #1 pattern-aware extension to C# and VB.

20.6M
downloads
PostSharp.Redist package icon

PostSharp.Redist

Redistributable components for package 'PostSharp'. This package should only be installed as a dependency. (This is not the package you are looking for).

15.2M
downloads
PostSharp.Patterns.Common.Redist package icon

PostSharp.Patterns.Common.Redist

Redistributable components for package 'PostSharp.Patterns.Common'. This package should only be installed as a dependency. (This is not the package you are looking for).

6.4M
downloads
PostSharp.Patterns.Common package icon

PostSharp.Patterns.Common

Code Contracts and common functionalities used by other PostSharp pattern libraries. An official PostSharp pattern library.

5.2M
downloads
PostSharp.Patterns.Model package icon

PostSharp.Patterns.Model

INotifyPropertyChanged, Recordable (undo/redo) and Weak Event patterns. An official PostSharp pattern library.

3.2M
downloads
PostSharp.Patterns.Diagnostics.Redist package icon

PostSharp.Patterns.Diagnostics.Redist

Redistributable components for package 'PostSharp.Patterns.Diagnostics'. This package should only be installed as a dependency. (This is not the package you are looking for).

3.1M
downloads
PostSharp.Patterns.Diagnostics package icon

PostSharp.Patterns.Diagnostics

Adds detailed tracing to any method without modifying your source code. Several backends are available as separate NuGet packages. An official PostSharp pattern library.

3.1M
downloads
PostSharp.Patterns.Aggregation.Redist package icon

PostSharp.Patterns.Aggregation.Redist

Redistributable components for package 'PostSharp.Patterns.Aggregation'. This package should only be installed as a dependency. (This is not the package you are looking for).

2.7M
downloads
PostSharp.Patterns.Model.Redist package icon

PostSharp.Patterns.Model.Redist

Redistributable components for package 'PostSharp.Patterns.Model'. This package should only be installed as a dependency. (This is not the package you are looking for).

2.3M
downloads
PostSharp.Patterns.Aggregation package icon

PostSharp.Patterns.Aggregation

Aggregatable (parent-child), Visitor and Disposable patterns. An official PostSharp pattern library.

2.3M
downloads
Metalama.Compiler package icon

Metalama.Compiler

A fork of the Roslyn compiler that adds an extension point allowing for syntax tree transformations. This fork is used by the Metalama framework.

1.6M
downloads
PostSharp.Patterns.Diagnostics.Log4Net package icon

PostSharp.Patterns.Diagnostics.Log4Net

PostSharp.Patterns.Diagnostics: support for Log4Net.

1.6M
downloads
Metalama.Framework package icon

Metalama.Framework

An open-source patterns & architecture toolkit for C#. Define your team's patterns once: the compiler writes the repetitive parts at build time and enforces your rules as you type.

1.5M
downloads
Metalama.Framework.Redist package icon

Metalama.Framework.Redist

Redistributable components for package 'Metalama.Framework'. This package should only be installed as a dependency. (This is not the package you are looking for.)

1.5M
downloads
PostSharp.Patterns.Threading package icon

PostSharp.Patterns.Threading

Adds a concept of thread safety to C# and VB so that most threading defects are detected at build-time or in a single-threaded test coverage. Includes a deadlock detection policy and thread dispatching aspects. An official PostSharp pattern library.

1.4M
downloads
PostSharp.Patterns.Diagnostics.NLog package icon

PostSharp.Patterns.Diagnostics.NLog

PostSharp.Patterns.Diagnostics: support for NLog.

1.4M
downloads
PostSharp.Patterns.Caching.Redist package icon

PostSharp.Patterns.Caching.Redist

Redistributable components for package 'PostSharp.Patterns.Caching'. This package should only be installed as a dependency. (This is not the package you are looking for).

1.3M
downloads
PostSharp.Patterns.Xaml package icon

PostSharp.Patterns.Xaml

Command, Dependency Property and Attached Property patterns. Also contains WPF controls for PostSharp.Patterns.Model. An official PostSharp pattern library.

1.1M
downloads
PostSharp.Patterns.Caching package icon

PostSharp.Patterns.Caching

Cache and InvalidateCache patterns. An official PostSharp pattern library.

1.0M
downloads
PostSharp.Patterns.Threading.Redist package icon

PostSharp.Patterns.Threading.Redist

Redistributable components for package 'PostSharp.Patterns.Threading'. This package should only be installed as a dependency. (This is not the package you are looking for).

802.3K
downloads
PostSharp.Patterns.Diagnostics.Serilog package icon

PostSharp.Patterns.Diagnostics.Serilog

PostSharp.Patterns.Diagnostics: support for Serilog.

673.3K
downloads
PostSharp.Patterns.Diagnostics.EnterpriseLibrary package icon

PostSharp.Patterns.Diagnostics.EnterpriseLibrary

PostSharp.Patterns.Diagnostics: support for EnterpriseLibrary.Logging.

663.4K
downloads
PostSharp.Patterns.Diagnostics.Tracing package icon

PostSharp.Patterns.Diagnostics.Tracing

PostSharp.Patterns.Diagnostics: support for Trace, TraceSource and EventSource.

648.1K
downloads
Metalama.Extensions.DependencyInjection package icon

Metalama.Extensions.DependencyInjection

An official and open-source Metalama extension that allows aspects to consume dependencies from an arbitrary dependency injection framework.

548.8K
downloads
PostSharp.Compiler.Common package icon

PostSharp.Compiler.Common

Part of the PostSharp compiler infrastructure. For PostSharp internal use only.

538.8K
downloads
PostSharp.Patterns.Caching.Redis package icon

PostSharp.Patterns.Caching.Redis

PostSharp.Patterns.Caching: support for Redis.

498.8K
downloads
Metalama.Framework.RunTime package icon

Metalama.Framework.RunTime

Run-time components for package 'Metalama.Framework'. This package should usually only be installed as a dependency. (This is not the package you are looking for, unless you've performed `metalama divorce`.)

494.7K
downloads
PostSharp.Patterns.Caching.Azure package icon

PostSharp.Patterns.Caching.Azure

PostSharp.Patterns.Caching: Support for Windows Azure.

467.9K
downloads
PostSharp.Patterns.Diagnostics.Microsoft package icon

PostSharp.Patterns.Diagnostics.Microsoft

PostSharp.Patterns.Diagnostics: support for Microsoft.Extensions.Logging.

463.0K
downloads
PostSharp.Patterns.Xaml.Redist package icon

PostSharp.Patterns.Xaml.Redist

Redistributable components for package 'PostSharp.Patterns.Xaml'. This package should only be installed as a dependency. (This is not the package you are looking for).

416.3K
downloads
PostSharp.Compiler.Engine package icon

PostSharp.Compiler.Engine

Allows to build PostSharp adds-ins using the low-level API. Undocumented and unsupported.

386.4K
downloads
PostSharp.Compiler.Settings package icon

PostSharp.Compiler.Settings

Provides access to PostSharp registry settings and license. For PostSharp internal use only.

358.5K
downloads
PostSharp.Patterns.Diagnostics.Loupe package icon

PostSharp.Patterns.Diagnostics.Loupe

PostSharp.Patterns.Diagnostics: support for Gibraltar Loupe.

321.7K
downloads
PostSharp.Sdk package icon

PostSharp.Sdk

PostSharp SDK allows for development of PostSharp add-ins using low-level APIs.

301.2K
downloads
PostSharp.Patterns.Diagnostics.ApplicationInsights package icon

PostSharp.Patterns.Diagnostics.ApplicationInsights

PostSharp.Patterns.Diagnostics: support for Microsoft Application Insights.

288.5K
downloads
PostSharp.Patterns.Diagnostics.CommonLogging package icon

PostSharp.Patterns.Diagnostics.CommonLogging

PostSharp.Patterns.Diagnostics: support for Common.Logging.

284.6K
downloads
PostSharp.Engineering.BuildTools package icon

PostSharp.Engineering.BuildTools

A multi-repo build orchestrator used by PostSharp Technologies for its products and for Metalama.

271.3K
downloads
PostSharp.Engineering.Sdk package icon

PostSharp.Engineering.Sdk

A multi-repo build orchestrator used by PostSharp Technologies for its products and for Metalama.

255.5K
downloads
Metalama.Backstage package icon

Metalama.Backstage

A Metalama package providing licensing, telemetry and other configuration settings for projects using Metalama.

249.1K
downloads
Metalama.Tool package icon

Metalama.Tool

A Metalama command line tool. Used for registering a license key or accessing some configuration settings.

214.0K
downloads
PostSharp.Patterns.Model.Controls package icon

PostSharp.Patterns.Model.Controls

Controls and commands for the PostSharp Model Pattern Library.

212.7K
downloads
Metalama.Framework.Sdk package icon

Metalama.Framework.Sdk

Metalama SDK. Lets you extend Metalama with the Roslyn API. Unlike source generators, which can only add code, an SDK-based aspect weaver can modify existing syntax trees.

199.3K
downloads
Metalama.Framework.Introspection package icon

Metalama.Framework.Introspection

Provides introspection of Metalama aspect classes, aspect instances and diagnostics reported by Metalama.

187.0K
downloads
Metalama.Compiler.Sdk package icon

Metalama.Compiler.Sdk

Defines the ISourceTransformer interface as well as other APIs that allow you to write source transformers for Metalama.Compiler.

184.6K
downloads
Metalama.Extensions.Multicast package icon

Metalama.Extensions.Multicast

An official and open-source Metalama extension that emulates PostSharp multicasting.

179.7K
downloads
PostSharp.Compiler.Client package icon

PostSharp.Compiler.Client

This package allows to start and communicate with PostSharp Compiler Service. It is used by PostSharp.Dnx. This package will be deleted when PostSharp.Dnx will be merged into the stable PostSharp package.

176.2K
downloads
Metalama.Framework.Engine package icon

Metalama.Framework.Engine

The main implementation of Metalama.Framework. It should normally never be referenced in any user project.

160.7K
downloads
Metalama.Patterns.Contracts package icon

Metalama.Patterns.Contracts

Contract-Based Programming (or Design-by-Contract) with custom attributes such as [NotNull] or [Url] thanks to Metalama: pre-conditions, post-conditions and invariants.

140.0K
downloads
Flashtrace.Formatters package icon

Flashtrace.Formatters

Implements fast and pluggable string formatters. Used by Metalama.Patterns.Caching.

134.4K
downloads
Metalama.Testing.UnitTesting package icon

Metalama.Testing.UnitTesting

Package Description

130.1K
downloads
Metalama.Extensions.DependencyInjection.ServiceLocator package icon

Metalama.Extensions.DependencyInjection.ServiceLocator

A Metalama framework adapter that locates and pulls dependencies from a global service provider.

129.4K
downloads
Metalama.Framework.CompileTimeContracts package icon

Metalama.Framework.CompileTimeContracts

Defines the interface between the transformed compile-time user code and the Metalama engine. The package should normally never be referenced in any user project.

124.9K
downloads
Flashtrace package icon

Flashtrace

A helper package implementing a logging front-end for Metalama.Patterns.Caching.

124.8K
downloads
Metalama.Testing.AspectTesting package icon

Metalama.Testing.AspectTesting

Test framework for Metalama aspects and fabrics. This is not your typical test framework. When referencing this package, every _file_ is turned into a test by default. Please read the documentation before use.

121.6K
downloads
Metalama.Patterns.Caching.Backend package icon

Metalama.Patterns.Caching.Backend

Package Description

114.9K
downloads
Metalama.Patterns.Caching package icon

Metalama.Patterns.Caching

A caching front-end that can be plugged different backends and helps with building the cache key, coping with special return types, invalidating the cache (directory or with dependencies). This package does not require the Metalama Aspect Framework.

112.7K
downloads
PostSharp.Patterns.Caching.IMemoryCache package icon

PostSharp.Patterns.Caching.IMemoryCache

PostSharp.Patterns.Caching: Compatibility with Microsoft's IMemoryCache.

104.1K
downloads
PostSharp.Patterns.Diagnostics.DiagnosticSource package icon

PostSharp.Patterns.Diagnostics.DiagnosticSource

PostSharp.Patterns.Diagnostics: event collection from System.Diagnostics.DiagnosticListener.

102.0K
downloads
Metalama.Extensions.Architecture package icon

Metalama.Extensions.Architecture

A commercial Metalama extension that allows to verify the code against architecture rules.

97.8K
downloads
Metalama.Patterns.Memoization package icon

Metalama.Patterns.Memoization

Simple and high-performance caching of properties or parameterless methods with a single [Memo] custom attribute thanks to Metalama.

91.8K
downloads
Metalama.Extensions.Metrics package icon

Metalama.Extensions.Metrics

A Metalama extension that exposes code metrics to the code model.

84.9K
downloads
Metalama.Framework.Workspaces package icon

Metalama.Framework.Workspaces

A Metalama package that allows you to load solutions and projects, get their code model, execute Metalama on them, and get the introspection model of the compilation result.

84.0K
downloads
Metalama.Patterns.Observability package icon

Metalama.Patterns.Observability

Implements the Observable pattern and the INotifyPropertyChanged interface with a single [Observable] attribute thanks to Metalama. Supports both automatic and explicit properties and child objects.

81.2K
downloads
PostSharp.Patterns.Diagnostics.AspNetCore package icon

PostSharp.Patterns.Diagnostics.AspNetCore

PostSharp.Patterns.Diagnostics: instruments incoming ASP.NET Core HTTP requests.

80.1K
downloads
Metalama.Patterns.Caching.Aspects package icon

Metalama.Patterns.Caching.Aspects

A set of aspects that simplify the caching: [Cache] to cache a method result as a function of its parameters, [InvalidateCache] to invalidate the cache, or [CacheKey] to mark a cache key in a class.

78.0K
downloads
Metalama.Community.AutoCancellationToken package icon

Metalama.Community.AutoCancellationToken

A Metalama weaver that automatically adds CancellationToken to your method definitions and your method calls.

74.8K
downloads
Metalama.Patterns.Immutability package icon

Metalama.Patterns.Immutability

Represents the concept of Immutable Type so that it can be used by other packages like Metalama.Patterns.Observability.

73.8K
downloads
Metalama.Backstage.Tools package icon

Metalama.Backstage.Tools

A helper package used internally by Metalama to process telemetry and provide a user interface.

72.5K
downloads
PostSharp.Patterns.Diagnostics.Configuration package icon

PostSharp.Patterns.Diagnostics.Configuration

Allows for configuring transaction policies via an XML document.

70.4K
downloads
Metalama.Community.Virtuosity package icon

Metalama.Community.Virtuosity

A Metalama weaver that makes all methods in a type virtual.

70.4K
downloads
Metalama.LinqPad package icon

Metalama.LinqPad

Loads any C# project or solution into LINQPad and exposes its code model to queries. This package contains an optional driver, samples, and dumping methods.

69.8K
downloads
PostSharp.Engineering.DocFx package icon

PostSharp.Engineering.DocFx

A multi-repo build orchestrator used by PostSharp Technologies for its products and for Metalama.

61.7K
downloads
Metalama.Migration package icon

Metalama.Migration

A package containing annotated PostSharp API, documenting its Metalama equivalent. It is only useful when migrating PostSharp to Metalama, and must then be removed.

56.7K
downloads
Metalama.Community.Costura.Redist package icon

Metalama.Community.Costura.Redist

Redistributable components for package 'Metalama.Community.Costura'. This package should only be installed as a dependency. (This is not the package you are looking for if you want to use Metalama.Community.Costura).

55.3K
downloads
Metalama.Community.Costura package icon

Metalama.Community.Costura

A Metalama weaver that embeds dependent assemblies as managed resources. A fork of Costura.Fody.

46.4K
downloads
PostSharp.Engineering.BuildTools.AWS package icon

PostSharp.Engineering.BuildTools.AWS

Package Description

46.0K
downloads
PostSharp.Patterns.Diagnostics.HttpClient package icon

PostSharp.Patterns.Diagnostics.HttpClient

PostSharp.Patterns.Diagnostics: instrumentation of HttpClient.

45.5K
downloads
PostSharp.Patterns.Diagnostics.AspNetFramework package icon

PostSharp.Patterns.Diagnostics.AspNetFramework

PostSharp.Patterns.Diagnostics: instruments incoming legacy ASP.NET HTTP requests thanks to an IHttpModule.

44.8K
downloads
Metalama.Patterns.Caching.Backends.Redis package icon

Metalama.Patterns.Caching.Backends.Redis

Redis back-end for Metalama.Patterns.Caching. Implements both caching and cache invalidation over Redis Pub/Sub

43.6K
downloads
Metalama.Documentation.QuickStart package icon

Metalama.Documentation.QuickStart

Contains trivial aspects used in Metalama's getting started documentation. Do not use in production code.

35.5K
downloads
Metalama.Licensing package icon

Metalama.Licensing

Fails the build if the project or user does not have a valid Metalama license.

35.3K
downloads
Metalama.Patterns.Caching.Backends.Azure package icon

Metalama.Patterns.Caching.Backends.Azure

Synchronizes the invalidation of distributed Metalama.Patterns.Caching caches over Azure Service Bus.

32.4K
downloads
Metalama.Extensions.Validation.Redist package icon

Metalama.Extensions.Validation.Redist

The redistributable package for Metalama.Extensions.Validation, which does not force projects to implicitly use the Metalama compiler.

26.1K
downloads
Metalama.Backstage.Testing package icon

Metalama.Backstage.Testing

A helper package used internally by Metalama to test telemetry and user interface.

23.8K
downloads
Metalama.Extensions.Validation package icon

Metalama.Extensions.Validation

A commercial extension to Metalama.Framework that allows you to validate code and code references.

23.5K
downloads
Metalama.Backstage.Commands package icon

Metalama.Backstage.Commands

A helper package used internally by Metalama to process telemetry and provide a user interface.

21.3K
downloads
Metalama.Patterns.Wpf package icon

Metalama.Patterns.Wpf

Automatically implements WPF dependency properties from a C# automatic property and WPF commands from a C# method thanks to Metalama.

20.9K
downloads
PostSharp.Community.ToString package icon

PostSharp.Community.ToString

Auto-generates `ToString()` based on your class's fields and/or properties.

16.0K
downloads
Metalama.Patterns.TestHelpers package icon

Metalama.Patterns.TestHelpers

This package contains helper classes used when developing unit tests for new CachingBackend implementations. You don't need this package in any other scenarios.

15.9K
downloads
Metalama.Extensions.CodeFixes.Redist package icon

Metalama.Extensions.CodeFixes.Redist

The redistributable package for Metalama.Extensions.CodeFixes, which does not implicitly cause referencing projects to use the Metalama compiler.

15.5K
downloads
Metalama.Framework.Implementation.5.0.0 package icon

Metalama.Framework.Implementation.5.0.0

The implementation assemblies of Metalama.Framework for Roslyn 5.0.0. This package should normally never be referenced in any user project.

13.3K
downloads
Metalama.Patterns.Caching.TestHelpers package icon

Metalama.Patterns.Caching.TestHelpers

This package contains helper classes used when developing unit tests for new CachingBackend implementations. You don't need this package in any other scenarios.

13.0K
downloads
Metalama.Extensions.CodeFixes package icon

Metalama.Extensions.CodeFixes

A commercial Metalama extension that allows to attach code fix suggestions to errors and warnings, and to suggest code refactorings.

12.9K
downloads
Metalama.Framework.Implementation package icon

Metalama.Framework.Implementation

The implementation assemblies of Metalama.Framework. It should normally never be referenced in any user project.

9.4K
downloads
PostSharp.Community.Packer package icon

PostSharp.Community.Packer

Embeds dependencies as resources so that you have a standalone executable

7.7K
downloads
Metalama.Patterns.Xaml package icon

Metalama.Patterns.Xaml

Provides custom

7.7K
downloads
PostSharp.Compiler.Platforms package icon

PostSharp.Compiler.Platforms

Compiler platform libraries. For PostSharp internal use only.

7.0K
downloads
Metalama.Testing.Hooks package icon

Metalama.Testing.Hooks

A helper package used internally by Metalama to make concurrent code deterministically testable. This package should only be installed as a dependency.

6.0K
downloads
Metalama.Extensions.HtmlWriter package icon

Metalama.Extensions.HtmlWriter

Optional plugin for Metalama that provides HTML code formatting with diff support. Reference this package to enable HTML output generation for documentation and debugging purposes.

4.7K
downloads
Metalama.Extensions.DiffEngine package icon

Metalama.Extensions.DiffEngine

Optional plugin for Metalama.Testing.AspectTesting that provides diff tool integration using DiffEngine. Reference this package to enable automatic diff tool launching when test output differs from expected output.

4.6K
downloads
Metalama.Framework.Implementation.4.12.0 package icon

Metalama.Framework.Implementation.4.12.0

The implementation assemblies of Metalama.Framework for Roslyn 4.12.0. This package should normally never be referenced in any user project.

4.6K
downloads
Metalama.Framework.Implementation.4.8.0 package icon

Metalama.Framework.Implementation.4.8.0

The implementation assemblies of Metalama.Framework for Roslyn 4.8.0. This package should normally never be referenced in any user project.

3.1K
downloads
PostSharp.Community.StructuralEquality package icon

PostSharp.Community.StructuralEquality

Automatically generates Equals and GetHashCode for annotated classes.

2.4K
downloads
PostSharp.Community.DeepSerializable package icon

PostSharp.Community.DeepSerializable

A class annotated with [DeepSerializable] and all of its fields, recursively, are marked as serializable.

1.8K
downloads
PostSharp.Community.HelloWorld package icon

PostSharp.Community.HelloWorld

An example PostSharp add-in that adds Console.WriteLine("Hello World!") to every method annotated with [HelloWorld].

1.5K
downloads
PostSharp.Community.UnsafeMemoryChecker package icon

PostSharp.Community.UnsafeMemoryChecker

Throws an exception if your unsafe code attempts to write to memory you don't control

1.5K
downloads
PostSharp.Community.Virtuosity package icon

PostSharp.Community.Virtuosity

Allows you to make all or almost all of your methods virtual.

1.5K
downloads
Metalama.Framework.Implementation.5.10.0 package icon

Metalama.Framework.Implementation.5.10.0

The implementation assemblies of Metalama.Framework for Roslyn 5.10.0-1.26365.3. This package should normally never be referenced in any user project.

104
downloads
Metalama.Framework.Implementation.5.11.0 package icon

Metalama.Framework.Implementation.5.11.0

The implementation assemblies of Metalama.Framework for Roslyn 5.11.0-1.26425.128. This package should normally never be referenced in any user project.

75
downloads