• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mehdihadeli / food-delivery-microservices / 28674357353

03 Jul 2026 05:09PM UTC coverage: 16.207%. First build
28674357353

Pull #253

github

web-flow
Merge bac29ff01 into 6c7e230c7
Pull Request #253: feat: replace masstransit with wolverine

337 of 3348 branches covered (10.07%)

Branch coverage included in aggregate %.

125 of 258 new or added lines in 26 files covered. (48.45%)

1396 of 7345 relevant lines covered (19.01%)

0.39 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/Aspire/FoodDelivery.ServiceDefaults/Extensions/WebApplicationExtensions.cs
1
using BuildingBlocks.HealthCheck;
2
using BuildingBlocks.OpenTelemetry.Extensions;
3
using Microsoft.AspNetCore.Builder;
4

5
namespace FoodDelivery.ServiceDefaults.Extensions;
6

7
public static class WebApplicationExtensions
8
{
9
    public static WebApplication UseDefaultServices(this WebApplication app)
10
    {
11
        // https://learn.microsoft.com/en-us/aspnet/core/fundamentals/error-handling
12
        // https://github.com/dotnet/aspnetcore/pull/26567
13
        app.UseExceptionHandler(new ExceptionHandlerOptions { AllowStatusCode404Response = true });
×
14

15
        // Handles non-exceptional status codes (e.g., 404 from Results.NotFound(), 401 from unauthorized access) and returns standardized ProblemDetails responses
16
        app.UseStatusCodePages();
×
17

18
        // https://learn.microsoft.com/en-us/aspnet/core/fundamentals/http-logging/
NEW
19
        app.UseHttpLogging();
×
20

21
        // https://aurelien-riv.github.io/aspnetcore/2022/11/09/aspnet-grafana-loki-telemetry-microservice-correlation.html
22
        // https://www.nuget.org/packages/Microsoft.AspNetCore.HeaderPropagation
23
        // https://gist.github.com/davidfowl/c34633f1ddc519f030a1c0c5abe8e867
24
        // https://github.com/dotnet/aspnetcore/blob/main/src/Middleware/HeaderPropagation/test/HeaderPropagationIntegrationTest.cs
25
        app.UseHeaderPropagation();
×
26

27
        // https://learn.microsoft.com/en-us/dotnet/aspire/fundamentals/health-checks#non-development-environments
28
        app.UseRequestTimeouts();
×
29
        app.UseOutputCache();
×
30

31
        return app;
×
32
    }
33

34
    public static WebApplication MapDefaultEndpoints(this WebApplication app)
35
    {
NEW
36
        app.MapDefaultOpenTelemetry();
×
37

NEW
38
        app.MapDefaultHealthChecks();
×
39

NEW
40
        return app;
×
41
    }
42
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc