Ithline.Extensions.Http
1.2.0
See the version list below for details.
dotnet add package Ithline.Extensions.Http --version 1.2.0
NuGet\Install-Package Ithline.Extensions.Http -Version 1.2.0
<PackageReference Include="Ithline.Extensions.Http" Version="1.2.0" />
<PackageVersion Include="Ithline.Extensions.Http" Version="1.2.0" />
<PackageReference Include="Ithline.Extensions.Http" />
paket add Ithline.Extensions.Http --version 1.2.0
#r "nuget: Ithline.Extensions.Http, 1.2.0"
#:package Ithline.Extensions.Http@1.2.0
#addin nuget:?package=Ithline.Extensions.Http&version=1.2.0
#tool nuget:?package=Ithline.Extensions.Http&version=1.2.0
Ithline.Extensions.Http
Simple package to generate route builders using C# source generators.
The generator parses provided route pattern and generates method implementation that
- interpolates method parameters inside the template,
- serializes extra parameters as query arguments if provided (must be
nullif optional).
Each method can be configured to lowercase the route path and/or query strings, and append trailing slash to the path.
Generator handles parameter encoding, array parameters and optional route and query parameters.
Installation
Add a NuGet package reference to the project:<br>
<PackageReference Include="Ithline.Extensions.Http" Version="<version>" />
Usage example
using Ithline.Extensions.Http;
partial class AppRoutes
{
[GeneratedRoute("/my-basic/{route:guid}")]
public static partial string MyBasicRoute(Guid route, [QueryName("p")] int? page = null);
}
| 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 was computed. 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
- Microsoft.Extensions.ObjectPool (>= 8.0.7)
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.0 | 298 | 11/24/2025 |
| 1.2.0 | 225 | 10/28/2025 |
| 1.1.0 | 210 | 10/27/2025 |
| 1.0.1 | 279 | 4/23/2025 |
| 1.0.0 | 179 | 2/13/2025 |
| 0.2.2-alpha | 155 | 8/8/2024 |
| 0.2.1-alpha | 143 | 8/8/2024 |
| 0.2.0-alpha | 160 | 8/8/2024 |
| 0.1.1-alpha | 135 | 8/4/2024 |
| 0.1.0-alpha | 159 | 7/27/2024 |