HUMANiT.Azure.Functions
2.0.2
Prefix Reserved
dotnet add package HUMANiT.Azure.Functions --version 2.0.2
NuGet\Install-Package HUMANiT.Azure.Functions -Version 2.0.2
<PackageReference Include="HUMANiT.Azure.Functions" Version="2.0.2" />
<PackageVersion Include="HUMANiT.Azure.Functions" Version="2.0.2" />
<PackageReference Include="HUMANiT.Azure.Functions" />
paket add HUMANiT.Azure.Functions --version 2.0.2
#r "nuget: HUMANiT.Azure.Functions, 2.0.2"
#addin nuget:?package=HUMANiT.Azure.Functions&version=2.0.2
#tool nuget:?package=HUMANiT.Azure.Functions&version=2.0.2
HUMANiT Azure Functions
Features
- Action Results: Construction of
IActionResult
objects for proper HTTP status code consideration. - Heartbeat: Fast heartbeat that an API can provide, including optional call dependancy on other APIs that offer a heartbeat.
- HTTP Method Support: Constants to ease method name definitions.
- Logging: Built-in logging for Azure Functions.
- Payload: Built-in payload conversions for Azure Functions.
- Call Result: Built-in call result handling for Azure Functions.
Version 2.0 (Upgrade from 1.2)
- Breaking: Explicit .NET 6 target framework removed. Use .NET 8 instead.
- Breaking: Only support for the isolated worker model. For in-process model support, use HUMANiT Azure Functions 1.2.1 instead.
- Breaking:
HUMANiT.Azure.Functions.Api.MediaType
class removed. UseHUMANiT.Azure.MediaTypes
instead (HUMANiT.Azure package). - Breaking:
HUMANiT.Azure.Functions.ApiProxy
class removed. UseHUMANiT.Azure.ApiProxy
instead (HUMANiT.Azure package). - Breaking:
HUMANiT.Azure.Functions.HttpStatusCodeExtensions
class removed. UseHUMANiT.Azure.Extensions.HttpStatusCodeExtensions
instead (see HUMANiT Azure package). - Breaking:
HUMANiT.Azure.Functions.IApiProxy
interface removed. UseHUMANiT.Azure.ApiProxy
instead (HUMANiT.Azure package). - Breaking:
HUMANiT.Azure.Functions.StartupBase
class removed. UseMicrosoft.Azure.Functions.Extensions.DependencyInjection.FunctionsStartup
directly. - New: Added
IActionResult
support for HTTP status codes 103, 203, 205, 401, 418, 422, 423, 424, 425, 429, 431, and 451. - Improved:
IActionResult
HTTP method documentation enriched with functional explanations. - Improved: Inline documentation.
- Obsolete:
HUMANiT.Azure.Functions.Api.FunctionsBase
class deprecated. UseHUMANiT.Azure.Functions.Function
instead. - Obsolete:
HUMANiT.Azure.Functions.Api.HeartbeatFunctionsBase
class deprecated. UseHUMANiT.Azure.Functions.HeartbeatFunction
instead.
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
Action Results
Construction of
IActionResult
objects for proper HTTP status code consideration.
Located in namespace HUMANiT.Azure.Functions
.
Supported HTTP Status Codes: All 1xx. All 2xx except 207, 208, and 226. 301, 302, 304, 307, and 308. 400, 401, 403-405, 408-410, 418-425 and 429-451. 500-502 and 504.
Quickstart guidance will come.
Heartbeat
Fast heartbeat that an API can provide, including optional call dependancy on other APIs that offer a heartbeat.
Classes that inherit from HeartbeatFunction
and call at least one of the provided constructors can use this packages features:
public class YourClass : HeartbeatFunction<YourClass> { .. }
Quickstart guidance will come.
HTTP Method Support
Constants to ease method name definitions.
Quickstart guidance will come.
Logging
Built-in logging for Azure Functions.
Quickstart guidance will come. See also HUMANiT Core: Logging.
Payload
Built-in payload conversions for Azure Functions.
Quickstart guidance will come.
Call Result
Built-in call result handling for Azure Functions.
Quickstart guidance will come.
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. |
-
net8.0
- HUMANiT.Azure (>= 2.0.2)
- Microsoft.ApplicationInsights.WorkerService (>= 2.23.0)
- Microsoft.Azure.Functions.Worker (>= 2.0.0)
- Microsoft.Azure.Functions.Worker.ApplicationInsights (>= 2.0.0)
- Microsoft.Azure.Functions.Worker.Extensions.Http.AspNetCore (>= 2.0.1)
- Microsoft.Azure.Functions.Worker.Sdk (>= 2.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.
Contact HUMANiT for details: support@HUMANiT.nz