MiniProfiler - EFCore #8447
Unanswered
Alessandro-Cascianelli
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have been trying for some time to activate the EFCore functionality of the Mini Profiler in OrchardCore.
For doing so i have created a Custom Module , with a dependency to the OrchardCore.MiniProfiler Module, and in the Startup.cs file , i wrote the following code.
public override void ConfigureServices(IServiceCollection services)
{
services.BuildServiceProvider().GetRequiredService().AddEntityFramework();
}
As the method is executed , its gives an exception, stating that no IMiniProfilerBuilder has been registered.
How can i manage to activate the EFCore functionality of the Mini Profiler in my custom module ?
Beta Was this translation helpful? Give feedback.
All reactions