Why aren't .NET “application settings” stored in the registry?

前端 未结 17 1795
醉话见心
醉话见心 2020-12-13 14:51

Some time back in the nineties, Microsoft introduced the Windows Registry. Applications could store settings in different hives. There were hives for application-wide and us

17条回答
  •  暖寄归人
    2020-12-13 15:18

    One immediate (but important) advantage:

    With plain configuration files, users can restore their settings easily in case of a reinstall / restore from backup. It's a lot harder to do this from registry values.

提交回复
热议问题