diff options
| author | Ariel Costas Guerrero <94913521+arielcostas@users.noreply.github.com> | 2024-08-25 23:12:48 +0200 |
|---|---|---|
| committer | Ariel Costas Guerrero <94913521+arielcostas@users.noreply.github.com> | 2024-08-25 23:12:48 +0200 |
| commit | dc20c2ba8377a90a3170642c9b3df6cd5166ad72 (patch) | |
| tree | 744a6ce5076fc3378ded6a08acca122637229afc /Backend/Program.cs | |
Initial commit
Diffstat (limited to 'Backend/Program.cs')
| -rw-r--r-- | Backend/Program.cs | 14 |
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(); |
