From cbefffc70bd4088885bf910470286ec87e34a852 Mon Sep 17 00:00:00 2001 From: Eric Erhardt Date: Fri, 31 May 2024 11:04:15 -0500 Subject: [PATCH] Add ServiceDefaults to get tracing --- playground/webpubsub/WebPubSubAppHost/WebPubSubAppHost.csproj | 1 + playground/webpubsub/WebPubSubWeb/Program.cs | 2 ++ playground/webpubsub/WebPubSubWeb/WebPubSubWeb.csproj | 1 + 3 files changed, 4 insertions(+) diff --git a/playground/webpubsub/WebPubSubAppHost/WebPubSubAppHost.csproj b/playground/webpubsub/WebPubSubAppHost/WebPubSubAppHost.csproj index 2b2967a512e..29ffc68866d 100644 --- a/playground/webpubsub/WebPubSubAppHost/WebPubSubAppHost.csproj +++ b/playground/webpubsub/WebPubSubAppHost/WebPubSubAppHost.csproj @@ -6,6 +6,7 @@ enable enable true + 61c10aac-ef34-4c71-a496-6d2e15aec603 diff --git a/playground/webpubsub/WebPubSubWeb/Program.cs b/playground/webpubsub/WebPubSubWeb/Program.cs index 2377293afec..dcc487f12fe 100644 --- a/playground/webpubsub/WebPubSubWeb/Program.cs +++ b/playground/webpubsub/WebPubSubWeb/Program.cs @@ -2,6 +2,8 @@ var builder = WebApplication.CreateBuilder(args); +builder.AddServiceDefaults(); + builder.AddKeyedAzureWebPubSubServiceClient("wps1", "chatHub"); builder.AddKeyedAzureWebPubSubServiceClient("wps1", "notificationHub"); diff --git a/playground/webpubsub/WebPubSubWeb/WebPubSubWeb.csproj b/playground/webpubsub/WebPubSubWeb/WebPubSubWeb.csproj index e710b13567e..3846846d6ba 100644 --- a/playground/webpubsub/WebPubSubWeb/WebPubSubWeb.csproj +++ b/playground/webpubsub/WebPubSubWeb/WebPubSubWeb.csproj @@ -8,6 +8,7 @@ +