add sample

pull/28738/head
Rick Anderson 2023-03-22 14:07:08 -10:00
parent 0d608defb8
commit 0866f8ac03
1 changed files with 0 additions and 2 deletions

View File

@ -157,8 +157,6 @@ The following code creates an asynchronous timed background task:
:::code language="csharp" source="~/../AspNetCore.Docs.Samples/fundamentals/host/TimedBackgroundTasks/TimedHostedService.cs":::
:::code language="csharp" source="~/../AspNetCore.Docs.Samples/signalr/hubs/samples/6.x/SignalRHubsSample/Snippets/Hubs/ChatHub.cs" id="snippet_OnDisconnectedAsync":::
## Additional resources
* [Background services unit tests on GitHub](https://github.com/dotnet/runtime/blob/main/src/libraries/Microsoft.Extensions.Hosting/tests/UnitTests/BackgroundServiceTests.cs).