What are best practices storing configuration settings a .NET application?

mbx picture mbx · Oct 14, 2011 · Viewed 12.4k times · Source

Configuration file handling is a common problem so I wondered why nobody has asked a similar question yet. In .NET we usually use the app.config file for application runtime paramaters, however this seems oversized for some smaller tools. I have considered an .ini style configuration file.

Are there any other appropriate alternatives which could be easily integrated in any project?

Answer

Darin Dimitrov picture Darin Dimitrov · Oct 14, 2011

For desktop applications you could use application settings. And a similar post illustrating them.