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

Make getting started more obvious when reading docs #4648

Open
ajcvickers opened this issue Feb 11, 2024 · 3 comments
Open

Make getting started more obvious when reading docs #4648

ajcvickers opened this issue Feb 11, 2024 · 3 comments
Milestone

Comments

@ajcvickers
Copy link
Member

We have had lots of great conversations over the last couple of years on improving doc layout. I don't want to forget all that, but this is something we could potentially do that is low cost and will help people getting started.

I have been reading Cosmos docs, and I noticed this structure:

image

That is, at the top level there are "Quickstarts" "Tutorials". These break out for the potential dimensions--in Cosmos case, the platforms/languages. The tutorials are then about building different kinds of applications.

image

For us, I think it would be:

  • Quickstarts
    • Use EF Core with Azure Cosmos DB
    • Use EF Core with Azure SQL
    • Use EF Core with SQL Server on-premise
    • Use EF Core with PostgreSQL
    • Use EF Core with SQLite
    • Use EF Core with MongoDB
    • Use EF Core with MySql
    • Use EF Core with Oracle
  • Tutorials
    • Build a console application with EF Core
    • Build an ASP.NET Core minimal API with EF Core
    • Build an ASP.NET Core Blazor application with EF Core
    • Build a Windows Forms application with EF Core
    • Build a MAUI application for EF Core
    • Build a WPF application with EF Core
    • Use EF Core in Jupyter Notebooks
@ajcvickers ajcvickers transferred this issue from dotnet/efcore Feb 11, 2024
@roji
Copy link
Member

roji commented Feb 11, 2024

I love the direction and trying to make this all better - here are some thoughts.

I'm not sure a full quickstart page for each databases makes sense.. In the Cosmos case, obviously a different language warrants a completely different code sample (everything is different), but a simple quickstart for EF will like differ by only a single line across providers - UseSqlServer vs. UseNpgsql (of course as you get deeper there are many other differences, but probably not at the quickstart level).

Maybe it's enough to just use tabs here? i.e. in the "build a console application", "build an ASP.NET Core ...", we could have a tab for each provider where we show the code to configure the provider? This would also allow us to integrate all providers into all tutorial pages (and avoid an explosion of pages where we need to show console for SQL Server, for Cosmos...).

Another note is to think about the relationship between the above and the ASP.NET tutorials (e.g. this).

@ajcvickers
Copy link
Member Author

ajcvickers commented Feb 12, 2024

In the Cosmos case, obviously a different language warrants a completely different code sample (everything is different), but a simple quickstart for EF will like differ by only a single line across providers - UseSqlServer vs. UseNpgsql (of course as you get deeper there are many other differences, but probably not at the quickstart level).

This is true, but the point here is to draw people in by letting them see something that they connect with without clicking into docs to get there. So, the point is to make "Cosmos with EF Core" a top-level item that people will see.

"build an ASP.NET Core ..."

These will be a link to the existing ASP.NET tutorial. For the tutorials we own, we can add tabs.

@roji
Copy link
Member

roji commented Feb 12, 2024

This is true, but the point here is to draw people in by letting them see something that they connect with without clicking into docs to get there.

Right, from a "marketing" point of view I can see that.

These will be a link to the existing ASP.NET tutorial. For the tutorials we own, we can add tabs.

I guess I'm wondering more on the precise line between "EF tutorials including web" (living in our docs) and "Web tutorials including EF" (living in ASP.NET's). But anyway, not important.

@ajcvickers ajcvickers added this to the Backlog milestone Mar 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants