SamSaffron / MiniProfiler

A simple but effective mini-profiler for ASP.NET MVC, ASP.NET and Ruby.
http://miniprofiler.com
1.05k stars 221 forks source link

MiniProfiler OnDeserialized method missing the StreamingContext parameter. #167

Closed a-h closed 11 years ago

a-h commented 11 years ago

The OnDeserialized method used to have a StreamingContext parameter passed to it, which is required by the WCF profiler.

It appears to have been removed when adding the MongoDbStorage support.

To fix it, the MongoDbStorage class needs to call:

profiler.OnDeserialized(new System.Runtime.Serialization.StreamingContext());

and the MiniProfiler needs to get its StreamingContext parameter back.

a-h commented 11 years ago

See Pull Request https://github.com/SamSaffron/MiniProfiler/pull/168

a-h commented 11 years ago

Issue was introduced at https://github.com/SamSaffron/MiniProfiler/commit/bf87671dcf1cb783bce21fac73d76903c325bd85