aboutsummaryrefslogtreecommitdiff
path: root/Backend/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Backend/Program.cs')
-rw-r--r--Backend/Program.cs14
1 files changed, 14 insertions, 0 deletions
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();