1
0
Форкнуть 0

Merge pull request #490 from Microsoft/cithomas/azureemulatorfixandversionbumps

Fix issue 488.
This commit is contained in:
Cijo Thomas 2017-07-10 16:12:09 -07:00 коммит произвёл GitHub
Родитель ead65975f0 a52b6a0eca
Коммит 808cde5302
4 изменённых файлов: 15 добавлений и 4 удалений

Просмотреть файл

@ -1,5 +1,13 @@
# Changelog
## Version 2.1.1
- [Address the issue where DependencyCollection breaks Azure Storage Emulator calls](https://github.com/Microsoft/ApplicationInsights-aspnetcore/issues/488)
- [Support setting request operation name based on executing Razor Page](https://github.com/Microsoft/ApplicationInsights-aspnetcore/issues/430)
- [Fixed ITelemetryProcessor dependency injection failure when using 3rd party IoC Container](https://github.com/Microsoft/ApplicationInsights-aspnetcore/issues/482)
- [Logging exceptions when using ILogger if an exception is present](https://github.com/Microsoft/ApplicationInsights-aspnetcore/issues/393)
- Updated SDK version dependency to 2.4.1 for DependencyCollector.
## Version 2.1.0
- Updated SDK version dependency to 2.4.0.

Просмотреть файл

@ -146,6 +146,8 @@ namespace Microsoft.Extensions.DependencyInjection
excludedDomains.Add("core.chinacloudapi.cn");
excludedDomains.Add("core.cloudapi.de");
excludedDomains.Add("core.usgovcloudapi.net");
excludedDomains.Add("localhost");
excludedDomains.Add("127.0.0.1");
return module;
});

Просмотреть файл

@ -3,7 +3,7 @@
"summary": "Application Insights for ASP.NET Core web applications.",
"description": "Application Insights for ASP.NET Core web applications. See https://azure.microsoft.com/en-us/documentation/articles/app-insights-asp-net-five/ for more information. Privacy statement: https://go.microsoft.com/fwlink/?LinkId=512156",
"authors": ["Microsoft"],
"version": "2.1.0",
"version": "2.1.1",
"copyright": "Copyright © Microsoft. All Rights Reserved.",
"packOptions": {
"projectUrl": "https://go.microsoft.com/fwlink/?LinkId=392727",
@ -81,7 +81,7 @@
"type": "build"
},
"Microsoft.ApplicationInsights": "2.4.0",
"Microsoft.ApplicationInsights.DependencyCollector": "2.4.0"
"Microsoft.ApplicationInsights.DependencyCollector": "2.4.1"
//"Text.Analyzers": {
// "version": "1.2.0-beta2",
// "type": "build"
@ -95,7 +95,7 @@
"net451": {
"dependencies": {
"System.Net.Http": "4.3.1",
"Microsoft.ApplicationInsights.PerfCounterCollector": "2.4.0",
"Microsoft.ApplicationInsights.PerfCounterCollector": "2.4.1",
"Microsoft.ApplicationInsights.WindowsServer.TelemetryChannel": "2.4.0"
}
},

Просмотреть файл

@ -31,7 +31,8 @@
public InProcessServer(string assemblyName, Func<IWebHostBuilder, IWebHostBuilder> configureHost = null)
{
this.configureHost = configureHost;
this.url = "http://localhost:" + random.Next(5000, 14000).ToString();
var machineName = Environment.GetEnvironmentVariable("COMPUTERNAME");
this.url = "http://" + machineName + ":" + random.Next(5000, 14000).ToString();
this.backChannel = this.Start(assemblyName);
}