Skip to content

Commit d35dc2e

Browse files
IgorSychevIgor Sychev
authored andcommitted
ApplicationInsights deleted from 3 projects.
1 parent 09dfd9a commit d35dc2e

6 files changed

Lines changed: 3 additions & 21 deletions

File tree

src/Services/Location/Locations.API/Locations.API.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
<ItemGroup>
1313
<PackageReference Include="Autofac.Extensions.DependencyInjection" Version="4.1.0" />
1414
<PackageReference Include="IdentityServer4.AccessTokenValidation" Version="1.2.0" />
15-
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.0.0" />
1615
<PackageReference Include="Microsoft.AspNetCore" Version="1.1.2" />
1716
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="1.1.3" />
1817
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="1.1.2" />

src/Services/Location/Locations.API/Program.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.IO;
4-
using System.Linq;
5-
using System.Threading.Tasks;
1+
using System.IO;
62
using Microsoft.AspNetCore.Builder;
73
using Microsoft.AspNetCore.Hosting;
84

@@ -17,7 +13,6 @@ public static void Main(string[] args)
1713
.UseHealthChecks("/hc")
1814
.UseContentRoot(Directory.GetCurrentDirectory())
1915
.UseStartup<Startup>()
20-
.UseApplicationInsights()
2116
.Build();
2217

2318
host.Run();

src/Services/Payment/Payment.API/Payment.API.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
</ItemGroup>
1212
<ItemGroup>
1313
<PackageReference Include="Autofac.Extensions.DependencyInjection" Version="4.1.0" />
14-
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.0.0" />
1514
<PackageReference Include="Microsoft.AspNetCore" Version="1.1.2" />
1615
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="1.1.3" />
1716
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="1.1.2" />

src/Services/Payment/Payment.API/Program.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.IO;
4-
using System.Linq;
5-
using System.Threading.Tasks;
1+
using System.IO;
62
using Microsoft.AspNetCore.Builder;
73
using Microsoft.AspNetCore.Hosting;
84

@@ -16,7 +12,6 @@ public static void Main(string[] args)
1612
.UseKestrel()
1713
.UseContentRoot(Directory.GetCurrentDirectory())
1814
.UseStartup<Startup>()
19-
.UseApplicationInsights()
2015
.Build();
2116

2217
host.Run();

src/Web/WebStatus/Program.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
using System;
2-
using System.Collections.Generic;
3-
using System.IO;
4-
using System.Linq;
5-
using System.Threading.Tasks;
1+
using System.IO;
62
using Microsoft.AspNetCore.Hosting;
73

84
namespace WebStatus
@@ -16,7 +12,6 @@ public static void Main(string[] args)
1612
.UseContentRoot(Directory.GetCurrentDirectory())
1713
.UseIISIntegration()
1814
.UseStartup<Startup>()
19-
.UseApplicationInsights()
2015
.Build();
2116

2217
host.Run();

src/Web/WebStatus/WebStatus.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
<DockerComposeProjectPath>..\..\..\docker-compose.dcproj</DockerComposeProjectPath>
1010
</PropertyGroup>
1111
<ItemGroup>
12-
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.0.0" />
1312
<PackageReference Include="Microsoft.AspNetCore" Version="1.1.2" />
1413
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="1.1.3" />
1514
<PackageReference Include="Microsoft.AspNetCore.StaticFiles" Version="1.1.2" />

0 commit comments

Comments
 (0)