Miniprofiler settings when using NuGet


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

Anyone, please? :slight_smile:

This works just fine :

= RenderPosition.Right;

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

1 Like