ApiDeck.AspNetCore
5.0.2
dotnet add package ApiDeck.AspNetCore --version 5.0.2
NuGet\Install-Package ApiDeck.AspNetCore -Version 5.0.2
<PackageReference Include="ApiDeck.AspNetCore" Version="5.0.2" />
<PackageVersion Include="ApiDeck.AspNetCore" Version="5.0.2" />
<PackageReference Include="ApiDeck.AspNetCore" />
paket add ApiDeck.AspNetCore --version 5.0.2
#r "nuget: ApiDeck.AspNetCore, 5.0.2"
#:package ApiDeck.AspNetCore@5.0.2
#addin nuget:?package=ApiDeck.AspNetCore&version=5.0.2
#tool nuget:?package=ApiDeck.AspNetCore&version=5.0.2
β‘ ApiDeck.AspNetCore v5.0.0
The high-performance, framework-agnostic API explorer and documentation generator for ASP.NET Core.
Zero external dependencies. Zero bloat. Blazing fast.
π‘ Why ApiDeck?
ApiDeck fundamentally reimagines how API documentation is generated and served. Instead of relying on heavy OpenAPI pipelines, ApiDeck builds its own optimized API metadata directly from ASP.NET Core's IApiDescriptionGroupCollectionProvider β no Microsoft.AspNetCore.OpenApi dependency, no Swashbuckle, no NSwag.
The result is a dramatically faster spec generation pipeline, a dramatically smaller footprint, and a premium developer experience natively built for the modern web.
| Feature | Swagger UI | ApiDeck.AspNetCore v5.0 |
|---|---|---|
| External Dependencies | Swashbuckle / NSwag | None |
| Spec Generation | OpenAPI pipeline | Direct metadata reflection |
| Cold Start Overhead | ~200ms+ | <10ms |
| Code Snippets | Limited | JS (fetch, axios), PHP (Guzzle, cURL), C# (HttpClient) |
| History Log | None | Persistent execution audit log & replay |
| Stress Testing | None | Built-in load benchmarker (P95/P99 chart) |
| Route Visualizer | None | Interactive SVG node graph map |
| UI Framework | React-based | Vanilla JS (zero framework) |
| Bundle Size | ~1.5MB | <80KB |
| .NET Compatibility | Varies | .NET 8, 9, 10 native support |
π Quick Start
1. Install
Install the package via the .NET CLI:
dotnet add package ApiDeck.AspNetCore
2. Register Services and Middleware
Add ApiDeck to your application builder.
var builder = WebApplication.CreateBuilder(args);
builder.Services.AddControllers();
// Add ApiDeck (No AddOpenApi() needed)
builder.Services.AddApiDeck();
var app = builder.Build();
// Enable the middleware to serve the UI and Spec
app.UseApiDeck();
app.MapControllers();
app.Run();
3. Open Documentation
Fire up your application and navigate to the default documentation route:
https://localhost:<port>/apideck
Done. Two lines of code. No complex configuration required. Both the API specification and the rich HTML interface are ready to go.
β¨ What's New in v5.0.0
π» Multi-Language Code Snippet Generator
- Generate ready-to-copy code snippets for any endpoint:
- JavaScript:
fetch,axios - PHP:
Guzzle,cURL - C#:
HttpClient
- JavaScript:
- 1-click clipboard copy with URL, parameters, headers, and JSON body.
π Request History & Replay Log
- Full execution audit log (
Historybutton in topbar). - View past requests with status code badges (
200 OK,404,500), latency metrics (ms), and timestamps. - 1-Click Replay & Restore: Click any past request card to restore parameters, body text, custom headers, and server response.
β‘ Performance Load Tester & Stress Benchmarking
- Built-in load testing tool (
Stress Testbutton in execute bar). - Run
10,50, or100requests sequentially or in parallel. - Displays Average Latency (ms), P95/P99 Percentile Latency, Success Rate %, and an interactive visual latency chart.
π¦ Postman Collection & OpenAPI Export / Import
- Postman v2.1 Export: Export your API schema as a native
Postman v2.1 JSON Collectionfor instant import into Postman. - OpenAPI / Postman Importer: Import external OpenAPI 3.0 or Postman JSON specifications directly into browser memory.
πΊοΈ Interactive API Route & Schema Node Visualizer
- Interactive SVG canvas map (
Visualizerbutton in topbar). - Visualizes API Root, Feature Groups, Endpoints, and Schemas with animated bezier curve edges.
- Click any endpoint node in the visualizer to navigate directly to its playground details.
π€ Dual Collection & Endpoint Alphabetical Sorting
- Sort toggle button in sidebar now sorts both Collections/Groups AND Endpoints inside each group (
A-ZorZ-A).
πΎ Complete Per-Endpoint State Retention
- Inputs, JSON body text, custom headers, and server response results stay saved when navigating between different endpoints.
βοΈ Configuration Options
Tailor ApiDeck exactly to your organizational needs.
app.UseApiDeck(options =>
{
// Change the base URL fragment
options.RoutePrefix = "api-docs"; // Default: "apideck"
// Customize the documentation title
options.Title = "Internal Microservices"; // Default: "ApiDeck"
// Toggle the UI Dark Mode baseline preference
options.DarkMode = true; // Default: false
});
π Diagnostic Toolkit
Gain insight into your API ecosystem at a glance. Navigate to /apideck/diagnostic (using your defined RoutePrefix) to access:
- Rapid enumeration of discovered endpoints, defined groups, and extracted schemas
- Verification of background service and provider registrations
- Easy fallback diagnostic validation to guarantee DI health
π Compatibility
| .NET Target | Status | Support Level |
|---|---|---|
| .NET 8 | β Supported | Native STS Reflection |
| .NET 9 | β Supported | Full Feature Parity |
| .NET 10 | β Supported | Future Proofed |
π License & Contribution
MIT Β© Muammar Siddiqui.
Feel absolutely free to fork, clone, and deploy ApiDeck in your private, commercial, and open-source stacks.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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. |
-
net10.0
- Newtonsoft.Json (>= 13.0.4)
-
net8.0
- Newtonsoft.Json (>= 13.0.4)
-
net9.0
- Newtonsoft.Json (>= 13.0.4)
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 | |
|---|---|---|---|
| 5.0.2 | 132 | 8/17/2026 | |
| 5.0.1 | 102 | 8/17/2026 | |
| 5.0.0 | 106 | 8/17/2026 | |
| 4.0.0 | 165 | 5/25/2026 | |
| 3.2.0 | 198 | 3/29/2026 | |
| 3.1.0 | 160 | 3/29/2026 | |
| 3.0.0 | 187 | 2/27/2026 | |
| 2.5.2 | 195 | 2/1/2026 | |
| 2.5.1 | 177 | 1/29/2026 | |
| 2.5.0 | 171 | 1/29/2026 | |
| 2.4.0 | 162 | 1/29/2026 | |
| 2.3.0 | 169 | 1/29/2026 | |
| 2.2.0 | 177 | 1/29/2026 | |
| 2.1.1 | 178 | 1/28/2026 | |
| 2.1.0 | 167 | 1/28/2026 | |
| 2.0.2 | 178 | 1/23/2026 | |
| 2.0.1 | 182 | 1/23/2026 | |
| 2.0.0 | 179 | 1/23/2026 | |
| 1.0.5 | 177 | 1/19/2026 | |
| 1.0.4 | 167 | 1/19/2026 |