You are currently browsing legacy 1.0 version of documentation. Click here to switch to the newest 5.2 version.

We can help you with migration to the latest RavenDB

Contact Us Now
see on GitHub


Raven allows you to use triggers to add custom behavior for the database. Those triggers are wired together using MEF, by default, Raven will search for triggers in a directory called Plugins under the application base directory.

Raven supports the following triggers:

While not precisely a trigger, the document codec does fall into the same category:

Figure 1: Triggers

This allows you to control the actual byte storage format on the disk. This is useful if you want to encrypt the data on the disk.