79124577

Date: 2024-10-25 06:57:12
Score: 2
Natty:
Report link

Okay I managed to find the answer somewhere. In the Program.cs I needed to add:

builder.Services.AddSingleton<MyService>();

I think every new call created a new instance of the service before I added the line. I could be wrong though.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: melancholy