public static string GetActualExecutionPlanHtmlVisNetwork(this ExecutionStatus executionStatus) { var json = executionStatus.GetActualExecutionPlanJsonVisNetwork(); string file; var assembly = typeof(ExecutionStatusEx).Assembly; using (var stream = assembly.GetManifestResourceStream("Paillave.Etl.ExecutionPlan.Resources.ActualExecutionPlan.VisNetwork.html")) using (var reader = new StreamReader(stream)) file = reader.ReadToEnd(); string html = file.Replace("'<<STATISTICS>>'", json); return(html); }