Closed a-h closed 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.
See Pull Request https://github.com/SamSaffron/MiniProfiler/pull/168
Issue was introduced at https://github.com/SamSaffron/MiniProfiler/commit/bf87671dcf1cb783bce21fac73d76903c325bd85
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.