Mamanze / Hangfire.Raven

Raven DB support for Hangfire

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hangfire.Raven

RavenDB support for Hangfire library. By using this library you can store all jobs information in RavenDB.

Usage

app.UseHangfire(config =>
{
	config.UseRavenStorage("<connection string>", "<database name>");
});

For example:

app.UseHangfire(config =>
{
	config.UseRavenStorage("mongodb://localhost", "ApplicationDatabase");
});

Custom collections prefix

To use custom prefix for collections names specify it on Hangfire setup:

app.UseHangfire(config =>
{
	config.UseRavenStorage("mongodb://localhost", "ApplicationDatabase",
  	  	new RavenStorageOptions { Prefix = "custom" } );
});

License

Hangfire.Raven is released under the MIT License.

About

Raven DB support for Hangfire

License:MIT License


Languages

Language:C# 100.0%