Alternatives to resx file

  • BossMan1
  • Newbie
  • Newbie
  • BossMan1
  • Posts: 13

Post 3+ Months Ago

Hi. As of now, i am developing a windows application and i want to have a one place where i can store all text, headers, buttons etc. i used database table, xml file and class file. but i liked class file than the others. however, i want to ask if there are other alternatives to this file?
  • Rabid Dog
  • Web Master
  • Web Master
  • User avatar
  • Posts: 3241
  • Loc: South Africa

Post 3+ Months Ago

Well text resources are generally stored in resx, including binary files.

You can have external XML files but I fail to understand why you would want to store buttons in an external file?

C# (and the ugly duckling are OOP languages meaning that all controls are classes ergo they are stored in class files.

The other options is to serialize these objects and persist them in a data base or store them on disk as a file of your choice. You could do binary serialization or xml serialization or you could serialize to a custom format by using a custom serializer you write.

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 45 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum

© 1998-2017. Ozzu® is a registered trademark of Unmelted, LLC.