Frage

I am trying to develop a modular web aap using asp.net mvc 4. My question is that what is the best place to store the user settings, configuration and user access. Whether it is good to store it in db or good to store it in xml file.

War es hilfreich?

Lösung

I would prefer to go with XML.

Advantages in XML file :

  • No need to access in your database server.(Which is contains valuable data)
  • Anybody can understand and change the settings. (No need to know about SQL)
  • Platform independent.

Disadvanges in XML file :

  • Need to backup the file. To overcome this problem, Have to maintain the changes by history (It is a best way to revert it back).
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top