Where to store configuration for a simple .NET application?

后端 未结 7 2068
死守一世寂寞
死守一世寂寞 2020-12-16 00:50

I\'m programming a fairly simple application which I want to cut to just one simple EXE file + some data storage (XML for example).

My question is regarding configur

7条回答
  •  青春惊慌失措
    2020-12-16 01:34

    Do not forget Isolated Storage. It gives you a place to read and write files to without the need for you to specify a location. Sometimes it is the only way sandboxed applications (like Silverlight) can store user or machine specific data locally. See here for an example.

提交回复
热议问题