Skip to content

Instantly share code, notes, and snippets.

@explorer14
Created September 4, 2018 21:00
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save explorer14/715fd3db072539f69bc31ee15efbb081 to your computer and use it in GitHub Desktop.
public void ConfigureServices(IServiceCollection services)
{
//...
services.AddMvc(options =>
{
options.Filters.Add(
new ControllerActionProfilingFilter());
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment