C#C
C#11mo ago
Faker

✅ App.config file and .env file

Hello guys, this doesn't concern only C# but I think it's in general. What is the difference between a .config file and .env file? Both stores sensitive data no? For example, our database connection string can be stored in either one. Which one should I choose and why.

Second thing... when we create a solution in C#, does it automatically create an App.config why? if no, how to proceed to create one please.
Was this page helpful?