testData/solutions/AspireSolutionWithNUnit/AspireSolutionWithNUnit.ServiceDefaults/Extensions.cs [112:129]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - public static WebApplication MapDefaultEndpoints(this WebApplication app) { // Adding health checks endpoints to applications in non-development environments has security implications. // See https://aka.ms/dotnet/aspire/healthchecks for details before enabling these endpoints in non-development environments. if (app.Environment.IsDevelopment()) { // All health checks must pass for app to be considered ready to accept traffic after starting app.MapHealthChecks(HealthEndpointPath); // Only health checks tagged with the "live" tag must pass for app to be considered alive app.MapHealthChecks(AlivenessEndpointPath, new HealthCheckOptions { Predicate = r => r.Tags.Contains("live") }); } return app; } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - testData/solutions/AspireSolutionWithXUnit/AspireSolutionWithXUnit.ServiceDefaults/Extensions.cs [112:129]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - public static WebApplication MapDefaultEndpoints(this WebApplication app) { // Adding health checks endpoints to applications in non-development environments has security implications. // See https://aka.ms/dotnet/aspire/healthchecks for details before enabling these endpoints in non-development environments. if (app.Environment.IsDevelopment()) { // All health checks must pass for app to be considered ready to accept traffic after starting app.MapHealthChecks(HealthEndpointPath); // Only health checks tagged with the "live" tag must pass for app to be considered alive app.MapHealthChecks(AlivenessEndpointPath, new HealthCheckOptions { Predicate = r => r.Tags.Contains("live") }); } return app; } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - testData/solutions/DefaultAspireSolution/DefaultAspireSolution.ServiceDefaults/Extensions.cs [112:129]: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - public static WebApplication MapDefaultEndpoints(this WebApplication app) { // Adding health checks endpoints to applications in non-development environments has security implications. // See https://aka.ms/dotnet/aspire/healthchecks for details before enabling these endpoints in non-development environments. if (app.Environment.IsDevelopment()) { // All health checks must pass for app to be considered ready to accept traffic after starting app.MapHealthChecks(HealthEndpointPath); // Only health checks tagged with the "live" tag must pass for app to be considered alive app.MapHealthChecks(AlivenessEndpointPath, new HealthCheckOptions { Predicate = r => r.Tags.Contains("live") }); } return app; } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -