0
vladsd created
Did one used a profiler with asp.net zero app?
I am thinking of this one: https://miniprofiler.com/dotnet/HowTo/ProfileEFCore
Do you have any other suggestions?
Thanks.
3 Answer(s)
-
0
I have used it, it is very simple.
ConfigureServices
services.AddMiniProfiler(options => options.RouteBasePath = "/mp").AddEntityFramework();
Configure
app.UseMiniProfiler();
You can copy the html script code below MiniProfiler into the swagger index file, so you can monitor while debugging the api.
If you have problems, welcome feedback.
-
0
Thanks for the great tips! What about watching real time app profiling, can it log into console or file?
-
0
As far as I know, miniprofiler doesn't seem to have this feature.