add sample

pull/28738/head
Rick Anderson 2023-03-22 14:01:00 -10:00
parent 4c6ffeb423
commit 0d608defb8
1 changed files with 3 additions and 1 deletions

View File

@ -155,7 +155,9 @@ The services are registered in `IHostBuilder.ConfigureServices` (`Program.cs`).
The following code creates an asynchronous timed background task:
:::code language="csharp" source="~/../AspNetCore.Docs.Samples/blob/main/fundamentals/host/TimedBackgroundTasks/TimedHostedService.cs":::
:::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