DevProxy.Abstractions
4.1.0-beta.1
dotnet add package DevProxy.Abstractions --version 4.1.0-beta.1
NuGet\Install-Package DevProxy.Abstractions -Version 4.1.0-beta.1
<PackageReference Include="DevProxy.Abstractions" Version="4.1.0-beta.1" />
<PackageVersion Include="DevProxy.Abstractions" Version="4.1.0-beta.1" />
<PackageReference Include="DevProxy.Abstractions" />
paket add DevProxy.Abstractions --version 4.1.0-beta.1
#r "nuget: DevProxy.Abstractions, 4.1.0-beta.1"
#:package DevProxy.Abstractions@4.1.0-beta.1
#addin nuget:?package=DevProxy.Abstractions&version=4.1.0-beta.1&prerelease
#tool nuget:?package=DevProxy.Abstractions&version=4.1.0-beta.1&prerelease
Dev Proxy Abstractions
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 | Versions 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. |
-
net10.0
- Markdig (>= 1.6.0)
- Microsoft.EntityFrameworkCore.Sqlite (>= 10.0.15)
- Microsoft.Extensions.Configuration (>= 10.0.15)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.15)
- Microsoft.Extensions.Configuration.Json (>= 10.0.15)
- Microsoft.Extensions.FileSystemGlobbing (>= 10.0.15)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.15)
- Microsoft.OpenApi (>= 3.11.1)
- Microsoft.OpenApi.YamlReader (>= 3.11.1)
- Newtonsoft.Json.Schema (>= 4.0.2)
- Scriban (>= 7.6.1)
- System.CommandLine (>= 3.0.0)
- YamlDotNet (>= 18.1.0)
-
net11.0
- Markdig (>= 1.6.0)
- Microsoft.EntityFrameworkCore.Sqlite (>= 11.0.0)
- Microsoft.Extensions.Configuration (>= 11.0.0)
- Microsoft.Extensions.Configuration.Binder (>= 11.0.0)
- Microsoft.Extensions.Configuration.Json (>= 11.0.0)
- Microsoft.Extensions.FileSystemGlobbing (>= 11.0.0)
- Microsoft.OpenApi (>= 3.11.1)
- Microsoft.OpenApi.YamlReader (>= 3.11.1)
- Newtonsoft.Json.Schema (>= 4.0.2)
- Scriban (>= 7.6.1)
- System.CommandLine (>= 3.0.0)
- YamlDotNet (>= 18.1.0)
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 |