Skip to content

Commit 82e1738

Browse files
[main] Update dependencies from dotnet/runtime dotnet/efcore (#49220)
[main] Update dependencies from dotnet/runtime dotnet/efcore - Removing dependency on Microsoft.Extensions.Diagnostics.Abstractions - Incremental change
1 parent 900cd37 commit 82e1738

File tree

19 files changed

+235
-251
lines changed

19 files changed

+235
-251
lines changed

eng/Dependencies.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ and are generated based on the last package release.
4040
<LatestPackageReference Include="Microsoft.Extensions.DependencyInjection" />
4141
<LatestPackageReference Include="Microsoft.Extensions.DependencyModel" />
4242
<LatestPackageReference Include="Microsoft.Extensions.DiagnosticAdapter" />
43-
<LatestPackageReference Include="Microsoft.Extensions.Diagnostics.Abstractions" />
4443
<LatestPackageReference Include="Microsoft.Extensions.Diagnostics" />
4544
<LatestPackageReference Include="Microsoft.Extensions.FileProviders.Abstractions" />
4645
<LatestPackageReference Include="Microsoft.Extensions.FileProviders.Composite" />

eng/SharedFramework.External.props

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
<ExternalAspNetCoreAppReference Include="Microsoft.Extensions.Configuration" Version="$(MicrosoftExtensionsConfigurationVersion)" />
2222
<ExternalAspNetCoreAppReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="$(MicrosoftExtensionsDependencyInjectionAbstractionsVersion)" />
2323
<ExternalAspNetCoreAppReference Include="Microsoft.Extensions.DependencyInjection" Version="$(MicrosoftExtensionsDependencyInjectionVersion)" />
24-
<ExternalAspNetCoreAppReference Include="Microsoft.Extensions.Diagnostics.Abstractions" Version="$(MicrosoftExtensionsDiagnosticsVersion)" />
2524
<ExternalAspNetCoreAppReference Include="Microsoft.Extensions.Diagnostics" Version="$(MicrosoftExtensionsDiagnosticsVersion)" />
2625
<ExternalAspNetCoreAppReference Include="Microsoft.Extensions.FileProviders.Abstractions" Version="$(MicrosoftExtensionsFileProvidersAbstractionsVersion)" />
2726
<ExternalAspNetCoreAppReference Include="Microsoft.Extensions.FileProviders.Composite" Version="$(MicrosoftExtensionsFileProvidersCompositeVersion)" />

eng/Version.Details.xml

Lines changed: 152 additions & 156 deletions
Large diffs are not rendered by default.

eng/Versions.props

Lines changed: 76 additions & 77 deletions
Large diffs are not rendered by default.

src/Framework/test/TestData.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ static TestData()
120120
"Microsoft.Extensions.DependencyInjection",
121121
"Microsoft.Extensions.DependencyInjection.Abstractions",
122122
"Microsoft.Extensions.Diagnostics",
123-
"Microsoft.Extensions.Diagnostics.Abstractions",
124123
"Microsoft.Extensions.Diagnostics.HealthChecks",
125124
"Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions",
126125
"Microsoft.Extensions.FileProviders.Abstractions",
@@ -270,7 +269,6 @@ static TestData()
270269
{ "Microsoft.Extensions.Configuration" },
271270
{ "Microsoft.Extensions.DependencyInjection.Abstractions" },
272271
{ "Microsoft.Extensions.DependencyInjection" },
273-
{ "Microsoft.Extensions.Diagnostics.Abstractions" },
274272
{ "Microsoft.Extensions.Diagnostics" },
275273
{ "Microsoft.Extensions.Diagnostics.HealthChecks.Abstractions" },
276274
{ "Microsoft.Extensions.Diagnostics.HealthChecks" },

src/Hosting/Hosting/src/Internal/HostingMetrics.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
using System.Diagnostics;
66
using System.Diagnostics.Metrics;
77
using Microsoft.AspNetCore.Http;
8-
using Microsoft.Extensions.Diagnostics.Metrics;
98

109
namespace Microsoft.AspNetCore.Hosting;
1110

src/Hosting/Hosting/test/HostingApplicationDiagnosticsTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33

44
using System.Diagnostics;
5+
using System.Diagnostics.Metrics;
56
using System.Diagnostics.Tracing;
67
using System.Reflection;
78
using Microsoft.AspNetCore.Http;
@@ -702,7 +703,7 @@ public void RequestLogs()
702703
var endLog = testSink.Writes.Single(w => w.EventId == LoggerEventIds.RequestFinished);
703704

704705
Assert.Equal("Request starting 1.1 POST http://localhost/hello - text/plain 1024", startLog.Message);
705-
Assert.Equal("Request reached the end of the middleware pipeline without being handled by application code. Request path: POST http://localhost/hello, Response status code: 404", unhandedLog.Message);
706+
Assert.Equal("Request reached the end of the middleware pipeline without being handled by application code. Request path: POST http://localhost/hello, Response status code: 404", unhandedLog.Message);
706707
Assert.StartsWith("Request finished 1.1 POST http://localhost/hello - 404", endLog.Message);
707708
}
708709

src/Hosting/Hosting/test/HostingApplicationTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
using System.Collections;
55
using System.Diagnostics;
6+
using System.Diagnostics.Metrics;
67
using Microsoft.AspNetCore.Hosting.Server.Abstractions;
78
using Microsoft.AspNetCore.Http;
89
using Microsoft.AspNetCore.Http.Features;

