Spostato controller alive in map controller, sotto 1ms... (HOPE)

This commit is contained in:
Samuele Locatelli
2026-06-11 20:10:47 +02:00
parent 1d1a71e95f
commit db44a8ca87
6 changed files with 17 additions and 13 deletions
+9 -9
View File
@@ -75,15 +75,15 @@ namespace MP.IOC.Controllers
return Ok(answ);
}
/// <summary>
/// GET: IOB/
/// </summary>
/// <returns></returns>
[HttpGet]
public IActionResult Alive()
{
return Ok("OK"); // Restituisce Status 200
}
///// <summary>
///// GET: IOB/
///// </summary>
///// <returns></returns>
//[HttpGet]
//public string Alive()
//{
// return "OK"; // Restituisce Status 200
//}
/// <summary>
/// GET: IOB/enabled/SIMUL_03
+1 -1
View File
@@ -4,7 +4,7 @@
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<Version>8.16.2606.1119</Version>
<Version>8.16.2606.1120</Version>
</PropertyGroup>
<ItemGroup>
+4
View File
@@ -173,6 +173,10 @@ app.UseAntiforgery();
// Mappatura delle API
app.MapControllers();
// mappa del base url check
app.MapGet("api/IOB/", () => Results.Ok("OK"));
app.MapGet("api/IOB/alive", () => Results.Ok("OK"));
// Mappatura della Dashboard Blazor
app.MapRazorComponents<App>()
.AddInteractiveServerRenderMode();
+1 -1
View File
@@ -1,6 +1,6 @@
<body>
<i>Modulo MP-IOC </i>
<h4>Versione: 8.16.2606.1119</h4>
<h4>Versione: 8.16.2606.1120</h4>
<br /> Note di rilascio:
<ul>
<li>
+1 -1
View File
@@ -1 +1 @@
8.16.2606.1119
8.16.2606.1120
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>8.16.2606.1119</version>
<version>8.16.2606.1120</version>
<url>https://nexus.steamware.net/repository/SWS/MP-IOC/stable/LAST/MP.IOC.zip</url>
<changelog>https://nexus.steamware.net/repository/SWS/MP-IOC/stable/LAST/ChangeLog.html</changelog>
<mandatory>false</mandatory>