-
-
Save sajadkardel/fb9088bf0aab1f506b297577a922c0f6 to your computer and use it in GitHub Desktop.
HangFire
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void Configure(IApplicationBuilder app, IBackgroundJobClient backgroundJobs, IHostingEnvironment env) | |
{ | |
// HangFire Dashboard | |
app.UseHangfireDashboard(); | |
app.UseEndpoints(endpoints => | |
{ | |
endpoints.MapControllers(); | |
// HangFire Dashboard endpoint | |
endpoints.MapHangfireDashboard(); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment