The user dictionary is by default stored in the client’s IsolatedStorage, however if desired it can be stored on the server and updated in real time. Example project. http://keyoti.com/downloads/kbattachments/RSSL_ServerUserDictionary.zip To run, open the solution file in the RSSL_ServerUserDictionary folder, and build. Try adding words to the user dictionary by clicking “Add”, the user dictionary is stored in RSSL_ServerUserDictionary.Web\userDict.txt (which is server side) and see that the file changes. It works using WCF to communicate from the client to the website - you'll see a class named UserDictionaryService which does the work on the server. On the client side there’s a subclass called CUserDictionary which communicates with the service. The example is simplified, if need be it could be expanded to provide each user or group with their own dictionary, just by passing some identifier to the service methods (eg AddWord etc), and that identifier being used to load the appropriate file. It could also be changed to use a DB instead of the backing text file, by changing “UserDictionaryService”. |