Commit graph

6 commits

Author SHA1 Message Date
Laura Hausmann
705e061f74
[backend/asp] Refactor middleware stack
This commit splits the request pipeline conditionally instead of invoking every middleware in the stack.

It also simplifies middleware instantiation by using runtime discovery, allowing for Plugins to add Middleware.
2024-11-18 19:02:44 +01:00
Laura Hausmann
c9b9a8e45b
[backend] Switch to TimeSpan extension method for easier code readability 2024-10-30 18:27:18 +01:00
Laura Hausmann
fbdab96f9d
[backend] Switch to more efficient TimeSpan/DateTime/-Offset handling where applicable 2024-10-30 18:13:11 +01:00
Laura Hausmann
d4e1d92771
[backend] Code cleanup: switch to BSD braces style, tweak code style 2024-02-17 02:31:00 +01:00
Laura Hausmann
dde377f41d
[backend] Code cleanup: remove unnecessary using directives 2024-02-09 12:09:03 +01:00
Laura Hausmann
94820c2b71
[backend] Add request duration header for non-timing-sensitive (cryptography-related) endpoints 2024-02-06 02:42:35 +01:00