When should I use .resx file and when go for .config file?
What is the basic difference between the both in terms of usage?
If you have some text in a page that you would like to display differently for different languages, or be able to modify without recompiling your application, you can put this into a resource file.
The config file contains application configurations. The config file is a (more) secure location for holding information, and should be kept as small as possible. You will also only have one configuration file per application instance (or at least project), while you may have many resource files, for instance a web project may have a resource file per web page.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With