0

I am looking for something similar to Bullet in Rails world, for ASP.NET MVC3.

To be specific, I am looking for a light-weight plugin to get all the SQL fired to load a web page, without having to mine logs.

I use FluentNhibernate, with SQL Server 2008 R2, on ASP.NET MVC3.

I have used Glimpse, and there is probably a way to add a plugin to check SQL as well. But I am looking for something much lighter.

Srikanth Venugopalan
  • 9,011
  • 3
  • 36
  • 76
  • If you don't mind paying for the small license fee, NHibernate Profiler is the way to go: http://www.hibernatingrhinos.com/products/nhprof. It has saved projects I've been involved in many times. – Simon Whitehead Jan 15 '13 at 03:40
  • 1
    @simon whitehead , why pay when both miniprofiler and glimpse give you the same results? – Adam Tuliper Jan 15 '13 at 03:52
  • @AdamTuliper Just providing my experiences with NHProf. I haven't used the other two.. hence why I commented :) – Simon Whitehead Jan 15 '13 at 04:08
  • @Simon - I already have NHProf license. I am looking for a plugin that can radiate this info on screen. – Srikanth Venugopalan Jan 15 '13 at 04:09
  • What do you perceive is heavy about Glimpse? – nikmd23 Jan 15 '13 at 13:08
  • @nikmd23, Glimpse throws way too much information, than what I'd like in this instance. Although, it is configurable, in this case, I am looking for something specific, and in that context Glimpse does much more than what I want for now. I love Glimpse (and use it extensively), don't get me wrong, but I am looking to see if something lighter specifically for monitoring SQLs. – Srikanth Venugopalan Jan 15 '13 at 13:17

2 Answers2

3

MiniProfiler might be what you are looking for: http://miniprofiler.com/

lahsrah
  • 9,013
  • 5
  • 37
  • 67
  • MiniProfiler seems quite intrusive. I'm not sure that I want to scatter 'using' over my code, unless I'm missing something. Also, I see that MiniProfiler documentation seems to talk about EF, but not so much about NHibernate. – Srikanth Venugopalan Jan 15 '13 at 04:15
  • I use it with Nhibernate. Also you don't need to scatter any usings. You can use DI and AOP and hook it up in one place. – lahsrah Jan 15 '13 at 04:33
  • great, would it be possible to share a sample? I am using StructureMap for DI, so am hoping that this helps me out. – Srikanth Venugopalan Jan 15 '13 at 06:00
1

Glimpse has plugins for several engines including entity framework.

Depending on your data access framework, you may want to try:

nikmd23
  • 9,095
  • 4
  • 42
  • 57
Adam Tuliper
  • 29,982
  • 4
  • 53
  • 71