docs: Add dotnet-ef JSON config file feature (EF Core 11)#5342
Merged
AndriySvyryd merged 4 commits intopreview.4from Apr 24, 2026
Merged
docs: Add dotnet-ef JSON config file feature (EF Core 11)#5342AndriySvyryd merged 4 commits intopreview.4from
AndriySvyryd merged 4 commits intopreview.4from
Conversation
Agent-Logs-Url: https://github.com/dotnet/EntityFramework.Docs/sessions/8f68a2f3-a94e-47c0-b349-f836985bd186 Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
…text injection subsection Agent-Logs-Url: https://github.com/dotnet/EntityFramework.Docs/sessions/f80a26f0-8793-4f7e-af07-35e6bf53e308 Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
AndriySvyryd
April 22, 2026 00:31
View session
There was a problem hiding this comment.
Pull request overview
Documents EF Core 11 support for a .config/dotnet-ef.json file to persist default dotnet ef option values across invocations.
Changes:
- Adds a new “Configuration file” section to the
dotnet efCLI reference, covering discovery, supported properties, precedence, and path resolution. - Adds a “Configuration file for dotnet ef” note to the EF Core 11 “What’s New” page, linking back to the CLI reference.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| entity-framework/core/cli/dotnet.md | Adds the new configuration file documentation (location/discovery, property schema, precedence, and path semantics). |
| entity-framework/core/what-is-new/ef-core-11.0/whatsnew.md | Introduces a “What’s New” callout summarizing the feature and linking to the CLI details. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dotnet/EntityFramework.Docs/sessions/d36134ff-5de1-42cc-9b3a-04db0118a4a5 Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
roji
approved these changes
Apr 22, 2026
|
|
||
| <a name="dotnet-ef-config-file"></a> | ||
|
|
||
| ### Configuration file for dotnet ef |
Member
There was a problem hiding this comment.
Just for me - technically this isn't only a migrations feature, right? (because other cmdline tool usage are also affected by it)? Though we expect it will mostly help out with migration management?
Member
There was a problem hiding this comment.
Right, be we don't have a section for CLI features
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Documents the new
.config/dotnet-ef.jsonconfiguration file support added in EF Core 11 (dotnet/efcore#37966), which lets teams persist defaultdotnet efoptions instead of repeating them on every invocations.Changes
entity-framework/core/cli/dotnet.md— New## Configuration filesection at the end of the document (before## Additional resources) covering:.config/dotnet-ef.json)project,startupProject,framework,configuration,context,runtime,verbose,noColor,prefixOutput)entity-framework/core/what-is-new/ef-core-11.0/whatsnew.md— New subsection summarising the feature with a cross-reference to the CLI reference.