Skip to content

Commit e4f8439

Browse files
Add 3.x SignalR background service sample (#17318)
* Add 3.0 SignalR background service sample * Fix background-services.md date * Compressed a few monikers * Renamed 3.0 sample to 3.x * Apply suggestion Co-Authored-By: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com> * Shrink ClockHubClient.StopAsync snippet by 1 line Also tweaked the wording slightly in the "any class that inherits from hub..." note * Remove future tense from note * Use async On overload in 3.x sample Co-authored-by: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com>
1 parent 78765ab commit e4f8439

32 files changed

+387
-36
lines changed

aspnetcore/signalr/background-service/sample/Clients.ConsoleTwo/ClockHubClient.cs renamed to aspnetcore/signalr/background-service/samples/2.2/Clients.ConsoleTwo/ClockHubClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ public Task StopAsync(CancellationToken cancellationToken)
5858
{
5959
return _connection.DisposeAsync();
6060
}
61-
}
6261
#endregion
62+
}
6363
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
44
<TargetFramework>netstandard2.0</TargetFramework>

0 commit comments

Comments
 (0)