asp-net-config-builders

User Secrets in .NET 4.7 connectionstrings format

拜拜、爱过 提交于 2021-02-11 13:55:48
问题 I have been digging for hours and keep coming up with information about .NET Core, yet hardly anything about .NET 4.7 full framework. I figured out how to add User Secrets to the main project of my Web API solution. I get the basic secrets.xml file where I need to to either store my database username and password or my connection string. Every post I find talks about the changes you need to make to web.config. However nothing shows what to do with my connection string, how to format it, in