完全与ASP.NET Core兼容的Glimpse诊断平台 [英] Glimpse diagnostics platform which is full compatible to ASP.NET Core

查看:88
本文介绍了完全与ASP.NET Core兼容的Glimpse诊断平台的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在旧的ASP.NET MVC5堆栈上使用了瞥见,并且非常喜欢它,因为它给出了漂亮而详细的信息用于调试目的的几乎所有重要数据的表示形式。可悲的是,它与ASP.NET Core不兼容。我尝试安装演示,以确保与ASP.NET Core一起使用。

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.

但这并不是完全正确的,因为它可以在ASP.NET Core上运行,但取决于旧的4.x框架。因此,它破坏了跨平台的兼容性,这不适合我。该应用程序旨在使用docker在基于Linux的服务器上运行。

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.

尽管如此,我也想从我的Core应用程序中受益。是否有与Glimpse类似的替代方案,与ASP.NET Core完全兼容?我目前使用的是ASP.NET Core 1.1,但如有必要,也可以降级为1.0。对我而言,最重要的是请求持续时间和数据库(SQL)查询,如果可能,可以包含Redis。

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.

推荐答案

我正在使用 https://miniprofiler.com/dotnet/AspDotNetCore

它可以剖析MVC和实体框架,并具有通过标签的UI表示帮手

It can profile MVC and Entity Framework and it has an UI representation via a Tag helper

这篇关于完全与ASP.NET Core兼容的Glimpse诊断平台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