You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
392 B
14 lines
392 B
using Microsoft.Azure.Functions.Worker;
|
|
using Microsoft.Extensions.DependencyInjection;
|
|
using Microsoft.Extensions.Hosting;
|
|
|
|
var host = new HostBuilder()
|
|
.ConfigureFunctionsWebApplication()
|
|
.ConfigureServices(services =>
|
|
{
|
|
services.AddApplicationInsightsTelemetryWorkerService();
|
|
services.ConfigureFunctionsApplicationInsights();
|
|
})
|
|
.Build();
|
|
|
|
host.Run();
|