RavenDB support for Hangfire library. By using this library you can store all jobs information in RavenDB.
app.UseHangfire(config =>
{
config.UseRavenStorage("<connection string>", "<database name>");
});
For example:
app.UseHangfire(config =>
{
config.UseRavenStorage("mongodb://localhost", "ApplicationDatabase");
});
To use custom prefix for collections names specify it on Hangfire setup:
app.UseHangfire(config =>
{
config.UseRavenStorage("mongodb://localhost", "ApplicationDatabase",
new RavenStorageOptions { Prefix = "custom" } );
});
Hangfire.Raven is released under the MIT License.