We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73ed578 commit d476798Copy full SHA for d476798
src/Hosting/Hosting/src/WebHostBuilder.cs
@@ -293,6 +293,7 @@ private IServiceCollection BuildCommonServices(out AggregateException? hostingSt
293
services.TryAddSingleton(sp => new DiagnosticListener("Microsoft.AspNetCore"));
294
services.TryAddSingleton<DiagnosticSource>(sp => sp.GetRequiredService<DiagnosticListener>());
295
services.TryAddSingleton(sp => new ActivitySource("Microsoft.AspNetCore"));
296
+ services.TryAddSingleton(sp => TextMapPropagator.Default);
297
298
services.AddTransient<IApplicationBuilderFactory, ApplicationBuilderFactory>();
299
services.AddTransient<IHttpContextFactory, DefaultHttpContextFactory>();
0 commit comments