Determine usability of WebAPI #485
Replies: 3 comments 2 replies
-
|
Wondering if this entire repository should be archived, even. Edit: now I'm even more sure that there is not a real added value to this repo, as OpenTelemetry already has a request tracking functionality available for ASP.NET Core. |
Beta Was this translation helpful? Give feedback.
-
|
Some input:
Logging projects
Security project
OpenApi ExtensionsI believe these are still very useful, but we might have to review if they're still working with the latest versions of Swashbuckle. My 2 cents:
Any thoughts or input @stijnmoreels , @gverstraete ? |
Beta Was this translation helpful? Give feedback.
-
|
My input: Main takeaway: if built-in alterenatives exists (or other projects with similar functionality), then we should not put effort into maintaining a solution ourselves. Logging Projects
Security ProjectI should spend some time to look at these projects. I might be wrong, but a lot of this stuff seems to be built-in? I recently did Certificate Auth using raw dotnet. OpenApiThese seem to be very project specific? I feel like this is more templated code that can be copied around from project to project and then tweaked for the specifics. |
Beta Was this translation helpful? Give feedback.
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.AzureFunctionspackage, 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.AzureFunctionspackage, 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.Loggingpackage, 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.Extensionspackage, that provides OpenAPI documentation for the authentiation filters.Arcus.WebApi.Hostingpackage, 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