src/Http/Routing/src/Microsoft.AspNetCore.Routing.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
<Reference Include="Microsoft.AspNetCore.Authorization" />
4343
<Reference Include="Microsoft.AspNetCore.Http.Extensions" />
4444
<Reference Include="Microsoft.AspNetCore.Routing.Abstractions" />
45-
<Reference Include="Microsoft.Extensions.Diagnostics.Abstractions" />
4645
<Reference Include="Microsoft.Extensions.ObjectPool" />
4746
<Reference Include="Microsoft.Extensions.Options" />
4847
</ItemGroup>

src/Http/Routing/src/RoutingMetrics.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33

44
using System.Diagnostics.Metrics;
5-
using Microsoft.Extensions.Diagnostics.Metrics;
65

76
namespace Microsoft.AspNetCore.Routing;
87

src/Middleware/Diagnostics/src/DeveloperExceptionPage/DeveloperExceptionPageMiddlewareImpl.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
using System.Diagnostics;
55
using System.Diagnostics.CodeAnalysis;
6+
using System.Diagnostics.Metrics;
67
using System.Linq;
78
using System.Text;
89
using System.Text.Json;
@@ -15,7 +16,6 @@
1516
using Microsoft.AspNetCore.Http.Json;
1617
using Microsoft.AspNetCore.Mvc;
1718
using Microsoft.AspNetCore.Routing;
18-
using Microsoft.Extensions.Diagnostics.Metrics;
1919
using Microsoft.Extensions.FileProviders;
2020
using Microsoft.Extensions.Internal;
2121
using Microsoft.Extensions.Logging;

src/Middleware/Diagnostics/src/DiagnosticsMetrics.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
using System.Diagnostics;
55
using System.Diagnostics.Metrics;
66
using System.Runtime.CompilerServices;
7-
using Microsoft.Extensions.Diagnostics.Metrics;
87

98
namespace Microsoft.AspNetCore.Diagnostics;
109

src/Middleware/Diagnostics/src/DummyMeterFactory.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
// Licensed to the .NET Foundation under one or more agreements.
1+
// Licensed to the .NET Foundation under one or more agreements.
22
// The .NET Foundation licenses this file to you under the MIT license.
33

44
using System.Diagnostics.Metrics;
5-
using Microsoft.Extensions.Diagnostics.Metrics;
65

76
namespace Microsoft.AspNetCore.Diagnostics;
87

src/Middleware/Diagnostics/src/ExceptionHandler/ExceptionHandlerExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33

44
using System.Diagnostics;
5+
using System.Diagnostics.Metrics;
56
using Microsoft.AspNetCore.Diagnostics;
67
using Microsoft.AspNetCore.Http;
78
using Microsoft.AspNetCore.Routing;
89
using Microsoft.Extensions.DependencyInjection;
9-
using Microsoft.Extensions.Diagnostics.Metrics;
1010
using Microsoft.Extensions.Logging;
1111
using Microsoft.Extensions.Options;
1212

src/Middleware/Diagnostics/src/ExceptionHandler/ExceptionHandlerMiddlewareImpl.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33

44
using System.Diagnostics;
5+
using System.Diagnostics.Metrics;
56
using System.Diagnostics.CodeAnalysis;
67
using System.Runtime.ExceptionServices;
78
using Microsoft.AspNetCore.Builder;
89
using Microsoft.AspNetCore.Http;
910
using Microsoft.AspNetCore.Http.Features;
10-
using Microsoft.Extensions.Diagnostics.Metrics;
1111
using Microsoft.Extensions.Logging;
1212
using Microsoft.Extensions.Options;
1313

src/Middleware/RateLimiting/src/RateLimitingMetrics.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
using System.Diagnostics;
55
using System.Diagnostics.Metrics;
66
using System.Runtime.CompilerServices;
7-
using Microsoft.Extensions.Diagnostics.Metrics;
87

98
namespace Microsoft.AspNetCore.RateLimiting;
109

src/Servers/Kestrel/Core/src/Internal/Infrastructure/KestrelMetrics.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
// The .NET Foundation licenses this file to you under the MIT license.
33

44
using Microsoft.AspNetCore.Connections;
5-
using Microsoft.Extensions.Diagnostics.Metrics;
65
using System.Diagnostics;
76
using System.Diagnostics.Metrics;
87
using System.Runtime.CompilerServices;

src/Servers/Kestrel/Core/src/KestrelServer.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
using Microsoft.AspNetCore.Server.Kestrel.Https.Internal;
1212
using Microsoft.Extensions.Hosting;
1313
using Microsoft.Extensions.Logging;
14-
using Microsoft.Extensions.Diagnostics.Metrics;
1514
using Microsoft.Extensions.Options;
1615

1716
namespace Microsoft.AspNetCore.Server.Kestrel.Core;

src/SignalR/common/Http.Connections/src/Internal/HttpConnectionsMetrics.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33

44
using System.Diagnostics;
55
using System.Diagnostics.Metrics;
6-
using Microsoft.Extensions.Diagnostics.Metrics;
76

87
namespace Microsoft.AspNetCore.Http.Connections.Internal;
98

0 commit comments

Comments
 (0)