79254094

Date: 2024-12-05 09:47:31
Score: 1
Natty:
Report link

When using minimal hosting model (WebApplication.CreateBuilder(args)) you don't need to write app.UseAuthentication() explicitly. It's implicitly called as the first middleware (see this). So, just remove the line.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When
  • High reputation (-1):
Posted by: synergetic