Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

anyone used miniprofiler? #5843


User avatar
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)
  • User Avatar
    0
    maliming created
    Support Team

    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.

  • User Avatar
    0
    vladsd created

    Thanks for the great tips! What about watching real time app profiling, can it log into console or file?

  • User Avatar
    0
    maliming created
    Support Team

    As far as I know, miniprofiler doesn't seem to have this feature.