Feature request: Add ConnectionStrings:DefaultConnection to secrets.json as an option
See original GitHub issueWhen using EF Core Power Tool > Reverse Engineer feature in a project, I wish this tool have a feature that can add Connection String to the appsettings.json
config file when I’m in a ASP.NET Core project. That will be very convenient.
Issue Analytics
- State:
- Created a year ago
- Comments:22 (22 by maintainers)
Top Results From Across the Web
How to get ConnectionString from Secrets.json in Asp.Net ...
Initialize the secrets within the project directory via cli, a 'UserSecretsId' will be created in the PropertyGroup in the projectName.csproj ...
Read more >Safe storage of app secrets in development in ASP.NET Core
A default database connection string is included in the project's appsettings.json file with the key DefaultConnection .
Read more >Using User Secrets Configuration In .NET - NET Core Tutorials
By far the easiest way to use User Secrets is via Visual Studio. Right click your entry project and select “Manage User Secrets”....
Read more >How to manage user secrets in ASP.NET Core
Adding user secrets management to your project is fairly straightforward. All you need to do is select the project in the Solution Explorer ......
Read more >Securing Sensitive Information with .NET User Secrets
Once you've initialized your project, you'll want to manage your secrets. The secrets.json file is similar to the appsettings.json configuration ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think that would be great and should be enabled by default.
I wish markdown rendering was enabled by default.
But maybe a markdown file would be the Best format anyway.
Some of my students said they have difficulty with writing connection string by hand. With GitHub Copilot’s help, they can get recommended connection string instantly in the editor. So that this features might not needed anymore.