🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

HUMANiT.Azure.Functions

Package Overview
Dependencies
Maintainers
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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.

2.0.3
NuGet
Version published
Maintainers
2
Created
Source

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. Use HUMANiT.Azure.MediaTypes instead (HUMANiT.Azure package).
  • Breaking: HUMANiT.Azure.Functions.ApiProxy class removed. Use HUMANiT.Azure.ApiProxy instead (HUMANiT.Azure package).
  • Breaking: HUMANiT.Azure.Functions.HttpStatusCodeExtensions class removed. Use HUMANiT.Azure.Extensions.HttpStatusCodeExtensions instead (see HUMANiT Azure package).
  • Breaking: HUMANiT.Azure.Functions.IApiProxy interface removed. Use HUMANiT.Azure.ApiProxy instead (HUMANiT.Azure package).
  • Breaking: HUMANiT.Azure.Functions.StartupBase class removed. Use Microsoft.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. Use HUMANiT.Azure.Functions.Function instead.
  • Obsolete: HUMANiT.Azure.Functions.Api.HeartbeatFunctionsBase class deprecated. Use HUMANiT.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.

Keywords

Azure

FAQs

Package last updated on 23 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts