Skip to content

Commit d3f0818

Browse files
joeizyggailey777
authored andcommitted
Update dotnet-isolated-process-guide.md
1 parent ae53e11 commit d3f0818

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

articles/azure-functions/dotnet-isolated-process-guide.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,16 @@ The following code shows an example of a [HostBuilder] pipeline:
154154

155155
:::code language="csharp" source="~/azure-functions-dotnet-worker/samples/FunctionApp/Program.cs" id="docsnippet_startup":::
156156

157+
> [!NOTE]
158+
> The above example from [HostBuilder] pipeline has a line demonstrating dependency injection:
159+
>
160+
> ```csharp
161+
> s.AddSingleton<IHttpResponderService, DefaultHttpResponderService>();
162+
> ```
163+
>
164+
> **You can safely ignore this line.** This is sample code only. `IHttpResponderService` and `DefaultHttpResponderService`
165+
> are not built-in Azure Function SDK types and are not relevant to a production application.
166+
157167
This code requires `using Microsoft.Extensions.DependencyInjection;`.
158168
159169
Before calling `Build()` on the `IHostBuilder`, you should:

0 commit comments

Comments
 (0)