-
Notifications
You must be signed in to change notification settings - Fork 610
Description
I am using MiniProfiler.3.2.0.157 (which current production ready version??)
Here is my scenario: Our project is designed in two layers,
- presentation layer (ASP.NET Web Forms)
- service layer (WCF).
Here we have added miniprofiler in presentation and wcf service layers and it works perfectly fine, we are able see profiling statistics in browser with tree level statistics (parent request and child request)
After that, we have added logging same to SQL server, then miniprofiler started giving issues and it was not logging WCF service profile timings/steps. We are getting exceptions at stop() method.
Looks like there is an issue with SqlServerStorage.Save() method.
I think, this code is some thing like given below:
if (profiler.Root != null)
{
profiler.Root.MiniProfilerId = profiler.Id;
this.FlattenTimings(profiler.Root, timings);
}
Can you please help me to find a way to get out of this issue and log my both layers of profiling statistics into SQL?