content
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||
Please see http://docs.hangfire.io for more information on using Hangfire. The `Hangfire` package is using SQL Server as a job storage and intended to run in any OWIN-based web application. Bootstrapping Hangfire ----------------------- To run Hangfire in your application, update the existing OWIN Startup class or create the file `Startup.cs` in the root foloder of your application as shown below. Please see also http://docs.hangfire.io/en/latest/quickstart.html. using Hangfire; using Hangfire.SqlServer; using Microsoft.Owin; using Owin; [assembly: OwinStartup(typeof(MyWebApplication.Startup))] namespace MyWebApplication { public class Startup { public void Configuration(IAppBuilder app) { app.UseHangfire(config => { config.UseSqlServerStorage("<name or connection string>"); config.UseServer(); }); } } }