Roo.Azure.Configuration.Common.Http
1.0.0
See the version list below for details.
dotnet add package Roo.Azure.Configuration.Common.Http --version 1.0.0
NuGet\Install-Package Roo.Azure.Configuration.Common.Http -Version 1.0.0
<PackageReference Include="Roo.Azure.Configuration.Common.Http" Version="1.0.0" />
<PackageVersion Include="Roo.Azure.Configuration.Common.Http" Version="1.0.0" />
<PackageReference Include="Roo.Azure.Configuration.Common.Http" />
paket add Roo.Azure.Configuration.Common.Http --version 1.0.0
#r "nuget: Roo.Azure.Configuration.Common.Http, 1.0.0"
#:package Roo.Azure.Configuration.Common.Http@1.0.0
#addin nuget:?package=Roo.Azure.Configuration.Common.Http&version=1.0.0
#tool nuget:?package=Roo.Azure.Configuration.Common.Http&version=1.0.0
Roo.Azure.Configuration
The Roo.Azure.Configuration packages are a C#, .NET 8 SDK designed to simplify development and integrate easily with Azure services. This package is designed to allow new projects be setup with minimal configuration, standardize functionalities, improve developer productivity, and expand log information in Azure App Insights. This SDK is geared more towards a microservice architecture but is useful in any application that makes HTTP calls and/or uses Azure services. The SDK is split into 3 packages, and are called Roo.Azure.Configuration.Common, Roo.Azure.Configuration.Common.Http, and Roo.Azure.Configuration.Common.Utilities.
Package Descriptions
Common: The package includes middleware's for propagating custom headers (session-id, transaction-id, and channel-id are preset) to HTTP requests and Azure App Insight logs, custom logging, custom telemetry logging, Swagger setup and configuration, startup configuration, and boiler plates for Azure Service Bus, Azure Feature Manager, and Redis.
Common.Http: The package includes a custom HttpClient that ensures all requests have the custom headers from Common attached, allows authentication using pre-built methods such as OAuth or Azure APIM, stores tokens in either Redis or local memory, and handles object deserialization. The client is setup in program start and available through Dependency Injection with no further configuration at call time besides the relative request url, the pre-configured client name, and, if authorization is required, setting the necessary authorization model components. Common.Http has a dependency on Common because the headers configured in Common are used throughout the RooHttpClient service.
Common.Utilities: This package is a standalone set of functions that aren't usually required in most applications but are ease of life methods. The main functionality of the package is type extensions that simplify type conversion and allow null safe type conversion. There are extensions methods for string, Enum, DateTime, FilePath, object, and ActionResult. There's also boiler plate service's for Azure Blob and Azure File Share usage.
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
- Azure.Identity (>= 1.14.0)
- Azure.Security.KeyVault.Certificates (>= 4.8.0)
- Microsoft.AspNet.WebApi.Client (>= 6.0.0)
- Microsoft.Extensions.Http.Polly (>= 8.0.17)
- Microsoft.Extensions.Http.Resilience (>= 8.10.0)
- Newtonsoft.Json (>= 13.0.3)
- Polly (>= 8.6.1)
- Polly.Caching.Memory (>= 3.0.2)
- Polly.Contrib.WaitAndRetry (>= 1.1.1)
- Roo.Azure.Configuration.Common (>= 1.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.