DevProxy.Abstractions 4.1.0-beta.1

This is a prerelease version of DevProxy.Abstractions.
dotnet add package DevProxy.Abstractions --version 4.1.0-beta.1
                    
NuGet\Install-Package DevProxy.Abstractions -Version 4.1.0-beta.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DevProxy.Abstractions" Version="4.1.0-beta.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DevProxy.Abstractions" Version="4.1.0-beta.1" />
                    
Directory.Packages.props
<PackageReference Include="DevProxy.Abstractions" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add DevProxy.Abstractions --version 4.1.0-beta.1
                    
#r "nuget: DevProxy.Abstractions, 4.1.0-beta.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package DevProxy.Abstractions@4.1.0-beta.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=DevProxy.Abstractions&version=4.1.0-beta.1&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=DevProxy.Abstractions&version=4.1.0-beta.1&prerelease
                    
Install as a Cake Tool

Dev Proxy Abstractions

NuGet Version NuGet Downloads

Abstractions for building custom Dev Proxy plugins. Dev Proxy is an API simulator that helps you effortlessly test your app beyond the happy path.

What This Package Does

This package provides the interfaces, base classes, and models needed to build custom Dev Proxy plugins. Use it when you want to extend Dev Proxy with your own functionality.

Usage

Create a new class library project and add a reference to this package:

dotnet add package DevProxy.Abstractions

Then, implement the IPlugin interface or inherit from BasePlugin:

using DevProxy.Abstractions.Plugins;
using DevProxy.Abstractions.Proxy;
using Microsoft.Extensions.Logging;

public class MyPlugin(
    ILogger logger,
    ISet<UrlToWatch> urlsToWatch) : BasePlugin(logger, urlsToWatch)
{
    public override string Name => nameof(MyPlugin);

    public override async Task BeforeRequestAsync(
        ProxyRequestArgs e,
        CancellationToken cancellationToken)
    {
        // Your custom logic here
    }
}

Target framework

This package targets net10.0 and net11.0. Target the same .NET version as the Dev Proxy release that runs your plugin, or an earlier one. Dev Proxy can load a plugin built for an earlier .NET version, but not for a later one.

Don't ship shared assemblies with your plugin

Dev Proxy already loads DevProxy.Abstractions and the Microsoft.Extensions.* packages that it depends on. If your plugin ships its own copy of these assemblies, Dev Proxy loads a second copy, and your plugin's types won't match Dev Proxy's types. To avoid this, reference DevProxy.Abstractions and the shared packages with Private=false and ExcludeAssets=runtime:

<ItemGroup>
  <PackageReference Include="DevProxy.Abstractions" Version="x.y.z">
    <Private>false</Private>
    <ExcludeAssets>runtime</ExcludeAssets>
  </PackageReference>
  <PackageReference Include="Microsoft.Extensions.Configuration" Version="x.y.z">
    <Private>false</Private>
    <ExcludeAssets>runtime</ExcludeAssets>
  </PackageReference>
</ItemGroup>

For more information, see the Dev Proxy documentation.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed.  net11.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.1.0-beta.1 47 11/27/2026
4.0.0 266 10/29/2026
4.0.0-beta.14 73 10/27/2026
4.0.0-beta.13 72 10/27/2026
4.0.0-beta.12 66 10/26/2026
4.0.0-beta.11 65 10/21/2026
4.0.0-beta.10 75 10/10/2026
4.0.0-beta.9 72 10/7/2026
4.0.0-beta.8 73 10/7/2026
4.0.0-beta.7 77 10/5/2026
4.0.0-beta.6 75 10/2/2026
4.0.0-beta.5 77 10/1/2026
4.0.0-beta.4 75 9/30/2026
4.0.0-beta.3 76 9/22/2026
4.0.0-beta.2 71 9/22/2026
4.0.0-beta.1 87 9/21/2026
4.0.0-alpha.4 93 7/24/2026
3.3.1 113 9/22/2026
3.3.0 114 9/14/2026
3.2.0 265 7/21/2026
Loading failed