问题
I used Glimpse on the old ASP.NET MVC5 stack and liked it very much cause it gives a pretty and detailed representation of nearly all important data for debugging purpose. Sadly, its not compatible with ASP.NET Core (yet). I tried to install the demo, which assurance to work with ASP.NET Core.
But thats not entirely true cause it works on ASP.NET Core, but depends on the old 4.x framework. So it destroys the cross-platform compability, which is not suiteable for me. The app is designed to run on a Linux based server using docker.
Although, I would like to benefit from those nice features in my Core app, too. Is there any similar alternative to Glimpse that is full compatible to ASP.NET Core? I'm currently using ASP.NET Core 1.1, but could also downgrade to 1.0 if necessary. The most important things for me are request duration and database (SQL) querys, may Redis included if possible.
回答1:
I'm using https://miniprofiler.com/dotnet/AspDotNetCore.
It can profile MVC and Entity Framework and it has an UI representation via a Tag helper
回答2:
You can try https://stackify.com/prefix/ - although it is a self hosted web app so it is not as "deployable" / works best on local development. It uses profiling so it is less intrusive on the code stack.
Core: http://support.stackify.com/hc/en-us/articles/209962473-Using-Prefix-with-ASP-NET-Core-Kestrel
来源:https://stackoverflow.com/questions/41695729/glimpse-diagnostics-platform-which-is-full-compatible-to-asp-net-core