Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void ConfigureServices (IServiceCollection services) {
- services.AddHangfire(configuration=>{
- configuration.UseSqlServerStorage("ConnectionStrings:DefaultConnection");
- });
- services.AddMvc();
- // Add framework services.
- }
- // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
- public void Configure (IApplicationBuilder app, IHostingEnvironment env) {
- app.UseHangfireServer();
- app.UseHangfireDashboard();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement