Browse Source

Use W3C format in frontend-backend

davidfowl/ingress-changes
Ryan Nowak 7 years ago
parent
commit
0e1f027816
  1. 2
      samples/frontend-backend/backend/Program.cs
  2. 2
      samples/frontend-backend/frontend/Program.cs

2
samples/frontend-backend/backend/Program.cs

@ -2,6 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license. // The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information. // See the LICENSE file in the project root for more information.
using System.Diagnostics;
using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Hosting;
@ -11,6 +12,7 @@ namespace Backend
{ {
public static void Main(string[] args) public static void Main(string[] args)
{ {
Activity.DefaultIdFormat = ActivityIdFormat.W3C;
CreateHostBuilder(args).Build().Run(); CreateHostBuilder(args).Build().Run();
} }

2
samples/frontend-backend/frontend/Program.cs

@ -2,6 +2,7 @@
// The .NET Foundation licenses this file to you under the MIT license. // The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information. // See the LICENSE file in the project root for more information.
using System.Diagnostics;
using Microsoft.AspNetCore.Hosting; using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting; using Microsoft.Extensions.Hosting;
@ -11,6 +12,7 @@ namespace Frontend
{ {
public static void Main(string[] args) public static void Main(string[] args)
{ {
Activity.DefaultIdFormat = ActivityIdFormat.W3C;
CreateHostBuilder(args).Build().Run(); CreateHostBuilder(args).Build().Run();
} }

Loading…
Cancel
Save