update 20250505

This commit is contained in:
Stefan Hutter
2025-05-04 17:33:00 +02:00
parent c7a4e24e3f
commit 5aa75038e7
69 changed files with 405 additions and 170 deletions

View File

@@ -51,6 +51,23 @@ namespace ILMocup.Controllers
return Content(HttpStatusCode.OK, rs);
}
public IHttpActionResult Revision()
{
string json = "";
string rs = RandomString(6);
if (HttpContext.Current.Request.InputStream.Length > 0)
{
using (var inputStream = new StreamReader(HttpContext.Current.Request.InputStream))
{
json = inputStream.ReadToEnd();
}
}
string filename = @"X:\jsontemp\ILMockup" + @"\Revision_" + DateTime.Now.ToString("yyyyMMdd_hhmmss") + "_" + rs + ".json";
System.IO.File.WriteAllText(filename, json);
return Content(HttpStatusCode.OK, rs);
}
private static Random random = new Random();
public static string RandomString(int length)

Binary file not shown.

Binary file not shown.

View File

@@ -1 +1 @@
2f10009db339f0e068a3fbb051f4636c78e8455512654595c7ff75d5c0e89f73
343e4b2f3399090261e6d33e627f896a1678cdb890f1fd0341128d47999e4d39

View File

@@ -93,3 +93,5 @@ E:\Software-Projekte\OnDoc\OnDoc\ILMocup\bin\de\System.Web.WebPages.Razor.resour
E:\Software-Projekte\OnDoc\OnDoc\ILMocup\obj\Debug\ILMocup.csproj.Up2Date
E:\Software-Projekte\OnDoc\OnDoc\ILMocup\obj\Debug\ILMocup.dll
E:\Software-Projekte\OnDoc\OnDoc\ILMocup\obj\Debug\ILMocup.pdb
E:\Software-Projekte\OnDoc\OnDoc\ILMocup\bin\Swashbuckle.Core.dll
E:\Software-Projekte\OnDoc\OnDoc\ILMocup\bin\WebActivatorEx.dll

Binary file not shown.

Binary file not shown.