UserSettingsService
is a service by storing user preferences.
- Allows you to set, get and delete user settings. Implemented multiple fields with different standard types are easier to use, does not require the cost of type conversion.
- There are many overloads of methods for ease of use.
- There are General settings (Common), which are defined for all application at once.
- Implemented support for specifying settings like names (user, module, and settings), and unique identifiers. This implementation allows application parts to have the appropriate reference, which can be visually edited and used to control the settings.
- The service may be used as an Assembly within the app or as a WCF service (in development).
- There is a set of methods to work with collections of settings (in development). It allows to implement functionality of the form: “give me all user settings N to I put them in your кэш; removed from the cache when the user logs off”.
- Writing service, is using Unit testing (NUnit).
To work UserSettingsService
requires a separate table in the database.