Ejemplo n.º 1
0
        public void Configuration(IAppBuilder app)
        {
            app.UseHangFire(config =>
            {
                config.UseAuthorizationFilters();

                config
                    .UseSqlServerStorage(@"Server=.\sqlexpress;Database=HangFire.Sample;Trusted_Connection=True;")
                    .UseMsmqQueues(@".\Private$\hangfire{0}", "default", "critical");
            });
        }
Ejemplo n.º 2
0
        public void Configuration(IAppBuilder app)
        {
            app.MapSignalR();

            app.UseHangFire(config =>
            {
                config.UseAuthorizationFilters();
                config.UseSqlServerStorage("HighlighterDb");
                config.UseServer();
            });
        }