dotnet / AspNetCore.Docs

Documentation for ASP.NET Core
https://docs.microsoft.com/aspnet/core
Creative Commons Attribution 4.0 International
12.67k stars 25.28k forks source link

Instructions not needed for ASP .Net Core 6 #29969

Open ragavendra opened 1 year ago

ragavendra commented 1 year ago

In the .Net Core CLI instructions, the below packages are available for ASP .Net Core 7 or above but are shown for ASP .Net Core 6 as well.

Microsoft.EntityFrameworkCore.Design Microsoft.VisualStudio.Web.CodeGeneration.Design

These instructions have a cascading effect in the documentation in the link as well, not stopping the user to start with ASP .Net Core 6 . -> https://learn.microsoft.com/en-us/aspnet/core/security/authentication/identity?view=aspnetcore-6.0&tabs=netcore-cli


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

Rick-Anderson commented 1 year ago

What instructions? Microsoft.EntityFrameworkCore.Design isn't in the .NET 6 version of the doc.

ragavendra commented 1 year ago

The issue is actually there in the Scaffold Identity in ASP.NET Core projects page, where it talks about installing dotnet-aspnet-codegenerator and the relevant packages including Microsoft.EntityFrameworkCore.Design which is referred to in the Introduction to Identity on ASP.NET Core page below this command

dotnet aspnet-codegenerator identity -dc WebApp1.Data.ApplicationDbContext --files "Account.Register;Account.Login;Account.Logout;Account.RegisterConfirmation" --useSqLite

I am not sure if the user can continue the instructions for the ASP .Net 6.0 from this point onwards.