HUMANiT.Azure
2.0.3
Prefix Reserved
dotnet add package HUMANiT.Azure --version 2.0.3
NuGet\Install-Package HUMANiT.Azure -Version 2.0.3
<PackageReference Include="HUMANiT.Azure" Version="2.0.3" />
<PackageVersion Include="HUMANiT.Azure" Version="2.0.3" />
<PackageReference Include="HUMANiT.Azure" />
paket add HUMANiT.Azure --version 2.0.3
#r "nuget: HUMANiT.Azure, 2.0.3"
#addin nuget:?package=HUMANiT.Azure&version=2.0.3
#tool nuget:?package=HUMANiT.Azure&version=2.0.3
HUMANiT Azure
Features
- API Proxy: GET, PUT, POST, PATCH, and DELETE commands to proxy a call directly to a RESTful API. Built-in secondary proxy. Raw calls. Azure Functions obfuscation keys.
- Simple API Proxy: Provides access to a RESTful API via type-safe resource types and pre-defines expected responses. Allways returns a result; never throws an exception. Built-in secondary proxy. Raw calls. Azure Functions obfuscation keys.
- Domain API Proxy: Provides access to a RESTful API via immutable type-safe domain objects and pre-defines expected responses. Allways returns a result; never throws an exception. Built-in secondary proxy. Raw calls. Azure Functions obfuscation keys.
- HTTP Methods: Constants for all used HTTP methods as per standard HTTP protocols 1.1, 2, and 3.
- Media Types: Constants for most commonly used media types.
- HTTP StatusCode Extensions: Extension methods for easier use of System.Net.HttpStatusCode.
- Logging: Simplified logging that is always available and can be enabled/disabled during runtime.
Version 2.0 (Upgrade from 1.2)
- Breaking: Explicit .NET 6 target framework removed. Use .NET 8 instead.
- New:
SimpleApiProxy
offers 3 types of patch type configuration. - Improved: Inline documentation.
- Obsolete:
HUMANiT.Azure.AzureBase
deprecated. UseHUMANiT.Logging.Logable
instead (see HUMANiT Core package).
Contact
This package contains features which we require for our own software; therefore, some features are highly custom. If you require a fix, an enhancement, or a more configurable solution, please contact us: support@humanit.nz.
License
MIT -- free software, hell yeah 🤩
Quickstart
API Proxy
GET, PUT, POST, PATCH, and DELETE commands to proxy a call directly to a RESTful API. Built-in secondary proxy. Raw calls. Obfuscation keys.
Quickstart guidance will come.
Simple API Proxy
Provides access to a RESTful API via type-safe resource types and pre-defines expected responses. Allways returns a result; never throws an exception. Built-in secondary proxy. Raw calls. Azure Functions obfuscation keys.
Quickstart guidance will come.
Domain API Proxy
Provides access to a RESTful API via immutable type-safe domain objects and pre-defines expected responses. Allways returns a result; never throws an exception. Built-in secondary proxy. Raw calls. Azure Functions obfuscation keys.
Quickstart guidance will come.
HTTP Methods
Constants for all used HTTP methods as per standard HTTP protocols 1.1, 2, and 3.
Quickstart guidance will come.
Media Types
Constants for most commonly used media types.
Quickstart guidance will come.
HTTP StatusCode Extensions
Extension methods for easier use of
System.Net.HttpStatusCode
.
Located in namespace HUMANiT.Azure.Extensions
.
The method System.Net.HttpStatusCode.RenderAsText()
renders an HTTP status code as human-readable text, practical for logging, tracing, auditing, and other forms of displaying an error to a human. The status code 204, for instance, is rendered as "201 Created", and the status code 503 is rendered as "503 ServiceUnavailable".
The optional method parameter splitName
defines readability. Default is false. If set to true, it splits the descriptive names. For instance, the status code 204 is rendered as "201 Created", and the status code 503 is rendered as "503 Service Unavailable". Example:
System.WriteLine(System.Net.HttpStatusCode.NotAcceptable.RenderAsText(true));
// output: 406 Not Acceptable
Logging (obsolete)
Simplified logging that is always available and can be enabled/disabled during runtime.
Located in namespace HUMANiT.Azure
.
HUMANiT.Azure.AzureBase
declared obsolete. Use HUMANiT.Logging.Logable
instead; see HUMANiT Core package.
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 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. 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.0
- HUMANiT.Core (>= 2.0.3)
-
net8.0
- HUMANiT.Core (>= 2.0.3)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on HUMANiT.Azure:
Package | Downloads |
---|---|
HUMANiT.Azure.Functions
API proxy. Heartbeat. Simplified payload handling. Simplified content result creation incl. JSON. Simplified IActionResult handling for common HTTP status codes. Media types. Extensions. |
|
HUMANiT.Azure.Data
Key features for anything in Azure to deal with data access such as databases, external services, queues, etc. Extended features for Azure Cosmos DB. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Contact HUMANiT for details: support@HUMANiT.nz