troubleshooting Question

C# Connection String Storing

Avatar of FTIISD
FTIISD asked on
18 Comments1 Solution11751 ViewsLast Modified:

I currently have an application in which i am storing a connection string in a class.  I would like to not have to hardcode this into the class, but instead store it in some sort of dll or text file.  I have multiple clients on this system, and each time I make an update, i have to alter the connection string in the software, and compile for each separate location.

We thought of placing this into a text file, but we want to be able to hide this file, and not allow them to view the connection string.

Thanks for your help!
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 18 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 18 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros