docs-aspire icon indicating copy to clipboard operation
docs-aspire copied to clipboard

EF Core gap analysis based on Aspire discussions (Q&A)

Open davidfowl opened this issue 1 year ago • 3 comments

I ran some data analysis on the discussions and one of the themes was EF Core doc gaps. I asked the AI to cross reference the answered questions with the existing documentation and to do a gap analysis to figure out what might be missing. Here's a stab at the EF Core problems:

EF Core Gaps in .NET Aspire Documentation

1. EF Core Integration with Aspire (Enrich* Methods)


2. Handling Non-Standard DbContext Constructors


3. Configuring External SQL Server Instances


4. EF Core Migrations with Aspire


5. DbContext Pooling


6. Configuration of EF Core with Existing Resources

  • Discussion URL: Adding EF Core Interceptors when using Aspire Client Integration Packages
  • Answer Comment URL: Answer
  • Suggested Document: "EF Core Advanced Integration with Aspire" (New Document)
  • Gap:
    • Missing detailed examples for combining Aspire’s Enrich* methods with existing EF Core configurations like dynamic connection strings or advanced scenarios.
  • Suggested Update:
    • Create a new section dedicated to advanced EF Core integration, focusing on:
      • Handling external databases.
      • Combining Aspire’s configurations with user-defined settings.

davidfowl avatar Dec 26 '24 04:12 davidfowl

#2666 covers using EF DB Contexts in .NET Aspire, including heading 1, 2, and 5 above.

alistairmatthews avatar Feb 24 '25 17:02 alistairmatthews

#2787 covers connecting to existing databases outside .NET Aspire containers. Headings 3 and 6 above.

alistairmatthews avatar Mar 11 '25 16:03 alistairmatthews

#3390 Completes this issue by covering the remainder of heading 4 above.

alistairmatthews avatar May 12 '25 15:05 alistairmatthews