Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduction of new meta-package "Microsoft.AspNetCore.App" #287

Open
DamianEdwards opened this issue Jan 30, 2018 · 0 comments
Open

Introduction of new meta-package "Microsoft.AspNetCore.App" #287

DamianEdwards opened this issue Jan 30, 2018 · 0 comments

Comments

@DamianEdwards
Copy link
Member

DamianEdwards commented Jan 30, 2018

Overview

ASP.NET Core 2.1 will introduce a new meta-package for use by applications: Microsoft.AspNetCore.App. Additionally, new projects created that target 2.1 will use this meta-package by default, rather than the existing meta-package Microsoft.AspNetCore.All.

The new meta-package differs from the existing meta-package in that it reduces the number of dependencies of packages not owned or supported by the ASP.NET or .NET teams to just those deemed necessary to ensure the major frameworks features function. The full list of packages being removed compared to Microsoft.AspNetCore.All can be seen below.

The existing Microsoft.AspNetCore.All meta-package will continue to be made available throughout the 2.x lifecycle, but we recommend customers move to the new Microsoft.AspNetCore.App meta-pacakge and then add individual references to any of the removed packages if their app requires it.

Package references not in "Microsoft.AspNetCore.App", compared to "Microsoft.AspNetCore.All"

The following packages are direct dependencies of Microsoft.AspNetCore.All but not of Microsoft.AspNetCore.App. Note that any dependencies of these packages that otherwise aren't dependencies of Microsoft.AspNetCore.App will now not be included implicitly, e.g. StackExchange.Redis as a dependency of Microsoft.Extensions.Caching.Redis, Microsoft.ApplicationInsights as a dependency of Microsoft.AspNetCore.ApplicationInsights.HostingStartup:

  • Microsoft.Data.Sqlite
  • Microsoft.Data.Sqlite.Core
  • Microsoft.EntityFrameworkCore.Sqlite
  • Microsoft.EntityFrameworkCore.Sqlite.Core
  • Microsoft.Extensions.Caching.Redis
  • Microsoft.AspNetCore.DataProtection.AzureStorage
  • Microsoft.Extensions.Configuration.AzureKeyVault
  • Microsoft.AspNetCore.DataProtection.AzureKeyVault
  • Microsoft.AspNetCore.Identity.Service.AzureKeyVault
  • Microsoft.AspNetCore.AzureKeyVault.HostingStartup
  • Microsoft.AspNetCore.ApplicationInsights.HostingStartup

When moving from Microsoft.AspNetCore.All to Microsoft.AspNetCore.App, if your application uses any APIs from the above packages, or packages brought in by those packages, you'll now need to add references to those packages in your project manually.

Discussion for this issue at aspnet/MetaPackages#255

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant