Skip to content

Commit d1ee458

Browse files
authored
Remove assemblies from the shared framework (#4004)
Remove assemblies from the shared framework that depend on or contain the following: * Entity Framework Core * Owin * Node and SPA services * Identity UI * Middleware analysis * SQL Client * Third-party oauth integrations * Runtime razor components * JsonPatch
1 parent e11f058 commit d1ee458

File tree

2 files changed

+1
-57
lines changed

2 files changed

+1
-57
lines changed

src/Framework/Microsoft.AspNetCore.App/Microsoft.AspNetCore.App.props

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,9 @@
99
<Dependency Include="Microsoft.AspNetCore.Authentication.Abstractions" Version="$(MicrosoftAspNetCoreAuthenticationAbstractionsPackageVersion)" />
1010
<Dependency Include="Microsoft.AspNetCore.Authentication.Cookies" Version="$(MicrosoftAspNetCoreAuthenticationCookiesPackageVersion)" />
1111
<Dependency Include="Microsoft.AspNetCore.Authentication.Core" Version="$(MicrosoftAspNetCoreAuthenticationCorePackageVersion)" />
12-
<Dependency Include="Microsoft.AspNetCore.Authentication.Facebook" Version="$(MicrosoftAspNetCoreAuthenticationFacebookPackageVersion)" />
13-
<Dependency Include="Microsoft.AspNetCore.Authentication.Google" Version="$(MicrosoftAspNetCoreAuthenticationGooglePackageVersion)" />
1412
<Dependency Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="$(MicrosoftAspNetCoreAuthenticationJwtBearerPackageVersion)" />
15-
<Dependency Include="Microsoft.AspNetCore.Authentication.MicrosoftAccount" Version="$(MicrosoftAspNetCoreAuthenticationMicrosoftAccountPackageVersion)" />
1613
<Dependency Include="Microsoft.AspNetCore.Authentication.OAuth" Version="$(MicrosoftAspNetCoreAuthenticationOAuthPackageVersion)" />
1714
<Dependency Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="$(MicrosoftAspNetCoreAuthenticationOpenIdConnectPackageVersion)" />
18-
<Dependency Include="Microsoft.AspNetCore.Authentication.Twitter" Version="$(MicrosoftAspNetCoreAuthenticationTwitterPackageVersion)" />
19-
<Dependency Include="Microsoft.AspNetCore.Authentication.WsFederation" Version="$(MicrosoftAspNetCoreAuthenticationWsFederationPackageVersion)" />
2015
<Dependency Include="Microsoft.AspNetCore.Authentication" Version="$(MicrosoftAspNetCoreAuthenticationPackageVersion)" />
2116
<Dependency Include="Microsoft.AspNetCore.Authorization.Policy" Version="$(MicrosoftAspNetCoreAuthorizationPolicyPackageVersion)" />
2217
<Dependency Include="Microsoft.AspNetCore.Authorization" Version="$(MicrosoftAspNetCoreAuthorizationPackageVersion)" />
@@ -29,7 +24,6 @@
2924
<Dependency Include="Microsoft.AspNetCore.DataProtection.Extensions" Version="$(MicrosoftAspNetCoreDataProtectionExtensionsPackageVersion)" />
3025
<Dependency Include="Microsoft.AspNetCore.DataProtection" Version="$(MicrosoftAspNetCoreDataProtectionPackageVersion)" />
3126
<Dependency Include="Microsoft.AspNetCore.Diagnostics.Abstractions" Version="$(MicrosoftAspNetCoreDiagnosticsAbstractionsPackageVersion)" />
32-
<Dependency Include="Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore" Version="$(MicrosoftAspNetCoreDiagnosticsEntityFrameworkCorePackageVersion)" />
3327
<Dependency Include="Microsoft.AspNetCore.Diagnostics.HealthChecks" Version="$(MicrosoftAspNetCoreDiagnosticsHealthChecksPackageVersion)" />
3428
<Dependency Include="Microsoft.AspNetCore.Diagnostics" Version="$(MicrosoftAspNetCoreDiagnosticsPackageVersion)" />
3529
<Dependency Include="Microsoft.AspNetCore.HostFiltering" Version="$(MicrosoftAspNetCoreHostFilteringPackageVersion)" />
@@ -45,13 +39,9 @@
4539
<Dependency Include="Microsoft.AspNetCore.Http" Version="$(MicrosoftAspNetCoreHttpPackageVersion)" />
4640
<Dependency Include="Microsoft.AspNetCore.HttpOverrides" Version="$(MicrosoftAspNetCoreHttpOverridesPackageVersion)" />
4741
<Dependency Include="Microsoft.AspNetCore.HttpsPolicy" Version="$(MicrosoftAspNetCoreHttpsPolicyPackageVersion)" />
48-
<Dependency Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="$(MicrosoftAspNetCoreIdentityEntityFrameworkCorePackageVersion)" />
49-
<Dependency Include="Microsoft.AspNetCore.Identity.UI" Version="$(MicrosoftAspNetCoreIdentityUIPackageVersion)" />
5042
<Dependency Include="Microsoft.AspNetCore.Identity" Version="$(MicrosoftAspNetCoreIdentityPackageVersion)" />
51-
<Dependency Include="Microsoft.AspNetCore.JsonPatch" Version="$(MicrosoftAspNetCoreJsonPatchPackageVersion)" />
5243
<Dependency Include="Microsoft.AspNetCore.Localization.Routing" Version="$(MicrosoftAspNetCoreLocalizationRoutingPackageVersion)" />
5344
<Dependency Include="Microsoft.AspNetCore.Localization" Version="$(MicrosoftAspNetCoreLocalizationPackageVersion)" />
54-
<Dependency Include="Microsoft.AspNetCore.MiddlewareAnalysis" Version="$(MicrosoftAspNetCoreMiddlewareAnalysisPackageVersion)" />
5545
<Dependency Include="Microsoft.AspNetCore.Mvc.Abstractions" Version="$(MicrosoftAspNetCoreMvcAbstractionsPackageVersion)" />
5646
<Dependency Include="Microsoft.AspNetCore.Mvc.Analyzers" Version="$(MicrosoftAspNetCoreMvcAnalyzersPackageVersion)" />
5747
<Dependency Include="Microsoft.AspNetCore.Mvc.ApiExplorer" Version="$(MicrosoftAspNetCoreMvcApiExplorerPackageVersion)" />
@@ -61,17 +51,13 @@
6151
<Dependency Include="Microsoft.AspNetCore.Mvc.Formatters.Json" Version="$(MicrosoftAspNetCoreMvcFormattersJsonPackageVersion)" />
6252
<Dependency Include="Microsoft.AspNetCore.Mvc.Formatters.Xml" Version="$(MicrosoftAspNetCoreMvcFormattersXmlPackageVersion)" />
6353
<Dependency Include="Microsoft.AspNetCore.Mvc.Localization" Version="$(MicrosoftAspNetCoreMvcLocalizationPackageVersion)" />
64-
<Dependency Include="Microsoft.AspNetCore.Mvc.Razor.Extensions" Version="$(MicrosoftAspNetCoreMvcRazorExtensionsPackageVersion)" />
6554
<Dependency Include="Microsoft.AspNetCore.Mvc.Razor" Version="$(MicrosoftAspNetCoreMvcRazorPackageVersion)" />
6655
<Dependency Include="Microsoft.AspNetCore.Mvc.RazorPages" Version="$(MicrosoftAspNetCoreMvcRazorPagesPackageVersion)" />
6756
<Dependency Include="Microsoft.AspNetCore.Mvc.TagHelpers" Version="$(MicrosoftAspNetCoreMvcTagHelpersPackageVersion)" />
6857
<Dependency Include="Microsoft.AspNetCore.Mvc.ViewFeatures" Version="$(MicrosoftAspNetCoreMvcViewFeaturesPackageVersion)" />
6958
<Dependency Include="Microsoft.AspNetCore.Mvc" Version="$(MicrosoftAspNetCoreMvcPackageVersion)" />
70-
<Dependency Include="Microsoft.AspNetCore.NodeServices" Version="$(MicrosoftAspNetCoreNodeServicesPackageVersion)" />
71-
<Dependency Include="Microsoft.AspNetCore.Owin" Version="$(MicrosoftAspNetCoreOwinPackageVersion)" />
72-
<Dependency Include="Microsoft.AspNetCore.Razor.Language" Version="$(MicrosoftAspNetCoreRazorLanguagePackageVersion)" />
73-
<Dependency Include="Microsoft.AspNetCore.Razor.Runtime" Version="$(MicrosoftAspNetCoreRazorRuntimePackageVersion)" />
7459
<Dependency Include="Microsoft.AspNetCore.Razor" Version="$(MicrosoftAspNetCoreRazorPackageVersion)" />
60+
<Dependency Include="Microsoft.AspNetCore.Razor.Runtime" Version="$(MicrosoftAspNetCoreRazorRuntimePackageVersion)" />
7561
<Dependency Include="Microsoft.AspNetCore.ResponseCaching.Abstractions" Version="$(MicrosoftAspNetCoreResponseCachingAbstractionsPackageVersion)" />
7662
<Dependency Include="Microsoft.AspNetCore.ResponseCaching" Version="$(MicrosoftAspNetCoreResponseCachingPackageVersion)" />
7763
<Dependency Include="Microsoft.AspNetCore.ResponseCompression" Version="$(MicrosoftAspNetCoreResponseCompressionPackageVersion)" />
@@ -91,24 +77,12 @@
9177
<Dependency Include="Microsoft.AspNetCore.SignalR.Core" Version="$(MicrosoftAspNetCoreSignalRCorePackageVersion)" />
9278
<Dependency Include="Microsoft.AspNetCore.SignalR.Protocols.Json" Version="$(MicrosoftAspNetCoreSignalRProtocolsJsonPackageVersion)" />
9379
<Dependency Include="Microsoft.AspNetCore.SignalR" Version="$(MicrosoftAspNetCoreSignalRPackageVersion)" />
94-
<Dependency Include="Microsoft.AspNetCore.SpaServices.Extensions" Version="$(MicrosoftAspNetCoreSpaServicesExtensionsPackageVersion)" />
95-
<Dependency Include="Microsoft.AspNetCore.SpaServices" Version="$(MicrosoftAspNetCoreSpaServicesPackageVersion)" />
9680
<Dependency Include="Microsoft.AspNetCore.StaticFiles" Version="$(MicrosoftAspNetCoreStaticFilesPackageVersion)" />
9781
<Dependency Include="Microsoft.AspNetCore.WebSockets" Version="$(MicrosoftAspNetCoreWebSocketsPackageVersion)" />
9882
<Dependency Include="Microsoft.AspNetCore.WebUtilities" Version="$(MicrosoftAspNetCoreWebUtilitiesPackageVersion)" />
9983
<Dependency Include="Microsoft.AspNetCore" Version="$(MicrosoftAspNetCorePackageVersion)" />
100-
<Dependency Include="Microsoft.CodeAnalysis.Razor" Version="$(MicrosoftCodeAnalysisRazorPackageVersion)" />
101-
<Dependency Include="Microsoft.EntityFrameworkCore.Abstractions" Version="$(MicrosoftEntityFrameworkCoreAbstractionsPackageVersion)" />
102-
<Dependency Include="Microsoft.EntityFrameworkCore.Analyzers" Version="$(MicrosoftEntityFrameworkCoreAnalyzersPackageVersion)" />
103-
<Dependency Include="Microsoft.EntityFrameworkCore.Design" Version="$(MicrosoftEntityFrameworkCoreDesignPackageVersion)" />
104-
<Dependency Include="Microsoft.EntityFrameworkCore.InMemory" Version="$(MicrosoftEntityFrameworkCoreInMemoryPackageVersion)" />
105-
<Dependency Include="Microsoft.EntityFrameworkCore.Relational" Version="$(MicrosoftEntityFrameworkCoreRelationalPackageVersion)" />
106-
<Dependency Include="Microsoft.EntityFrameworkCore.SqlServer" Version="$(MicrosoftEntityFrameworkCoreSqlServerPackageVersion)" />
107-
<Dependency Include="Microsoft.EntityFrameworkCore.Tools" Version="$(MicrosoftEntityFrameworkCoreToolsPackageVersion)" />
108-
<Dependency Include="Microsoft.EntityFrameworkCore" Version="$(MicrosoftEntityFrameworkCorePackageVersion)" />
10984
<Dependency Include="Microsoft.Extensions.Caching.Abstractions" Version="$(MicrosoftExtensionsCachingAbstractionsPackageVersion)" />
11085
<Dependency Include="Microsoft.Extensions.Caching.Memory" Version="$(MicrosoftExtensionsCachingMemoryPackageVersion)" />
111-
<Dependency Include="Microsoft.Extensions.Caching.SqlServer" Version="$(MicrosoftExtensionsCachingSqlServerPackageVersion)" />
11286
<Dependency Include="Microsoft.Extensions.Configuration.Abstractions" Version="$(MicrosoftExtensionsConfigurationAbstractionsPackageVersion)" />
11387
<Dependency Include="Microsoft.Extensions.Configuration.Binder" Version="$(MicrosoftExtensionsConfigurationBinderPackageVersion)" />
11488
<Dependency Include="Microsoft.Extensions.Configuration.CommandLine" Version="$(MicrosoftExtensionsConfigurationCommandLinePackageVersion)" />

test/Cli.FunctionalTests/Templates/WebTemplate.cs

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,9 @@ public WebTemplate() { }
4747
"Microsoft.AspNetCore.Authentication.Cookies.dll",
4848
"Microsoft.AspNetCore.Authentication.Core.dll",
4949
"Microsoft.AspNetCore.Authentication.dll",
50-
"Microsoft.AspNetCore.Authentication.Facebook.dll",
51-
"Microsoft.AspNetCore.Authentication.Google.dll",
5250
"Microsoft.AspNetCore.Authentication.JwtBearer.dll",
53-
"Microsoft.AspNetCore.Authentication.MicrosoftAccount.dll",
5451
"Microsoft.AspNetCore.Authentication.OAuth.dll",
5552
"Microsoft.AspNetCore.Authentication.OpenIdConnect.dll",
56-
"Microsoft.AspNetCore.Authentication.Twitter.dll",
57-
"Microsoft.AspNetCore.Authentication.WsFederation.dll",
5853
"Microsoft.AspNetCore.Authorization.dll",
5954
"Microsoft.AspNetCore.Authorization.Policy.dll",
6055
"Microsoft.AspNetCore.Connections.Abstractions.dll",
@@ -67,7 +62,6 @@ public WebTemplate() { }
6762
"Microsoft.AspNetCore.DataProtection.Extensions.dll",
6863
"Microsoft.AspNetCore.Diagnostics.Abstractions.dll",
6964
"Microsoft.AspNetCore.Diagnostics.dll",
70-
"Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore.dll",
7165
"Microsoft.AspNetCore.Diagnostics.HealthChecks.dll",
7266
"Microsoft.AspNetCore.dll",
7367
"Microsoft.AspNetCore.HostFiltering.dll",
@@ -84,14 +78,8 @@ public WebTemplate() { }
8478
"Microsoft.AspNetCore.HttpOverrides.dll",
8579
"Microsoft.AspNetCore.HttpsPolicy.dll",
8680
"Microsoft.AspNetCore.Identity.dll",
87-
"Microsoft.AspNetCore.Identity.EntityFrameworkCore.dll",
88-
"Microsoft.AspNetCore.Identity.UI.dll",
89-
"Microsoft.AspNetCore.Identity.UI.Views.V3.dll",
90-
"Microsoft.AspNetCore.Identity.UI.Views.V4.dll",
91-
"Microsoft.AspNetCore.JsonPatch.dll",
9281
"Microsoft.AspNetCore.Localization.dll",
9382
"Microsoft.AspNetCore.Localization.Routing.dll",
94-
"Microsoft.AspNetCore.MiddlewareAnalysis.dll",
9583
"Microsoft.AspNetCore.Mvc.Abstractions.dll",
9684
"Microsoft.AspNetCore.Mvc.ApiExplorer.dll",
9785
"Microsoft.AspNetCore.Mvc.Core.dll",
@@ -102,14 +90,11 @@ public WebTemplate() { }
10290
"Microsoft.AspNetCore.Mvc.Formatters.Xml.dll",
10391
"Microsoft.AspNetCore.Mvc.Localization.dll",
10492
"Microsoft.AspNetCore.Mvc.Razor.dll",
105-
"Microsoft.AspNetCore.Mvc.Razor.Extensions.dll",
10693
"Microsoft.AspNetCore.Mvc.RazorPages.dll",
10794
"Microsoft.AspNetCore.Mvc.TagHelpers.dll",
10895
"Microsoft.AspNetCore.Mvc.ViewFeatures.dll",
10996
"Microsoft.AspNetCore.NodeServices.dll",
110-
"Microsoft.AspNetCore.Owin.dll",
11197
"Microsoft.AspNetCore.Razor.dll",
112-
"Microsoft.AspNetCore.Razor.Language.dll",
11398
"Microsoft.AspNetCore.Razor.Runtime.dll",
11499
"Microsoft.AspNetCore.ResponseCaching.Abstractions.dll",
115100
"Microsoft.AspNetCore.ResponseCaching.dll",
@@ -130,24 +115,15 @@ public WebTemplate() { }
130115
"Microsoft.AspNetCore.SignalR.Core.dll",
131116
"Microsoft.AspNetCore.SignalR.dll",
132117
"Microsoft.AspNetCore.SignalR.Protocols.Json.dll",
133-
"Microsoft.AspNetCore.SpaServices.dll",
134-
"Microsoft.AspNetCore.SpaServices.Extensions.dll",
135118
"Microsoft.AspNetCore.StaticFiles.dll",
136119
"Microsoft.AspNetCore.WebSockets.dll",
137120
"Microsoft.AspNetCore.WebUtilities.dll",
138121
"Microsoft.CodeAnalysis.CSharp.dll",
139122
"Microsoft.CodeAnalysis.dll",
140123
"Microsoft.CodeAnalysis.Razor.dll",
141124
"Microsoft.DotNet.PlatformAbstractions.dll",
142-
"Microsoft.EntityFrameworkCore.Abstractions.dll",
143-
"Microsoft.EntityFrameworkCore.Design.dll",
144-
"Microsoft.EntityFrameworkCore.dll",
145-
"Microsoft.EntityFrameworkCore.InMemory.dll",
146-
"Microsoft.EntityFrameworkCore.Relational.dll",
147-
"Microsoft.EntityFrameworkCore.SqlServer.dll",
148125
"Microsoft.Extensions.Caching.Abstractions.dll",
149126
"Microsoft.Extensions.Caching.Memory.dll",
150-
"Microsoft.Extensions.Caching.SqlServer.dll",
151127
"Microsoft.Extensions.Configuration.Abstractions.dll",
152128
"Microsoft.Extensions.Configuration.Binder.dll",
153129
"Microsoft.Extensions.Configuration.CommandLine.dll",
@@ -194,17 +170,11 @@ public WebTemplate() { }
194170
"Microsoft.IdentityModel.Logging.dll",
195171
"Microsoft.IdentityModel.Protocols.dll",
196172
"Microsoft.IdentityModel.Protocols.OpenIdConnect.dll",
197-
"Microsoft.IdentityModel.Protocols.WsFederation.dll",
198173
"Microsoft.IdentityModel.Tokens.dll",
199-
"Microsoft.IdentityModel.Tokens.Saml.dll",
200-
"Microsoft.IdentityModel.Xml.dll",
201174
"Microsoft.Net.Http.Headers.dll",
202175
"Newtonsoft.Json.Bson.dll",
203176
"Newtonsoft.Json.dll",
204-
"Remotion.Linq.dll",
205-
"System.Data.SqlClient.dll",
206177
"System.IdentityModel.Tokens.Jwt.dll",
207-
"System.Interactive.Async.dll",
208178
"System.IO.Pipelines.dll",
209179
"System.Net.Http.Formatting.dll",
210180
"System.Net.WebSockets.WebSocketProtocol.dll",

0 commit comments

Comments
 (0)