Miniprofiler settings when using NuGet


#1

Hello,

I would like to change the miniprofiler (which is excellent btw, thank you!) to render on the right side of the page.

Can I set PopupRenderPosition? Or do I need to remove the NuGet package and add the project to my solution seperately?

I was hoping I could do something like

var profiler = MiniProfiler.Current;
profiler.Settings.PopupRenderPosition = RenderPosition.Right;

Thank you for your time


#2

Anyone, please? :slight_smile:


#3

This works just fine :

MiniProfiler.Settings.PopupRenderPosition
= RenderPosition.Right;

See the dotnet\Sample.Mvc\Global.asax.cs for example how to setup the MiniProfiler.