Determine usability of WebAPI #485
stijnmoreels
started this conversation in
General
Replies: 1 comment
-
Wondering if this entire repository should be archived, even. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
During the slimmed-down exercise, it came to our attention that lots of Arcus functionality should be reviewed in terms of usability, in favor of using new built-in Microsoft supported functionality. This discussion item showcases what current functionality should either be removed or changed.
Arcus.WebApi.Hosting.AzureFunctions
package, as this package is only used for Azure Functions - which we stop supporting directly in other Arcus repo's. The only functionality here is that it can restrict isolated HTTP functions to only use JSON request/response, which by itself is a rather project-specific setup that would possibly require customization of error messages and/or a range of 'accepted' content types. The added-value of this package is therefore rather minimal and only usable in very specific circumstances.Arcus.WebApi.Logging.AzureFunctions
package, as this package only has two middleware components (exception handling + request tracking). The exception handling is a very small component, that needs possibly be configured specifically for each project, which makes it a rather un-Arcus thing. The request tracking middleware component builds on the Arcus.Observability Serilog setup, which is also being reviewed and possibly removed. Also: Azure Functions is being stopped supporting built-in for Arcus.Arcus.WebApi.Logging
package, as this mostely provides correlation formats that are either deprecated (Hierarchical) or built-in supported by OpenTelemetry (W3C) in ASP.NET Core applications (https://learn.microsoft.com/en-us/dotnet/core/diagnostics/observability-with-otel)Arcus.WebApi.Security
, so that both packages can continue being developed separately..OpenApi.Extensions
package, that provides OpenAPI documentation for the authentiation filters.Arcus.WebApi.Hosting
package, as it only has a single extension there to only allow JSON formatting in API applications - which is too project specific.Beta Was this translation helpful? Give feedback.
All reactions