Skip to content

Instantly share code, notes, and snippets.

@sskset
Created July 11, 2020 15:41
Show Gist options
  • Save sskset/eb64a37446f8052f30449b3fb224bec6 to your computer and use it in GitHub Desktop.
Save sskset/eb64a37446f8052f30449b3fb224bec6 to your computer and use it in GitHub Desktop.
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
if (env.IsDevelopment())
{
app.UseDeveloperExceptionPage();
}
app.UseRouting();
app.UseAuthorization();
// ================>
app.UseHangfireDashboard();
// <================
app.UseEndpoints(endpoints =>
{
endpoints.MapControllers();
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment