❔ MySQL publishing question
I'm working on a habit tracker using c# and mysql and i was about to publish it and send it off to github but i realized it has my MySQLWorkbench database password in it. I know its not a big deal since no one can get access to database but its a password that i use often. is there a way to hide the password and still have the connection still work?
ah ok i started it as a console app and i dont think i have app settings.
Ah, I assumed it's an ASP app
In that case, whatever other config file you want, really
i should try asp everywhere i look is looking for asp.net
I mean, if you want to make a web application, ASP would be the way to go, sure
@Angius @StrawHatGoofy prefer https://learn.microsoft.com/en-us/aspnet/core/security/app-secrets?view=aspnetcore-7.0 to appsettings
appsettings goes in the repo, which means there's a risk of it being committed
user secrets are nowhere near your repo
Was this issue resolved? If so, run
/close- otherwise I will mark this as stale and this post will be archived until there is new activity.