When I create a new ASP .NET Core Web-Application, I can right-click the project in Visual Studio, and I see a context-menu entry called \"Manage User Secre
1.Add to your project file (Prior to dotnet 2.1 only):
2.Set
a random user id: manually add
Move to the migration project folder in Package Manager Console and add a key:value like:
dotnet user-secrets set "ConnectionStrings:DefaultConnection" "xxxxx"
Remember to be in the directory of that project (for Package manager console this means cd'ing into the project, not solution level)