Skip to content

Commit

Permalink
Merge pull request SamSaffron#7 from jeffora/patch-1
Browse files Browse the repository at this point in the history
Modifies WcfMiniProfilerDispatchInspector to explicitly use WcfRequestProfileProvider
  • Loading branch information
SamSaffron committed Nov 4, 2011
2 parents 6c68619 + d578754 commit fbfb1b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions MvcMiniProfiler.Wcf/WcfMiniProfilerDispatchInspector.cs
Expand Up @@ -19,6 +19,7 @@ public object AfterReceiveRequest(ref System.ServiceModel.Channels.Message reque
var requestHeader = request.Headers.GetHeader<MiniProfilerRequestHeader>(headerIndex);
if (requestHeader != null)
{
MiniProfiler.Settings.ProfilerProvider = new WcfRequestProfilerProvider();
MiniProfiler.Start();
return requestHeader;
}
Expand Down

0 comments on commit fbfb1b1

Please sign in to comment.