What is RavenDB?

RavenDB is document based (NOSQL) database written in C# for .Net framework. RavenDB nicely fills the data storage niche where  RDBS systems are inflexible to meet needs of real world. Because RavenDB stores schema-less documents the flexibility and speed of development is unmatched by RDBS. RavenDB is also Open Source project and the source is available at the http://ravendb.net.

Some of RavenDB features:

 
What is RavenDB notification plugin?

RavenDB Notification plugin enables you to receive notification from the RavenDB Server about Put and Delete actions on the specific document types. Currently plugin supports 3 types of notifications:

Client is able to subscribe / unsubscribe to each notification on document type basis.

 

 

How to use it?
Server:

Drop Raven.Bundles.Notification.dll into Raven’s plugin directory

Insert NotificationConfiguration document into RavenDB.

   1:   using (var s = documentStore.OpenSession())
   2:              {
   3:                  s.Store(new NotificationConfiguration
   4:                  {
   5:                      Enabled = true,
   6:                      Id = "Raven/Notification/Configuration",
   7:                      ServiceUrl = "net.tcp://192.168.10.6:8081",
   8:                      DatabaseName = "TestDb",
   9:                      ClientUrl = new string[] {"net.tcp://192.168.10.6:8081/Notification/TestDb/NotificationService.svc"}
  10:                
  11:                  });
  12:                  s.SaveChanges();
  13:              }

Insert document into RavenDB and notification will be written into Console.