Wednesday, 15 January 2014

c# - how to limit items shown when using MiniProfiler For MVC -


I am using MiniProfiler for my MVC6 project. MiniProfiler shows 10 items, I would like to change the default behavior so that it only shows up to 5 items. Is there any setting for this?

You can limit it to the entire app by setting it to MiniProfiler .Settings.PopupMaxTracesToShow = 5 By setting the MiniProfiler.RenderIncludes (maxTracesToShow: 5) in the beginning of your app startup (by default 15) or a special page code; .


No comments:

Post a Comment