ModEndpoints 1.3.5
dotnet add package ModEndpoints --version 1.3.5
NuGet\Install-Package ModEndpoints -Version 1.3.5
<PackageReference Include="ModEndpoints" Version="1.3.5" />
<PackageVersion Include="ModEndpoints" Version="1.3.5" />
<PackageReference Include="ModEndpoints" />
paket add ModEndpoints --version 1.3.5
#r "nuget: ModEndpoints, 1.3.5"
#:package ModEndpoints@1.3.5
#addin nuget:?package=ModEndpoints&version=1.3.5
#tool nuget:?package=ModEndpoints&version=1.3.5
ModEndpoints
WebResultEndpoints, BusinessResultEndpoints, and ServiceEndpoints structure ASP.NET Core Minimal APIs into REPR format endpoints and seamlessly integrate with the result pattern. WebResultEndpoints transform the business result returned by the handler method into a Minimal API IResult for client responses, while BusinessResultEndpoints and ServiceEndpoints directly return the raw business result.
✨ Features
- REPR Pattern Implementation: Organizes Minimal APIs into Request, Endpoint and Response components.
- Seamless Integration: Fully compatible with ASP.NET Core Minimal APIs, supporting configurations, parameter binding, authentication, OpenAPI tooling, filters, and more.
- Auto-Discovery and Registration: Automatically discovers and registers endpoints.
- FluentValidation Support: Built-in validation using FluentValidation; requests are automatically validated if a validator is registered.
- Dependency Injection: Supports constructor-based dependency injection in endpoint implementations.
- Type-Safe Responses: Enforces response model type safety in request handlers.
🧩 Endpoint Types
WebResultEndpoint
- Purpose: Converts business results into standardized HTTP status codes and response formats, ensuring consistent and type-safe API behavior.
- Usage: Perfect for centralizing and abstracting the logic of converting business results into HTTP responses.
BusinessResultEndpoint
- Purpose: Returns raw business results directly within an HTTP 200 OK response without additional formatting.
- Usage: Ideal for internal API layers or scenarios where the raw business result is sufficient for the client.
ServiceEndpoint
- Purpose: Designed for simplifying remote service consumption with strongly typed request and response models.
- Usage: Works in conjunction with the
ModEndpoints.RemoteServices
package to abstract HTTP plumbing on the client side.
Note:
ModEndpoints.RemoteServices
package enables clients to consume remoteServiceEndpoints
with the knowledge of strongly typed request and response models shared between server and client projects.ModEndpoints.RemoteServices.Core
package contains the interfaces required for ServiceEndpoint request models.
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 was computed. 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. |
-
net8.0
- ModEndpoints.Core (>= 1.3.5)
- ModEndpoints.RemoteServices (>= 1.3.5)
- ModResults.MinimalApis (>= 1.0.2)
-
net9.0
- ModEndpoints.Core (>= 1.3.5)
- ModEndpoints.RemoteServices (>= 1.3.5)
- ModResults.MinimalApis (>= 1.0.2)
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 |
---|---|---|
1.3.5 | 362 | 7/21/2025 |
1.3.4 | 247 | 6/13/2025 |
1.3.3 | 283 | 6/12/2025 |
1.3.2 | 284 | 6/11/2025 |
1.3.1 | 124 | 5/23/2025 |
1.3.0 | 144 | 5/20/2025 |
1.2.0 | 146 | 5/19/2025 |
1.1.1 | 104 | 5/18/2025 |
1.1.0 | 226 | 5/15/2025 |
1.0.1 | 218 | 5/12/2025 |
1.0.0 | 150 | 4/28/2025 |
0.6.8 | 77 | 4/26/2025 |
0.6.7 | 196 | 4/14/2025 |
0.6.6 | 139 | 4/13/2025 |
0.6.5 | 112 | 4/11/2025 |
0.6.4 | 162 | 3/3/2025 |
0.6.3 | 126 | 2/24/2025 |
0.6.2 | 109 | 2/20/2025 |
0.6.1 | 124 | 2/13/2025 |
0.6.0 | 109 | 2/12/2025 |
0.5.2 | 104 | 1/29/2025 |
0.5.1 | 99 | 1/21/2025 |
0.5.0 | 97 | 1/20/2025 |
0.4.4 | 89 | 1/16/2025 |
0.4.3 | 98 | 1/16/2025 |
0.4.2 | 93 | 1/15/2025 |
0.4.1 | 78 | 1/13/2025 |
0.4.0 | 74 | 1/13/2025 |
0.3.3 | 86 | 1/12/2025 |
0.3.2 | 140 | 1/4/2025 |
0.3.1 | 126 | 1/4/2025 |
0.3.0 | 131 | 1/3/2025 |
0.2.0 | 113 | 12/27/2024 |
0.1.3 | 109 | 12/26/2024 |
0.1.2 | 113 | 12/23/2024 |
0.1.1 | 121 | 12/22/2024 |