highlight correct lines (#34206)
parent
3b11d1d27e
commit
682d78be82
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in New Issue