So I've been tasked with modernizing a .NET application built in Visual Studio that functions as my organization's receipt matching tool. One of the problems that sticks out the most is that it stores its passwords for non-prod AND prod database access in an app.config file, unencrypted and part of the source code stored in TFS. The connection strings look similar to this:
<!-- DEV -->
<add name="DEV_USER" connectionString="data source=DEVDB;user id=DEV_USER;password=*Password*;" providerName="System.Data.OracleClient"/>
Any suggestions on how to manage these outside of the application while still using them within? I am also fairly new to .NET applications, so any advice is greatly appreciated.