79241107

Date: 2024-12-01 07:39:25
Score: 1.5
Natty:
Report link

Did you use?:

builder.AddServiceDefaults();

In your projects program.cs right after creating your builder, make sure you have a reference to servicedefault net aspire project in your api project

And if you did not have addservices then maybe you need to add to

App.MapDefaultEndpoints();

Before something like swagger and after app.addRouting()

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you use
  • Low reputation (1):
Posted by: Maick