Can't initialize Hangfire in .net vNext

Hi

I’m trying to use Hangfire in a new application I’m writing using .net vNext.

I’ve managed to add the nuget package but I’m having trouble initialising it in my startup.cs

I’ve tried both options

// Using OWIN extensions (for web apps):
app.UseHangfire(config =>
{
config.UseSomeStorage();
config.UseServer();
});

// Or direct class instantiation (for non-web apps):
var server = new BackgroundJobServer();
server.Start();

but None of them work.

My guess is that because appbuilder is now applicationbuilder there is some incompatibilitiy.

Any ideas would be appreciated.

thanks

Vinny