public Task FixedSizeTreeStructure() { var treeName = GetStringQueryString("name", required: true); using (ContextPool.AllocateOperationContext(out DocumentsOperationContext context)) using (var tx = context.OpenReadTransaction()) { FixedSizeTree tree; try { tree = tx.InnerTransaction.FixedTreeFor(treeName); } catch (Exception e) { throw new InvalidOperationException("Existing trees: " + string.Join(", ", GetTreeNames(tx.InnerTransaction, RootObjectType.FixedSizeTree)) , e); } HttpContext.Response.ContentType = "text/html"; DebugStuff.DumpFixedSizedTreeToStream(tx.InnerTransaction.LowLevelTransaction, tree, ResponseBodyStream()); } return(Task.CompletedTask); }