We have been using MiniProfiler as a simple way to profile our ASP.NET MVC 5 application performance. It worked well in dev, but as soon as we put the application into staging on a web farm, we soon realised we needed to use a different/shared storage medium.
We migrated to SqlServerStorage by putting
MiniProfiler.Settings.Storage = new SqlServerStorage(System.Configuration.ConfigurationManager.ConnectionStrings["SqlDb"].ConnectionString)
into MvcApplication.Application_Start
(Global.asax)
We created the MiniProfiler tables using the script in StackExchange.Profiling.Storage.SqlServerStorage.TableCreationScript
.
Since using SqlServerStorage, we have found that the MiniProfiler UI no longer functions properly; we get the following:
As you can see, the name column is empty. Anyone any ideas whether I need to configure something else?