Mini profiler with webmatrix .dll and razor2 how to?



I would like to implement in my project build on razor2 (.net4.0) C# and using and webmatrix.webdata.dll how to do that, how to profile all sql 2008 querys over that lybrary and using miniprofiler? Does somebody has any article step by step where what to add.

Thanks so much.