manca la aprte redis ma ho abbozzato qualcosa...
This commit is contained in:
Binary file not shown.
+1
-4
@@ -53,10 +53,7 @@
|
||||
<%--<small>3 days ago</small>--%>
|
||||
</div>
|
||||
<p class="mb-1">
|
||||
<ul>
|
||||
<li>pareto chiamate x browser size</li>
|
||||
<li>dati globali (uptime globale, da refresh, num chiamate (a redis? a iis?)</li>
|
||||
</ul>
|
||||
<pre style="width: 100%; white-space: pre-wrap;"><%: paretoBrowserSize %></pre>
|
||||
</p>
|
||||
<%--<small>Donec id elit non mi porta.</small>--%>
|
||||
</div>
|
||||
|
||||
+19
-2
@@ -3,6 +3,7 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Reflection;
|
||||
using System.Text;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
@@ -70,7 +71,23 @@ namespace CMS_SC
|
||||
testo += string.Format("Reset Vocabolario: {0} --> {1}</br>", recPrev, recPost);
|
||||
}
|
||||
}
|
||||
lblOut.Text = testo;
|
||||
lblOut.Text = testo;
|
||||
}
|
||||
/// <summary>
|
||||
/// Restitusice l'elenco pareto (decrescente) delle dimensioni browser registrate
|
||||
/// </summary>
|
||||
public string paretoBrowserSize
|
||||
{
|
||||
get
|
||||
{
|
||||
StringBuilder sb = new StringBuilder();
|
||||
string redHash = memLayer.ML.redHash("COUNT:wh:");
|
||||
int numRec = memLayer.ML.redCountKey(redHash);
|
||||
Dictionary<string, string> kvp = memLayer.ML.redGetHashDict(redHash);
|
||||
sb.AppendLine(string.Format("Trovate <b>{0}</b> combinazioni", numRec));
|
||||
|
||||
return sb.ToString();
|
||||
}
|
||||
}
|
||||
public string mainAssembly
|
||||
{
|
||||
@@ -125,7 +142,7 @@ namespace CMS_SC
|
||||
{
|
||||
get
|
||||
{
|
||||
int numLib = 0;;
|
||||
int numLib = 0; ;
|
||||
try
|
||||
{
|
||||
AssemblyName[] referencedAssemblyNames = assembly.GetReferencedAssemblies();
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user