dotnet / AspNetCore.Docs

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

.NET 8: Code only EF with RP add inheritance and advanced topics #26505

Open Rick-Anderson opened 2 years ago

Rick-Anderson commented 2 years ago
  1. Copy Code from EF-RP 6.0 project to cu90 and update for .NET 9

  2. Quick review of code and update where necessary.

  3. Add code for inheritance. Hopefully you can use some of the code from Tutorial: Implement inheritance - ASP.NET MVC with EF Core.

  4. Consider adding code supporting Tutorial: Learn about advanced scenarios - ASP.NET MVC with EF Core.

Once the preceding is complete, ~we'll port all the RP code and update the Tutorial: Get started with EF Core in an ASP.NET MVC web app~ and make a Blazor version.

@guardrex - @tdykstra


Document Details

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


Document Details


Associated WorkItem - 33228

Rick-Anderson commented 2 years ago

@JeremyLikness I'm hoping you can do this early next year after the .NET 7 push. Would it be helpful to create an issue tacking this in https://github.com/dotnet/EntityFramework.Docs/issues ? cc @roji @ajcvickers

ajcvickers commented 2 years ago

@Rick-Anderson What is the value of tracking it in the EF repo? (Happy to have one if there is a reason for it.)

Rick-Anderson commented 2 years ago

@Rick-Anderson What is the value of tracking it in the EF repo? (Happy to have one if there is a reason for it.)

I was thinking you folks don't check other repo's for issues. I'm fine with tracking it here only. I'm mention you next year.

Rick-Anderson commented 2 years ago

@JeremyLikness are you the right person to update the RP/EF code?

Rick-Anderson commented 2 years ago

@ajcvickers who should I assign this task, code writing only since @JeremyLikness is now in a new role? We're happy to do two hours of editing and scut work in https://github.com/dotnet/EntityFramework.Docs for every hour the EF team spends coding. cc @tdykstra

ajcvickers commented 2 years ago

@Rick-Anderson It will have to be someone on the dev team. We'll prioritize it alongside other docs work.

Rick-Anderson commented 1 year ago

@Rick-Anderson It will have to be someone on the dev team. We'll prioritize it alongside other docs work.

@ajcvickers mention me and @tdykstra on doc issues in https://github.com/dotnet/EntityFramework.Docs and we'd be happy to help to free up time for the EF Core code update in this topic.

LayersOfAbstraction commented 1 year ago

Hi guys I hope I found the right place to create new issues to get feedback on. I have a bunch of ideas that I will separate into each issue. I will try and do it here.

In regards to my attempt to migrate the MVC doco from .NET 5 to .NET 6, I see a couple of options.

We could create the whole ContosoUniversity sample solution app from scratch which would make developing it probably easier and call it say '6cu'.

Or we could slowly migrate the application cu at aspnetcore\data\ef-mvc\intro\samples\cu from .NET 2.2 to .NET 6 but it may mean wiping out some previous work. I think the first approach may be the better approach just so the previous contributions are preserved. What are your thoughts, on upgrading CU to .NET6, please?

Rick-Anderson commented 1 year ago

@ajcvickers

@Rick-Anderson It will have to be someone on the dev team. We'll prioritize it alongside other docs work.

Happy to quid pro quo 2:1 on your effort here. @tdykstra and I will spend 2 hours on https://github.com/dotnet/EntityFramework.Docs/issues for every hour it takes your team.

Rick-Anderson commented 2 months ago

Cleaning up with new issue https://github.com/dotnet/EntityFramework.Docs/issues/4633

cremor commented 2 months ago

@Rick-Anderson Could you please fix the issue number in your last comment? The one which is written now is a PR from 2017.