Alex Rivera | Logout

How to decide where to store per-user state? Registry? AppData? Isolated Storage?

Asked 2009-05-19T12:36:34.307
23

When should the Windows Registry be used for per-user state, and when should we use the filesystem, particularly the user's AppData folder? (eg, C:\Users\USERNAME\AppData). Where does Isolated Storage come in?

Is there a pretty firm rule, or is it just a fuzzy thing, like "use the registry until it becomes too much data to store in the registry". or "use whatever you feel like using."

Are there Windows logo requirements that affect the decision?

If I use the AppData directory, how do I choose between Local, Roaming and LocalLow ?

edit: I just noticed these similar questions:

I will summarize replies.

Edit
Report

1 Answer

7

Don't clutter up my Registry thank you.

Use isolated storage, thats what it's for.

See Was The Windows Registry a Good Idea? On Jeffs Blog...

answered 2009-05-19T15:43:36.680

Your Answer