Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ public static TBuilder ConfigureOpenTelemetry<TBuilder>(this TBuilder builder) w
.AddAspNetCoreInstrumentation(tracing =>
// Exclude health check requests from tracing
tracing.Filter = context =>
!context.Request.Path.StartsWithSegments(HealthEndpointPath)
&& !context.Request.Path.StartsWithSegments(AlivenessEndpointPath)
!context.Request.Path.StartsWithSegments(HealthEndpointPath, StringComparison.OrdinalIgnoreCase)
&& !context.Request.Path.StartsWithSegments(AlivenessEndpointPath, StringComparison.OrdinalIgnoreCase)
)
// Uncomment the following line to enable gRPC instrumentation (requires the OpenTelemetry.Instrumentation.GrpcNetClient package)
//.AddGrpcClientInstrumentation()
Expand Down
2 changes: 1 addition & 1 deletion tests/DevApps/MtlsPop/MtlsPopClient/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public static async Task Main(string[] args)
Console.WriteLine("Microsoft Graph result:");
Console.WriteLine($"{users.Count} users");
}
catch (ServiceException ex) when (ex.Message.Contains("Insufficient privileges to complete the operation"))
catch (ServiceException ex) when (ex.Message.Contains("Insufficient privileges to complete the operation", StringComparison.OrdinalIgnoreCase))
{
Console.WriteLine($"Microsoft Graph call failed: {ex.Message}");
Console.WriteLine($"Please check if the application has the necessary permissions.");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
<IsPackable>false</IsPackable>
<EnableConfigurationBindingGenerator>true</EnableConfigurationBindingGenerator>
<!-- Suppress warnings from the configuration binding source generator for complex crypto types it cannot handle -->
<NoWarn>$(NoWarn);SYSLIB1100;SYSLIB1101;SYSLIB0026;SYSLIB0027;SYSLIB0028</NoWarn>
</PropertyGroup>

<!-- Generates extra info for https://github.com/MichalStrehovsky/sizoscope to read. Useful for debugging warnings since it tells you where each item came from.-->
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
Comment thread
gladjohn marked this conversation as resolved.
Outdated
"profiles": {
"Microsoft.Identity.Web.AotCompatibility.TestApp": {
"commandName": "Project",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"applicationUrl": "https://localhost:49353;http://localhost:49354"
}
}
}
Loading