Skip to content

Commit

Permalink
highlight correct lines (#34206)
Browse files Browse the repository at this point in the history
  • Loading branch information
timdeschryver authored Nov 25, 2024
1 parent 3b11d1d commit 682d78b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion aspnetcore/host-and-deploy/windows-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Consider the following `ServiceA` class:

The following `Program.cs` calls [`AddHostedService`](/dotnet/api/microsoft.extensions.dependencyinjection.servicecollectionhostedserviceextensions.addhostedservice) to register `ServiceA`:

:::code language="csharp" source="~/host-and-deploy/windows-service/samples/7.x/WebAppServiceSample/Program.cs" highlight="5":::
:::code language="csharp" source="~/host-and-deploy/windows-service/samples/7.x/WebAppServiceSample/Program.cs" highlight="8":::

The following sample apps accompany this topic:

Expand Down

0 comments on commit 682d78b

Please sign in to comment.