Replies: 1 comment
-
Hej Johan, Maybe one of these options will suffice?
The second approach may involve more code, but I believe it aligns better with best practices. Ha en trevlig valborgs |
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
-
Using similar setup to manage the routes as in TodoApi.cs with RouteGroupBuilder, I think it works great. But haven't really figured out how to handle logging in there (as its static). Anyone got any tips ? We use a kind of ugly solution like this:
where we initiate it from program.cs:
app.MapAudienceEndpoints(app.Logger);
Beta Was this translation helpful? Give feedback.
All reactions