O'Reilly logo

NHibernate 3 Beginner's Guide by Gabriel N. Schenker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action – Adding NHibernate Profiler support

In this exercise, we want to download, install, and use NHibernate Profiler to monitor the database communication caused by our unit test.

  1. Download NHibernate Profiler from http://www.nhprof.com/Download.
  2. Unpack the ZIP file (at the time of writing NHibernate.Profiler-Build-796.zip) into a new folder (for example, C:\tools\NHProfiler).
  3. Navigate to the installation folder and run NHibernate Profiler by double-clicking on NHProf.exe. You will be presented with a dialog, as shown in the following screenshot:
    Time for action – Adding NHibernate Profiler support
  4. Request a trial license. The license will be sent to you by e-mail.
  5. Create a new XML file in the ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required