We’ve changed Miniprofiler.Settings.maxJsonLength but we can see in the code that setting is not always referred to and therefore we still get the error.
I can see that “StackExchange.Profiling/MiniProfiler.cs” does this:-
BUT StackExchange.Profiling/Helpers/ExtensionMethods.cs does this:-
I think it should really respect MaxJsonLength = Settings.MaxJsonResponseSize in both cases.
Anyone wish to comment?