Add to Dictionary


Where are words that users "Add To Dictionary" Stored?

Good Question!

By default - all words are stored in the users browser cache - and no-one else is affected.

You can change this using the AddWordsToDictionary property.

  • 'User' saves locally in the user's browser cache
  • 'None' disables the feature and removes the button
  • 'Server' saves centrally on your server and affects all other users
To allow 'Server' dictionary entries to be written - add: to web.config
SourceCode:
<appSettings>
    ....
      <add key="aspnetspell_usecentraldictionary" value="True" />

Developer - Adding words to the dictionary

Adding New Words:

  1. Add 1 word per line to ~/AspNetSpellInclude/Dictionaries/custom.txt

Removing Words:

  1. Add 1 word per line to ~/AspNetSpellInclude/Dictionaries/language-rules/banned-words.txt

.

Make or Modify a Dictionary

You can download the Dictionary Encoder Application to create your own .dic dictionary files.