From d35dc2ea17c420e12f8579ba3ee3cc1fe247d87b Mon Sep 17 00:00:00 2001 From: IgorSychev Date: Wed, 21 Jun 2017 21:02:27 +0300 Subject: [PATCH] ApplicationInsights deleted from 3 projects. --- src/Services/Location/Locations.API/Locations.API.csproj | 1 - src/Services/Location/Locations.API/Program.cs | 7 +------ src/Services/Payment/Payment.API/Payment.API.csproj | 1 - src/Services/Payment/Payment.API/Program.cs | 7 +------ src/Web/WebStatus/Program.cs | 7 +------ src/Web/WebStatus/WebStatus.csproj | 1 - 6 files changed, 3 insertions(+), 21 deletions(-) diff --git a/src/Services/Location/Locations.API/Locations.API.csproj b/src/Services/Location/Locations.API/Locations.API.csproj index e43a12dcc..436a182cc 100644 --- a/src/Services/Location/Locations.API/Locations.API.csproj +++ b/src/Services/Location/Locations.API/Locations.API.csproj @@ -12,7 +12,6 @@ - diff --git a/src/Services/Location/Locations.API/Program.cs b/src/Services/Location/Locations.API/Program.cs index db2a5532a..8a4a486cb 100644 --- a/src/Services/Location/Locations.API/Program.cs +++ b/src/Services/Location/Locations.API/Program.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Threading.Tasks; +using System.IO; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; @@ -17,7 +13,6 @@ namespace Microsoft.eShopOnContainers.Services.Locations.API .UseHealthChecks("/hc") .UseContentRoot(Directory.GetCurrentDirectory()) .UseStartup() - .UseApplicationInsights() .Build(); host.Run(); diff --git a/src/Services/Payment/Payment.API/Payment.API.csproj b/src/Services/Payment/Payment.API/Payment.API.csproj index 3a1c4e248..d4eb7b91e 100644 --- a/src/Services/Payment/Payment.API/Payment.API.csproj +++ b/src/Services/Payment/Payment.API/Payment.API.csproj @@ -11,7 +11,6 @@ - diff --git a/src/Services/Payment/Payment.API/Program.cs b/src/Services/Payment/Payment.API/Program.cs index 505dd2aee..8ad35dce2 100644 --- a/src/Services/Payment/Payment.API/Program.cs +++ b/src/Services/Payment/Payment.API/Program.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Threading.Tasks; +using System.IO; using Microsoft.AspNetCore.Builder; using Microsoft.AspNetCore.Hosting; @@ -16,7 +12,6 @@ namespace Payment.API .UseKestrel() .UseContentRoot(Directory.GetCurrentDirectory()) .UseStartup() - .UseApplicationInsights() .Build(); host.Run(); diff --git a/src/Web/WebStatus/Program.cs b/src/Web/WebStatus/Program.cs index 00d35edfb..f0df7ee22 100644 --- a/src/Web/WebStatus/Program.cs +++ b/src/Web/WebStatus/Program.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.IO; -using System.Linq; -using System.Threading.Tasks; +using System.IO; using Microsoft.AspNetCore.Hosting; namespace WebStatus @@ -16,7 +12,6 @@ namespace WebStatus .UseContentRoot(Directory.GetCurrentDirectory()) .UseIISIntegration() .UseStartup() - .UseApplicationInsights() .Build(); host.Run(); diff --git a/src/Web/WebStatus/WebStatus.csproj b/src/Web/WebStatus/WebStatus.csproj index b845fdcc3..f74065f12 100644 --- a/src/Web/WebStatus/WebStatus.csproj +++ b/src/Web/WebStatus/WebStatus.csproj @@ -9,7 +9,6 @@ ..\..\..\docker-compose.dcproj -