EssentialLayers.Request
1.3.0
See the version list below for details.
dotnet add package EssentialLayers.Request --version 1.3.0
NuGet\Install-Package EssentialLayers.Request -Version 1.3.0
<PackageReference Include="EssentialLayers.Request" Version="1.3.0" />
<PackageVersion Include="EssentialLayers.Request" Version="1.3.0" />
<PackageReference Include="EssentialLayers.Request" />
paket add EssentialLayers.Request --version 1.3.0
#r "nuget: EssentialLayers.Request, 1.3.0"
#:package EssentialLayers.Request@1.3.0
#addin nuget:?package=EssentialLayers.Request&version=1.3.0
#tool nuget:?package=EssentialLayers.Request&version=1.3.0
Essential Layers
EssentialLayers.Request
Is a complement to the package EssentialLayers to provide an extra layer for using http requests in an easy way.
Configure
Add the dependencies in your Program.cs file
builder.Services.UseRequest();
And then set the options (Optional)
app.Services.ConfigureRequest(
new HttpOption
{
BaseUri = "https/api.dev",
AppName = "MyApi",
AppVersion = "v1",
InsensitiveMapping = true
}
);
If you want manage multiple instances of the same service, you can use the following code:
- Inject the IHttpService or IRequestService
- Set configs on runtime
yourService.SetOptions(
new HttpOption
{
BaseUri = YOUR_BASE_URI,
Token = YOUR_TOKEN
}
);
Release Notes
- Reverted dependency type from Singleton to Scoped to allow multiple instances of the same service
05-03-2025 - The HttpService and RequestService classes are now public
21-02-2025 - Implementation of IHttpClientFactory to better dependency manage of the "HttpClient"
18-02-2025 - It was solved the way of configure globally (ConfigureRequest) in the program file
23-01-2025 - Was solved the configuration issues to Http and Request services + RequestHelper + Logs implementation
13/12/2024 - It was added a new HttpHelper
12/12/2024 - It was removed the TRequest at the method GetAsync + Logs
06/12/2024 - Solved issue on serialize() & Added insensitiveMapping with default true
12/11/2024 - It was added a content type in a Request and changed the models location + Fixed reponse issue
05/11/2024 - It's added "CastResultAsResultHelper" parameter at HttpOption model in HttpService
29/10/2024
Created by Mario Soto Moreno
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
| .NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
| .NET Standard | netstandard2.1 is compatible. |
| MonoAndroid | monoandroid was computed. |
| MonoMac | monomac was computed. |
| MonoTouch | monotouch was computed. |
| Tizen | tizen60 was computed. |
| Xamarin.iOS | xamarinios was computed. |
| Xamarin.Mac | xamarinmac was computed. |
| Xamarin.TVOS | xamarintvos was computed. |
| Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- EssentialLayers (>= 1.6.1)
- Microsoft.Extensions.Http (>= 9.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.5.7 | 234 | 10/31/2025 |
| 1.5.6 | 151 | 10/24/2025 |
| 1.5.5 | 222 | 10/23/2025 |
| 1.5.4 | 202 | 10/23/2025 |
| 1.5.2 | 212 | 10/22/2025 |
| 1.5.1 | 192 | 10/21/2025 |
| 1.5.0 | 200 | 10/21/2025 |
| 1.4.4 | 210 | 10/15/2025 |
| 1.4.3 | 229 | 10/9/2025 |
| 1.4.2 | 283 | 8/27/2025 |
| 1.4.1 | 189 | 7/17/2025 |
| 1.4.0 | 418 | 5/21/2025 |
| 1.3.3 | 296 | 4/16/2025 |
| 1.3.2 | 271 | 4/14/2025 |
| 1.3.1 | 259 | 4/14/2025 |
| 1.3.0 | 274 | 3/5/2025 |
| 1.2.8 | 185 | 2/21/2025 |
| 1.2.7 | 338 | 1/23/2025 |
| 1.2.6 | 217 | 12/13/2024 |
| 1.2.5 | 187 | 12/12/2024 |
- Reverted dependency type from Singleton to Scoped to allow multiple instances of the same service `05-03-2025`
- The HttpService and RequestService classes are now public `21-02-2025`
- Implementation of IHttpClientFactory to better dependency manage of the "HttpClient" `18-02-2025`
- It was solved the way of configure globally (ConfigureRequest) in the program file `23-01-2025`
- Was solved the configuration issues to Http and Request services + RequestHelper + Logs implementation `13/12/2024`
- It was added a new HttpHelper `12/12/2024`
- It was removed the TRequest at the method GetAsync + Logs `06/12/2024`
- Solved issue on serialize() & Added insensitiveMapping with default true `12/11/2024`
- It was added a content type in a Request and changed the models location + Fixed reponse issue `05/11/2024`
- It's added "CastResultAsResultHelper" parameter at HttpOption model in HttpService `29/10/2024`