Mvp24Hours.WebAPI
10.0.0
dotnet add package Mvp24Hours.WebAPI --version 10.0.0
NuGet\Install-Package Mvp24Hours.WebAPI -Version 10.0.0
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="Mvp24Hours.WebAPI" Version="10.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Mvp24Hours.WebAPI" Version="10.0.0" />
<PackageReference Include="Mvp24Hours.WebAPI" />
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 Mvp24Hours.WebAPI --version 10.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Mvp24Hours.WebAPI, 10.0.0"
#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 Mvp24Hours.WebAPI@10.0.0
#: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=Mvp24Hours.WebAPI&version=10.0.0
#tool nuget:?package=Mvp24Hours.WebAPI&version=10.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Mvp24Hours.WebAPI
ASP.NET Core Web API conventions and cross-cutting services for .NET 10.
Install
dotnet add package Mvp24Hours.WebAPI
Features
- Native problem details, exception handling, OpenAPI/Swagger, and API versioning.
- CORS, security headers, API keys, IP filtering, anti-forgery, and sanitization.
- Rate limiting, response compression, output caching, ETags, and idempotency.
- Minimal API groups and typed-result helpers.
- Request metrics, tracing, and structured logging.
Quick start
Register the essential API services:
builder.Services.AddMvp24HoursWebEssential();
builder.Services.AddMvp24HoursNativeOpenApi();
var app = builder.Build();
app.UseMvp24HoursExceptionHandling();
app.UseMvp24HoursRequestObservability();
Enable versioning, security, rate limiting, caching, and idempotency through their focused extensions.
Documentation
See kallebelins.github.io/mvp24hours-dotnet and the project repository.
License
Licensed under the MIT License.
| 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- FluentValidation (>= 12.1.1)
- Microsoft.AspNetCore.Hosting (>= 2.3.11)
- Microsoft.AspNetCore.Hosting.Abstractions (>= 2.3.11)
- Microsoft.AspNetCore.Http (>= 2.3.11)
- Microsoft.AspNetCore.Mvc.Core (>= 2.3.11)
- Microsoft.AspNetCore.Mvc.NewtonsoftJson (>= 10.0.9)
- Microsoft.AspNetCore.Mvc.Versioning (>= 5.1.0)
- Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer (>= 5.1.0)
- Microsoft.AspNetCore.OpenApi (>= 10.0.9)
- Microsoft.AspNetCore.OutputCaching.StackExchangeRedis (>= 10.0.9)
- Microsoft.AspNetCore.ResponseCaching (>= 2.3.11)
- Microsoft.AspNetCore.ResponseCompression (>= 2.3.11)
- Microsoft.Extensions.Configuration (>= 10.0.9)
- Microsoft.OpenApi (>= 2.7.5)
- Mvp24Hours.Core (>= 10.0.0)
- Mvp24Hours.Infrastructure (>= 10.0.0)
- Mvp24Hours.Infrastructure.Cqrs (>= 10.0.0)
- Swashbuckle.AspNetCore (>= 10.2.3)
- Swashbuckle.AspNetCore.Filters (>= 10.0.1)
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 |
|---|---|---|
| 10.0.0 | 31 | 8/5/2026 |
| 9.1.21 | 167 | 1/18/2026 |
| 9.1.20 | 813 | 1/2/2026 |
| 8.25.5061 | 465 | 5/6/2025 |
| 8.7.151 | 972 | 7/15/2024 |
| 8.5.610 | 219 | 5/6/2025 |
| 8.3.261 | 234 | 3/26/2024 |
| 8.2.102 | 272 | 2/9/2024 |
| 8.2.101 | 217 | 2/7/2024 |
| 5.4.281 | 252 | 4/28/2025 |
| 4.1.191 | 324 | 1/19/2024 |
| 4.1.181 | 199 | 1/19/2024 |
| 3.12.262 | 279 | 12/26/2023 |
| 3.12.261 | 190 | 12/26/2023 |
| 3.12.221 | 256 | 12/22/2023 |
| 3.12.151 | 252 | 12/17/2023 |
| 3.6.221 | 7,390 | 6/22/2022 |
| 3.4.111 | 1,021 | 4/11/2022 |
| 3.2.241 | 736 | 2/24/2022 |
Loading failed