From dc20c2ba8377a90a3170642c9b3df6cd5166ad72 Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero <94913521+arielcostas@users.noreply.github.com> Date: Sun, 25 Aug 2024 23:12:48 +0200 Subject: Initial commit --- Backend/Program.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 Backend/Program.cs (limited to 'Backend/Program.cs') diff --git a/Backend/Program.cs b/Backend/Program.cs new file mode 100644 index 0000000..6bcb5fd --- /dev/null +++ b/Backend/Program.cs @@ -0,0 +1,14 @@ +using Microsoft.Azure.Functions.Worker; +using Microsoft.Extensions.Hosting; +using Microsoft.Extensions.DependencyInjection; + +var host = new HostBuilder() + .ConfigureFunctionsWebApplication() + .ConfigureServices(services => { + services.AddApplicationInsightsTelemetryWorkerService(); + services.ConfigureFunctionsApplicationInsights(); + services.AddHttpClient(); + }) + .Build(); + +host.Run(); -- cgit v1.3