question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature request: Add ConnectionStrings:DefaultConnection to secrets.json as an option

See original GitHub issue

When 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:closed
  • Created a year ago
  • Comments:22 (22 by maintainers)

github_iconTop GitHub Comments

1reaction
ErikEJcommented, Apr 23, 2022

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.

1reaction
doggy8088commented, Apr 23, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found