Skip to content
This repository was archived by the owner on Jun 10, 2020. It is now read-only.

Commit 1d90711

Browse files
authored
Merge pull request #842 from Microsoft/develop
Dev to master fro 2.7.0-beta2
2 parents eaca741 + 9e93f22 commit 1d90711

File tree

5 files changed

+16
-8
lines changed

5 files changed

+16
-8
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
# Changelog
22

3-
## Version 2.7.0-beta1
3+
## Version 2.7.0-beta2
44
- Added NetStandard2.0 target.
5+
- Updated Web/Base SDK version dependency to 2.10.0-beta2
6+
7+
## Version 2.6.1
8+
- Updated Web/Base SDK version dependency to 2.9.1
59

610
## Version 2.6.0
711
- Updated Web/Base SDK version dependency to 2.9.0

src/Microsoft.ApplicationInsights.AspNetCore/Microsoft.ApplicationInsights.AspNetCore.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
33
<AssemblyName>Microsoft.ApplicationInsights.AspNetCore</AssemblyName>
4-
<VersionPrefix>2.6.0</VersionPrefix>
4+
<VersionPrefix>2.7.0-beta2</VersionPrefix>
55
<Authors>Microsoft</Authors>
66
<Copyright>© Microsoft Corporation. All rights reserved.</Copyright>
77
<AssemblyTitle>Application Insights for ASP.NET Core Web Applications</AssemblyTitle>
@@ -81,11 +81,11 @@
8181
</ItemGroup>
8282

8383
<ItemGroup>
84-
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.9.0" />
85-
<PackageReference Include="Microsoft.ApplicationInsights.DependencyCollector" Version="2.9.0" />
86-
<PackageReference Include="Microsoft.ApplicationInsights.PerfCounterCollector" Version="2.9.0" />
87-
<PackageReference Include="Microsoft.ApplicationInsights.WindowsServer" Version="2.9.0" />
88-
<PackageReference Include="Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel" Version="2.9.0" />
84+
<PackageReference Include="Microsoft.ApplicationInsights" Version="2.10.0-beta2" />
85+
<PackageReference Include="Microsoft.ApplicationInsights.DependencyCollector" Version="2.10.0-beta2" />
86+
<PackageReference Include="Microsoft.ApplicationInsights.PerfCounterCollector" Version="2.10.0-beta2" />
87+
<PackageReference Include="Microsoft.ApplicationInsights.WindowsServer" Version="2.10.0-beta2" />
88+
<PackageReference Include="Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel" Version="2.10.0-beta2" />
8989
<PackageReference Include="Microsoft.AspNetCore.Hosting" Version="1.0.2" />
9090
<PackageReference Include="Microsoft.Extensions.Configuration" Version="1.0.2" />
9191
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="1.0.2" />

test/EmptyApp20.FunctionalTests/Startup.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
using FunctionalTestUtils;
66
using Microsoft.ApplicationInsights;
77
using Microsoft.ApplicationInsights.AspNetCore.Extensions;
8+
using Microsoft.ApplicationInsights.Channel;
89
using Microsoft.ApplicationInsights.DataContracts;
910
using Microsoft.AspNetCore.Builder;
1011
using Microsoft.AspNetCore.Http;
@@ -21,6 +22,7 @@ public void ConfigureServices(IServiceCollection services)
2122

2223
var builder = new ConfigurationBuilder();
2324
builder.AddApplicationInsightsSettings(instrumentationKey: InProcessServer.IKey, endpointAddress: endpointAddress.ConnectionString, developerMode: true);
25+
services.AddSingleton(typeof(ITelemetryChannel), new InMemoryChannel());
2426
services.AddApplicationInsightsTelemetry(builder.Build());
2527
}
2628

test/MVCFramework20.FunctionalTests/Startup.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ public void ConfigureServices(IServiceCollection services)
3333
applicationInsightsOptions.EndpointAddress = endpointAddress.ConnectionString;
3434
applicationInsightsOptions.InstrumentationKey = InProcessServer.IKey;
3535

36+
services.AddSingleton(typeof(ITelemetryChannel), new InMemoryChannel());
3637
services.AddApplicationInsightsTelemetry(applicationInsightsOptions);
3738
services.AddMvc();
3839
}

test/WebApi20.FunctionalTests/Startup.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using Microsoft.Extensions.Configuration;
44
using Microsoft.Extensions.DependencyInjection;
55
using FunctionalTestUtils;
6-
6+
using Microsoft.ApplicationInsights.Channel;
77

88
namespace WebApi20.FunctionalTests
99
{
@@ -24,6 +24,7 @@ public void ConfigureServices(IServiceCollection services)
2424

2525
var builder = new ConfigurationBuilder();
2626
builder.AddApplicationInsightsSettings(instrumentationKey: InProcessServer.IKey, endpointAddress: endpointAddress.ConnectionString, developerMode: true);
27+
services.AddSingleton(typeof(ITelemetryChannel), new InMemoryChannel());
2728
services.AddApplicationInsightsTelemetry(builder.Build());
2829

2930
services.AddMvc();

0 commit comments

Comments
 (0)