From 0e1f027816ea6716439880a74f1a8c17f33c9ec6 Mon Sep 17 00:00:00 2001 From: Ryan Nowak Date: Fri, 1 May 2020 17:40:36 -0700 Subject: [PATCH] Use W3C format in frontend-backend --- samples/frontend-backend/backend/Program.cs | 2 ++ samples/frontend-backend/frontend/Program.cs | 2 ++ 2 files changed, 4 insertions(+) diff --git a/samples/frontend-backend/backend/Program.cs b/samples/frontend-backend/backend/Program.cs index 5659e57e..e66cb604 100644 --- a/samples/frontend-backend/backend/Program.cs +++ b/samples/frontend-backend/backend/Program.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +using System.Diagnostics; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; @@ -11,6 +12,7 @@ namespace Backend { public static void Main(string[] args) { + Activity.DefaultIdFormat = ActivityIdFormat.W3C; CreateHostBuilder(args).Build().Run(); } diff --git a/samples/frontend-backend/frontend/Program.cs b/samples/frontend-backend/frontend/Program.cs index 122bc514..5c7efceb 100644 --- a/samples/frontend-backend/frontend/Program.cs +++ b/samples/frontend-backend/frontend/Program.cs @@ -2,6 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +using System.Diagnostics; using Microsoft.AspNetCore.Hosting; using Microsoft.Extensions.Hosting; @@ -11,6 +12,7 @@ namespace Frontend { public static void Main(string[] args) { + Activity.DefaultIdFormat = ActivityIdFormat.W3C; CreateHostBuilder(args).Build().Run(); }