You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-Calleither `ConfigureFunctionsWebApplication()` ifyou're using [ASP.NET Core integration](#aspnet-core-integration) or `ConfigureFunctionsWorkerDefaults()` otherwise. See [HTTP trigger](#http-trigger) for details on these options.
172
-
Ifyou're writing your application using F#, some trigger and binding extensions require extra configuration. See the setup documentation for the [Blobs extension][fsharp-blobs], the [Tables extension][fsharp-tables], and the [Cosmos DB extension][fsharp-cosmos] when you plan to use these extensions in an F# app.
173
-
-Configureanyservicesorappconfigurationyourprojectrequires. See [Configuration](#configuration) for details.
174
-
If you plan to use Application Insights, you need to call `AddApplicationInsightsTelemetryWorkerService()` and `ConfigureFunctionsApplicationInsights()` inthe `ConfigureServices()` delegate. See [Application Insights](#application-insights) for details.
175
-
176
-
If your project targets .NET Framework 4.8, youalsoneedtoadd `FunctionsDebugger.Enable();` beforecreatingtheHostBuilder. Itshouldbethefirstlineofyour `Main()` method. Formoreinformation, see [Debuggingwhentargeting .NETFramework](#debugging-when-targeting-net-framework).
177
-
178
-
The [HostBuilder] buildsandreturnsafullyinitialized [`IHost`][IHost] instance. Yourunthisinstanceasynchronouslytostartyourfunctionapp.
- Before calling `Build()` on the `IHostBuilder`, you should:
160
+
- Call either `ConfigureFunctionsWebApplication()` if you're using [ASP.NET Core integration](#aspnet-core-integration) or `ConfigureFunctionsWorkerDefaults()` otherwise. See [HTTP trigger](#http-trigger) for details on these options.
161
+
If you're writing your application using F#, some trigger and binding extensions require extra configuration. See the setup documentation for the [Blobs extension][fsharp-blobs], the [Tables extension][fsharp-tables], and the [Cosmos DB extension][fsharp-cosmos] when you plan to use these extensions in an F# app.
162
+
- Configure any services or app configuration your project requires. See [Configuration](#configuration) for details.
163
+
If you plan to use Application Insights, you need to call `AddApplicationInsightsTelemetryWorkerService()` and `ConfigureFunctionsApplicationInsights()` in the `ConfigureServices()` delegate. See [Application Insights](#application-insights) for details.
164
+
- If your project targets .NET Framework 4.8, you also need to add `FunctionsDebugger.Enable();` before creating the HostBuilder. It should be the first line of your `Main()` method. For more information, see [Debugging when targeting .NET Framework](#debugging-when-targeting-net-framework).
165
+
- This example includes dependency injection, which is optional for your start-up code. Dependency injection also requires `using Microsoft.Extensions.DependencyInjection;`. For more information, see [Dependency injection](#dependency-injection).
166
+
- The [HostBuilder] builds and returns a fully initialized [`IHost`][IHost] instance. You run this instance asynchronously to start your function app.
0 commit comments