Ayende @ Rahien

My name is Oren Eini
Founder of Hibernating Rhinos LTD and RavenDB.
You can reach me by phone or email:


+972 52-548-6969

, @ Q c

Posts: 6,128 | Comments: 45,550

filter by tags archive

NH Prof & Teaching NHibernate

time to read 2 min | 231 words

I have taught NHibernate both before and after NH Prof was available. I have to say, there is absolutely no way that I can compare the two.

NH Prof, I know that I am not suppose to say that, but I love you. I really love you!


I am saying this after spending 4 days doing intensive NHibernate stuff, a full 3 days course and NHibernate consulting day. And NH Prof made it so much easier that I cannot really describe.

Participants in my course can testify how at several points I just stared at the profiler in shock, not believing the breadth of information that it gave me. More specifically, error detection can be a true godsend in many cases. But just being able to flip between the code and what is going on is invaluable to explain what is going on. And today I had the chance to use it as a detective tool, trying to figure out what exactly is causing a page to issue hundreds of requests. The Stack Trace feature was invaluable in tracking down exactly what is going on.

Just for that alone, it was worth all the time, effort and money that I put into it.



a) I couldn't agree more. I worked with NH before and after buying NHProf and I can't say how much easier it has made my life.

Before I was guessing, now I'm knowing (besides the errordetection is just awesome when the NH exception is wrapped in several inner exceptions or lost along the way.


I'm just trying to get into Caliburn and took a peek at the NHProf code and believe to have found a spelling mistake in your NHProf code.

in App.cs: private static void UnhanledException(Exception exceptionObject)

I believe that should say UnhandledException() ..


As an attendee on the course, I can testify how much benefit there was from NHProf as a learning aid. The hood is well and truly off NHibernate and you get to see exactly what it is up to! Its simple to make changes to the configuration and see exactly how they affect the SQL issued to the db. Plus, it gives you handy alerts when I recognises an improvement can be made. I know it sounds like cheesey sales blurb, but I really look forward to using it to troubleshoot and tune up our queries!

Tobin Harris

Totally agree.

In the "NHibernate in Action" book, we strongly recommended observing the log files to get an understanding of what NHibernate is doing behind the scenes.

I actually think that NHProf is about 100x better than that. I'd recommend it for anyone learning NHibernate. Even if you're just trying out NHibernate and don't want to commit to a tool purchase, the 30 day trial of NHProf will give you an enormous helping hand during the learning process.


shameless self promotion:)

Comment preview

Comments have been closed on this topic.


  1. The worker pattern - one day from now

There are posts all the way to May 30, 2016


  1. The design of RavenDB 4.0 (14):
    26 May 2016 - The client side
  2. RavenDB 3.5 whirl wind tour (14):
    25 May 2016 - Got anything to declare, ya smuggler?
  3. Tasks for the new comer (2):
    15 Apr 2016 - Quartz.NET with RavenDB
  4. Code through the looking glass (5):
    18 Mar 2016 - And a linear search to rule them
  5. Find the bug (8):
    29 Feb 2016 - When you can't rely on your own identity
View all series


Main feed Feed Stats
Comments feed   Comments Feed Stats