Skip to content

Commit 1eb35ca

Browse files
committed
Corrected ending snippet tag in program.cs
1 parent 2c98fbf commit 1eb35ca

File tree

1 file changed

+3
-1
lines changed
  • aspnetcore/release-notes/aspnetcore-9/samples/SignalRChatTraceExample

1 file changed

+3
-1
lines changed

aspnetcore/release-notes/aspnetcore-9/samples/SignalRChatTraceExample/Program.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
{
1717
if (builder.Environment.IsDevelopment())
1818
{
19-
// We want to view all traces in development
19+
// View all traces only in development environment.
2020
tracing.SetSampler(new AlwaysOnSampler());
2121
}
2222

@@ -28,6 +28,8 @@
2828

2929
var app = builder.Build();
3030

31+
// </snippet_trace_signalr_server>
32+
3133
// Configure the HTTP request pipeline.
3234
if (!app.Environment.IsDevelopment())
3335
{

0 commit comments

Comments
 (0)