added c# backend
This commit is contained in:
@@ -28,40 +28,6 @@ router.get("/gettopten", async (req, res) => {
|
|||||||
console.log(err);
|
console.log(err);
|
||||||
res.status(400).json({ message: "Error" });
|
res.status(400).json({ message: "Error" });
|
||||||
}
|
}
|
||||||
// how much time each user has logged during that time period
|
|
||||||
// let items = {};
|
|
||||||
// let itemIdtoName = {};
|
|
||||||
// for (let i = 0; i < results.length; i++) {
|
|
||||||
// if (results[i][filterBy] in items) {
|
|
||||||
// items[results[i][filterBy]] += results[i].time;
|
|
||||||
// } else {
|
|
||||||
// items[results[i][filterBy]] = results[i].time;
|
|
||||||
// if (filterBy === "user")
|
|
||||||
// itemIdtoName[results[i][filterBy]] =
|
|
||||||
// results[i].f_name + " " + results[i].l_name;
|
|
||||||
// else itemIdtoName[results[i][filterBy]] = results[i].name;
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// let respData = {};
|
|
||||||
// for (let key in items) {
|
|
||||||
// if (items.hasOwnProperty(key)) {
|
|
||||||
// respData[itemIdtoName[key]] = items[key];
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// // transform obj to array
|
|
||||||
// respData = Object.keys(items).map(function (key) {
|
|
||||||
// return [key, items[key]];
|
|
||||||
// });
|
|
||||||
//
|
|
||||||
// // sort the array based on the second element
|
|
||||||
// respData.sort(function (first, second) {
|
|
||||||
// return second[1] - first[1];
|
|
||||||
// });
|
|
||||||
//
|
|
||||||
// // console.log(itemIdtoName);
|
|
||||||
// // console.log(respData);
|
|
||||||
// // Create a new array with only the first 10 items
|
|
||||||
// respData = respData.slice(0, 10);
|
|
||||||
|
|
||||||
res.json(results);
|
res.json(results);
|
||||||
});
|
});
|
||||||
|
|||||||
Vendored
+26
@@ -0,0 +1,26 @@
|
|||||||
|
{
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
// Use IntelliSense to find out which attributes exist for C# debugging
|
||||||
|
// Use hover for the description of the existing attributes
|
||||||
|
// For further information visit https://github.com/dotnet/vscode-csharp/blob/main/debugger-launchjson.md
|
||||||
|
"name": ".NET Core Launch (console)",
|
||||||
|
"type": "coreclr",
|
||||||
|
"request": "launch",
|
||||||
|
"preLaunchTask": "build",
|
||||||
|
// If you have changed target frameworks, make sure to update the program path.
|
||||||
|
"program": "${workspaceFolder}/bin/Debug/net8.0/HelloWorldApp.dll",
|
||||||
|
"args": [],
|
||||||
|
"cwd": "${workspaceFolder}",
|
||||||
|
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
|
||||||
|
"console": "internalConsole",
|
||||||
|
"stopAtEntry": false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": ".NET Core Attach",
|
||||||
|
"type": "coreclr",
|
||||||
|
"request": "attach"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
Vendored
+41
@@ -0,0 +1,41 @@
|
|||||||
|
{
|
||||||
|
"version": "2.0.0",
|
||||||
|
"tasks": [
|
||||||
|
{
|
||||||
|
"label": "build",
|
||||||
|
"command": "dotnet",
|
||||||
|
"type": "process",
|
||||||
|
"args": [
|
||||||
|
"build",
|
||||||
|
"${workspaceFolder}/HelloWorldApp.csproj",
|
||||||
|
"/property:GenerateFullPaths=true",
|
||||||
|
"/consoleloggerparameters:NoSummary;ForceNoAlign"
|
||||||
|
],
|
||||||
|
"problemMatcher": "$msCompile"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "publish",
|
||||||
|
"command": "dotnet",
|
||||||
|
"type": "process",
|
||||||
|
"args": [
|
||||||
|
"publish",
|
||||||
|
"${workspaceFolder}/HelloWorldApp.csproj",
|
||||||
|
"/property:GenerateFullPaths=true",
|
||||||
|
"/consoleloggerparameters:NoSummary;ForceNoAlign"
|
||||||
|
],
|
||||||
|
"problemMatcher": "$msCompile"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "watch",
|
||||||
|
"command": "dotnet",
|
||||||
|
"type": "process",
|
||||||
|
"args": [
|
||||||
|
"watch",
|
||||||
|
"run",
|
||||||
|
"--project",
|
||||||
|
"${workspaceFolder}/HelloWorldApp.csproj"
|
||||||
|
],
|
||||||
|
"problemMatcher": "$msCompile"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,95 @@
|
|||||||
|
using System;
|
||||||
|
using System.Net;
|
||||||
|
using System.Text;
|
||||||
|
using MySql.Data.MySqlClient;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
|
namespace Server
|
||||||
|
{
|
||||||
|
public class All
|
||||||
|
{
|
||||||
|
public object f_name { get; set; }
|
||||||
|
public object l_name { get; set; }
|
||||||
|
public object mail { get; set; }
|
||||||
|
public object name { get; set; }
|
||||||
|
public object time { get; set; }
|
||||||
|
public object date { get; set; }
|
||||||
|
public object user { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public class Getall
|
||||||
|
{
|
||||||
|
public static void run(MySqlConnection conn, HttpListenerRequest request, HttpListenerResponse response)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
// Open the connection
|
||||||
|
conn.Open();
|
||||||
|
// Prepare the SQL query
|
||||||
|
MySqlCommand myCommand = new MySqlCommand();
|
||||||
|
myCommand.Connection = conn;
|
||||||
|
var queryString = request.QueryString;
|
||||||
|
string from = queryString["from"];
|
||||||
|
string to = queryString["to"];
|
||||||
|
string sortby = queryString["sortby"];
|
||||||
|
string offset = queryString["offset"];
|
||||||
|
|
||||||
|
// this shenanigan is needed to remove the "" around
|
||||||
|
// group by
|
||||||
|
string sqlQ = @"SELECT u.f_name,u.l_name,u.mail,p.name,t.time,t.date,t.user
|
||||||
|
FROM Timelog t
|
||||||
|
INNER JOIN Project p ON p.id=t.project
|
||||||
|
INNER JOIN User u ON u.id=t.user ";
|
||||||
|
string offsetQ = " LIMIT 10 OFFSET " + offset + ";";
|
||||||
|
if (!string.IsNullOrEmpty(to) && !string.IsNullOrEmpty(from))
|
||||||
|
{
|
||||||
|
string whereQ = " WHERE t.date BETWEEN @from AND @to ";
|
||||||
|
sqlQ = sqlQ + whereQ;
|
||||||
|
}
|
||||||
|
if (!string.IsNullOrEmpty(sortby))
|
||||||
|
{
|
||||||
|
string orderQ = " ORDER BY " + sortby;
|
||||||
|
sqlQ = sqlQ + orderQ;
|
||||||
|
}
|
||||||
|
myCommand.CommandText = sqlQ + offsetQ;
|
||||||
|
myCommand.Parameters.AddWithValue("@from", from);
|
||||||
|
myCommand.Parameters.AddWithValue("@to", to);
|
||||||
|
|
||||||
|
// Execute the query and read the results
|
||||||
|
MySqlDataReader reader = myCommand.ExecuteReader();
|
||||||
|
List<All> entries = new List<All>();
|
||||||
|
while (reader.Read())
|
||||||
|
{
|
||||||
|
entries.Add(new All
|
||||||
|
{
|
||||||
|
f_name = reader["f_name"],
|
||||||
|
l_name = reader["l_name"],
|
||||||
|
user = reader["user"],
|
||||||
|
date = reader["date"],
|
||||||
|
name = reader["name"],
|
||||||
|
time = reader["time"],
|
||||||
|
mail = reader["mail"],
|
||||||
|
});
|
||||||
|
}
|
||||||
|
// Serialize the data to JSON
|
||||||
|
string jsonResponse = JsonConvert.SerializeObject(entries);
|
||||||
|
// prepare response
|
||||||
|
byte[] buffer = Encoding.UTF8.GetBytes(jsonResponse);
|
||||||
|
response.ContentType = "application/json";
|
||||||
|
response.ContentLength64 = buffer.Length;
|
||||||
|
response.OutputStream.Write(buffer, 0, buffer.Length);
|
||||||
|
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
// Handle any connection errors
|
||||||
|
string errorMessage = $"Error: {ex.Message}";
|
||||||
|
byte[] buffer = Encoding.UTF8.GetBytes(errorMessage);
|
||||||
|
response.ContentType = "text/plain";
|
||||||
|
response.ContentLength64 = buffer.Length;
|
||||||
|
response.OutputStream.Write(buffer, 0, buffer.Length);
|
||||||
|
}
|
||||||
|
conn.Close();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,84 @@
|
|||||||
|
using System;
|
||||||
|
using System.Net;
|
||||||
|
using System.Text;
|
||||||
|
using MySql.Data.MySqlClient;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
|
namespace Server
|
||||||
|
{
|
||||||
|
public class TopTen
|
||||||
|
{
|
||||||
|
public object user { get; set; }
|
||||||
|
public object date { get; set; }
|
||||||
|
public object project { get; set; }
|
||||||
|
public object f_name { get; set; }
|
||||||
|
public object l_name { get; set; }
|
||||||
|
public object name { get; set; }
|
||||||
|
public object total_time { get; set; }
|
||||||
|
}
|
||||||
|
public class Gettopten
|
||||||
|
{
|
||||||
|
public static void run(MySqlConnection conn, HttpListenerRequest request, HttpListenerResponse response)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
// Open the connection
|
||||||
|
conn.Open();
|
||||||
|
// Prepare the SQL query
|
||||||
|
MySqlCommand myCommand = new MySqlCommand();
|
||||||
|
myCommand.Connection = conn;
|
||||||
|
var queryString = request.QueryString;
|
||||||
|
string from = queryString["from"];
|
||||||
|
string to = queryString["to"];
|
||||||
|
string filterBy = queryString["filterBy"];
|
||||||
|
// this shenanigan is needed to remove the "" around
|
||||||
|
// group by
|
||||||
|
string req = @"SELECT t.user,t.date,t.project,u.f_name,u.l_name,p.name,SUM(t.time) as total_time
|
||||||
|
FROM Timelog t
|
||||||
|
INNER JOIN Project p ON p.id=t.project
|
||||||
|
INNER JOIN User u ON u.id=t.user
|
||||||
|
WHERE t.date BETWEEN @from AND @to
|
||||||
|
GROUP BY " + filterBy + @" ORDER BY total_time DESC
|
||||||
|
LIMIT 10;";
|
||||||
|
myCommand.CommandText = req;
|
||||||
|
myCommand.Parameters.AddWithValue("@from", from);
|
||||||
|
myCommand.Parameters.AddWithValue("@to", to);
|
||||||
|
|
||||||
|
// Execute the query and read the results
|
||||||
|
MySqlDataReader reader = myCommand.ExecuteReader();
|
||||||
|
List<TopTen> entries = new List<TopTen>();
|
||||||
|
while (reader.Read())
|
||||||
|
{
|
||||||
|
entries.Add(new TopTen
|
||||||
|
{
|
||||||
|
user = reader["user"],
|
||||||
|
date = reader["date"],
|
||||||
|
project = reader["project"],
|
||||||
|
f_name = reader["f_name"],
|
||||||
|
l_name = reader["l_name"],
|
||||||
|
name = reader["name"],
|
||||||
|
total_time = reader["total_time"],
|
||||||
|
});
|
||||||
|
}
|
||||||
|
// Serialize the data to JSON
|
||||||
|
string jsonResponse = JsonConvert.SerializeObject(entries);
|
||||||
|
// prepare response
|
||||||
|
byte[] buffer = Encoding.UTF8.GetBytes(jsonResponse);
|
||||||
|
response.ContentType = "application/json";
|
||||||
|
response.ContentLength64 = buffer.Length;
|
||||||
|
response.OutputStream.Write(buffer, 0, buffer.Length);
|
||||||
|
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
// Handle any connection errors
|
||||||
|
string errorMessage = $"Error: {ex.Message}";
|
||||||
|
byte[] buffer = Encoding.UTF8.GetBytes(errorMessage);
|
||||||
|
response.ContentType = "text/plain";
|
||||||
|
response.ContentLength64 = buffer.Length;
|
||||||
|
response.OutputStream.Write(buffer, 0, buffer.Length);
|
||||||
|
}
|
||||||
|
conn.Close();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,85 @@
|
|||||||
|
using System;
|
||||||
|
using System.Net;
|
||||||
|
using System.Text;
|
||||||
|
using MySql.Data.MySqlClient;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
|
namespace Server
|
||||||
|
{
|
||||||
|
class DynamicObject
|
||||||
|
{
|
||||||
|
// A dictionary to store dynamic properties/fields
|
||||||
|
public Dictionary<object, object> Fields { get; set; }
|
||||||
|
|
||||||
|
public DynamicObject()
|
||||||
|
{
|
||||||
|
Fields = new Dictionary<object, object>();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Adding a dynamic field
|
||||||
|
public void AddField(object key, object value)
|
||||||
|
{
|
||||||
|
Fields[key] = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Retrieving a dynamic field
|
||||||
|
public object GetField(object key)
|
||||||
|
{
|
||||||
|
if (Fields.ContainsKey(key))
|
||||||
|
{
|
||||||
|
return Fields[key];
|
||||||
|
}
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
public class Getuser
|
||||||
|
{
|
||||||
|
public static void run(MySqlConnection conn, HttpListenerRequest request, HttpListenerResponse response)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
// Open the connection
|
||||||
|
conn.Open();
|
||||||
|
// Prepare the SQL query
|
||||||
|
MySqlCommand myCommand = new MySqlCommand();
|
||||||
|
myCommand.Connection = conn;
|
||||||
|
myCommand.CommandText = @"SELECT p.name, SUM(t.time)
|
||||||
|
FROM Timelog t
|
||||||
|
INNER JOIN Project p ON p.id=t.project
|
||||||
|
INNER JOIN User u ON u.id=t.user
|
||||||
|
WHERE User = @userid
|
||||||
|
GROUP BY name;";
|
||||||
|
var queryString = request.QueryString;
|
||||||
|
string userid = queryString["userid"];
|
||||||
|
myCommand.Parameters.AddWithValue("@userid", userid);
|
||||||
|
// Execute the query and read the results
|
||||||
|
MySqlDataReader reader = myCommand.ExecuteReader();
|
||||||
|
DynamicObject dO = new DynamicObject();
|
||||||
|
while (reader.Read())
|
||||||
|
{
|
||||||
|
dO.AddField(reader["name"], reader["SUM(t.time)"]);
|
||||||
|
|
||||||
|
}
|
||||||
|
// Serialize the data to JSON
|
||||||
|
string jsonResponse = JsonConvert.SerializeObject(dO);
|
||||||
|
// prepare response
|
||||||
|
byte[] buffer = Encoding.UTF8.GetBytes(jsonResponse);
|
||||||
|
response.ContentType = "application/json";
|
||||||
|
response.ContentLength64 = buffer.Length;
|
||||||
|
response.OutputStream.Write(buffer, 0, buffer.Length);
|
||||||
|
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
// Handle any connection errors
|
||||||
|
string errorMessage = $"Error: {ex.Message}";
|
||||||
|
byte[] buffer = Encoding.UTF8.GetBytes(errorMessage);
|
||||||
|
response.ContentType = "text/plain";
|
||||||
|
response.ContentLength64 = buffer.Length;
|
||||||
|
response.OutputStream.Write(buffer, 0, buffer.Length);
|
||||||
|
}
|
||||||
|
conn.Close();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,75 @@
|
|||||||
|
using System;
|
||||||
|
using System.Net;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading;
|
||||||
|
using MySql.Data.MySqlClient;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
|
||||||
|
namespace Server
|
||||||
|
{
|
||||||
|
class Program
|
||||||
|
{
|
||||||
|
static void Main()
|
||||||
|
{
|
||||||
|
// create server
|
||||||
|
HttpListener listener = new HttpListener();
|
||||||
|
// routes need to be added first
|
||||||
|
listener.Prefixes.Add("http://localhost:5000/api/getall/");
|
||||||
|
listener.Prefixes.Add("http://localhost:5000/api/gettopten/");
|
||||||
|
listener.Prefixes.Add("http://localhost:5000/api/getuser/");
|
||||||
|
listener.Prefixes.Add("http://localhost:5000/api/reset/");
|
||||||
|
|
||||||
|
// Start listening for incoming requests
|
||||||
|
listener.Start();
|
||||||
|
Console.WriteLine("Server is listening on http://localhost:5000/");
|
||||||
|
// god knows what that is
|
||||||
|
Thread listenerThread = new Thread(() =>
|
||||||
|
{
|
||||||
|
while (true)
|
||||||
|
{
|
||||||
|
// wait for request
|
||||||
|
HttpListenerContext context = listener.GetContext();
|
||||||
|
// get response and request
|
||||||
|
HttpListenerRequest request = context.Request;
|
||||||
|
HttpListenerResponse response = context.Response;
|
||||||
|
// mysql connection
|
||||||
|
string connectionString = "server=127.0.0.1;uid=monty;pwd=some_pass;database=timelog";
|
||||||
|
MySqlConnection conn = new MySqlConnection(connectionString);
|
||||||
|
|
||||||
|
// url after localhost:5000/
|
||||||
|
var uri = request.Url.AbsolutePath;
|
||||||
|
|
||||||
|
switch (uri)
|
||||||
|
{
|
||||||
|
case "/api/reset":
|
||||||
|
Reset.run(conn, request, response);
|
||||||
|
break;
|
||||||
|
case "/api/getall":
|
||||||
|
Getall.run(conn, request, response);
|
||||||
|
break;
|
||||||
|
case "/api/gettopten":
|
||||||
|
Gettopten.run(conn, request, response);
|
||||||
|
break;
|
||||||
|
case "/api/getuser":
|
||||||
|
Getuser.run(conn, request, response);
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
response.StatusCode = 404;
|
||||||
|
string errorMessage = "Not Found";
|
||||||
|
byte[] buffer = Encoding.UTF8.GetBytes(errorMessage);
|
||||||
|
response.ContentType = "text/plain";
|
||||||
|
response.ContentLength64 = buffer.Length;
|
||||||
|
response.OutputStream.Write(buffer, 0, buffer.Length);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
// Close the response
|
||||||
|
response.OutputStream.Close();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
// Start the listener thread
|
||||||
|
listenerThread.Start();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,108 @@
|
|||||||
|
using System;
|
||||||
|
using System.Net;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading;
|
||||||
|
using MySql.Data.MySqlClient;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
class Program
|
||||||
|
{
|
||||||
|
static void Main()
|
||||||
|
{
|
||||||
|
// Create an HttpListener to handle incoming HTTP requests
|
||||||
|
HttpListener listener = new HttpListener();
|
||||||
|
|
||||||
|
// Add a prefix to listen to, e.g., http://localhost:8080/
|
||||||
|
listener.Prefixes.Add("http://localhost:5000/");
|
||||||
|
|
||||||
|
// Start listening for incoming requests
|
||||||
|
listener.Start();
|
||||||
|
Console.WriteLine("Server is listening on http://localhost:5000/");
|
||||||
|
|
||||||
|
// Handle requests on a separate thread to keep server responsive
|
||||||
|
Thread listenerThread = new Thread(() =>
|
||||||
|
{
|
||||||
|
while (true)
|
||||||
|
{
|
||||||
|
// Wait for a request
|
||||||
|
HttpListenerContext context = listener.GetContext();
|
||||||
|
// Get the request and response objects
|
||||||
|
HttpListenerRequest request = context.Request;
|
||||||
|
HttpListenerResponse response = context.Response;
|
||||||
|
// Check if the requested URL is /api
|
||||||
|
if (request.Url.AbsolutePath == "/api")
|
||||||
|
{
|
||||||
|
string connectionString = "Server=localhost;Port=5050;Database=your_database;User ID=your_user;Password=your_password;";
|
||||||
|
MySqlConnection conn = new MySqlConnection(connectionString);
|
||||||
|
|
||||||
|
try
|
||||||
|
{
|
||||||
|
// Open the connection
|
||||||
|
conn.Open();
|
||||||
|
|
||||||
|
// Prepare the SQL query
|
||||||
|
string query = "SELECT * FROM User;";
|
||||||
|
MySqlCommand cmd = new MySqlCommand(query, conn);
|
||||||
|
|
||||||
|
// Execute the query and read the results
|
||||||
|
MySqlDataReader reader = cmd.ExecuteReader();
|
||||||
|
StringBuilder result = new StringBuilder();
|
||||||
|
|
||||||
|
while (reader.Read())
|
||||||
|
{
|
||||||
|
// Assuming User table has columns "id", "name", and "email"
|
||||||
|
result.AppendLine($"ID: {reader["id"]}, Name: {reader["name"]}, Email: {reader["email"]}");
|
||||||
|
// Prepare the response message
|
||||||
|
string responseMessage = result.ToString();
|
||||||
|
|
||||||
|
|
||||||
|
if (string.IsNullOrEmpty(responseMessage))
|
||||||
|
{
|
||||||
|
responseMessage = "No data found.";
|
||||||
|
}
|
||||||
|
|
||||||
|
byte[] buffer = Encoding.UTF8.GetBytes(responseMessage);
|
||||||
|
|
||||||
|
// Set the response content type and write the response
|
||||||
|
response.ContentType = "text/plain";
|
||||||
|
response.ContentLength64 = buffer.Length;
|
||||||
|
response.OutputStream.Write(buffer, 0, buffer.Length);
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
// Handle any connection errors
|
||||||
|
string errorMessage = $"Error: {ex.Message}";
|
||||||
|
byte[] buffer = Encoding.UTF8.GetBytes(errorMessage);
|
||||||
|
response.ContentType = "text/plain";
|
||||||
|
response.ContentLength64 = buffer.Length;
|
||||||
|
response.OutputStream.Write(buffer, 0, buffer.Length);
|
||||||
|
}
|
||||||
|
finally
|
||||||
|
{
|
||||||
|
// Close the connection
|
||||||
|
conn.Close();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// Return 404 for other paths
|
||||||
|
response.StatusCode = 404;
|
||||||
|
string errorMessage = "Not Found";
|
||||||
|
byte[] buffer = Encoding.UTF8.GetBytes(errorMessage);
|
||||||
|
response.ContentType = "text/plain";
|
||||||
|
response.ContentLength64 = buffer.Length;
|
||||||
|
response.OutputStream.Write(buffer, 0, buffer.Length);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Close the response
|
||||||
|
response.OutputStream.Close();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Start the listener thread
|
||||||
|
listenerThread.Start();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,67 @@
|
|||||||
|
using System;
|
||||||
|
using System.Net;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading;
|
||||||
|
using MySql.Data.MySqlClient;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
|
||||||
|
class Program
|
||||||
|
{
|
||||||
|
static void Main()
|
||||||
|
{
|
||||||
|
// Create an HttpListener to handle incoming HTTP requests
|
||||||
|
HttpListener listener = new HttpListener();
|
||||||
|
|
||||||
|
// Add a prefix to listen to, e.g., http://localhost:8080/
|
||||||
|
listener.Prefixes.Add("http://localhost:5000/");
|
||||||
|
|
||||||
|
// Start listening for incoming requests
|
||||||
|
listener.Start();
|
||||||
|
Console.WriteLine("Server is listening on http://localhost:5000/");
|
||||||
|
|
||||||
|
// Handle requests on a separate thread to keep server responsive
|
||||||
|
Thread listenerThread = new Thread(() =>
|
||||||
|
{
|
||||||
|
while (true)
|
||||||
|
{
|
||||||
|
// Wait for a request
|
||||||
|
HttpListenerContext context = listener.GetContext();
|
||||||
|
|
||||||
|
// Get the request and response objects
|
||||||
|
HttpListenerRequest request = context.Request;
|
||||||
|
HttpListenerResponse response = context.Response;
|
||||||
|
|
||||||
|
// Check if the requested URL is /api
|
||||||
|
if (request.Url.AbsolutePath == "/api")
|
||||||
|
{
|
||||||
|
// Prepare a response message
|
||||||
|
string responseMessage = "Hello from the API endpoint!";
|
||||||
|
byte[] buffer = Encoding.UTF8.GetBytes(responseMessage);
|
||||||
|
|
||||||
|
// Set the response content type and write the response
|
||||||
|
response.ContentType = "text/plain";
|
||||||
|
response.ContentLength64 = buffer.Length;
|
||||||
|
response.OutputStream.Write(buffer, 0, buffer.Length);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// Return 404 for other paths
|
||||||
|
response.StatusCode = 404;
|
||||||
|
string errorMessage = "Not Found";
|
||||||
|
byte[] buffer = Encoding.UTF8.GetBytes(errorMessage);
|
||||||
|
response.ContentType = "text/plain";
|
||||||
|
response.ContentLength64 = buffer.Length;
|
||||||
|
response.OutputStream.Write(buffer, 0, buffer.Length);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Close the response
|
||||||
|
response.OutputStream.Close();
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
// Start the listener thread
|
||||||
|
listenerThread.Start();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@@ -0,0 +1,41 @@
|
|||||||
|
using System;
|
||||||
|
using System.Net;
|
||||||
|
using System.Text;
|
||||||
|
using MySql.Data.MySqlClient;
|
||||||
|
|
||||||
|
namespace Server
|
||||||
|
{
|
||||||
|
|
||||||
|
public class Reset
|
||||||
|
{
|
||||||
|
public static void run(MySqlConnection conn, HttpListenerRequest request, HttpListenerResponse response)
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
// Open the connection
|
||||||
|
conn.Open();
|
||||||
|
// Prepare the SQL query
|
||||||
|
MySqlCommand myCommand = new MySqlCommand();
|
||||||
|
myCommand.Connection = conn;
|
||||||
|
myCommand.CommandText = "CALL InitDB";
|
||||||
|
MySqlDataReader reader = myCommand.ExecuteReader();
|
||||||
|
|
||||||
|
response.StatusCode = (int)HttpStatusCode.OK;
|
||||||
|
response.StatusDescription = "Status OK";
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
response.StatusCode = (int)HttpStatusCode.BadRequest;
|
||||||
|
string errorMessage = $"Error: {ex.Message}";
|
||||||
|
byte[] buffer = Encoding.UTF8.GetBytes(errorMessage);
|
||||||
|
response.ContentType = "text/plain";
|
||||||
|
response.ContentLength64 = buffer.Length;
|
||||||
|
response.OutputStream.Write(buffer, 0, buffer.Length);
|
||||||
|
}
|
||||||
|
finally
|
||||||
|
{
|
||||||
|
conn.Close();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<PackageReference Include="MySql.Data" Version="9.1.0" />
|
||||||
|
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
|
</Project>
|
||||||
Binary file not shown.
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
@@ -0,0 +1,490 @@
|
|||||||
|
{
|
||||||
|
"runtimeTarget": {
|
||||||
|
"name": ".NETCoreApp,Version=v8.0",
|
||||||
|
"signature": ""
|
||||||
|
},
|
||||||
|
"compilationOptions": {},
|
||||||
|
"targets": {
|
||||||
|
".NETCoreApp,Version=v8.0": {
|
||||||
|
"HelloWorldApp/1.0.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"MySql.Data": "9.1.0",
|
||||||
|
"Newtonsoft.Json": "13.0.3"
|
||||||
|
},
|
||||||
|
"runtime": {
|
||||||
|
"HelloWorldApp.dll": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"BouncyCastle.Cryptography/2.3.1": {
|
||||||
|
"runtime": {
|
||||||
|
"lib/net6.0/BouncyCastle.Cryptography.dll": {
|
||||||
|
"assemblyVersion": "2.0.0.0",
|
||||||
|
"fileVersion": "2.3.1.17862"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Google.Protobuf/3.26.1": {
|
||||||
|
"runtime": {
|
||||||
|
"lib/net5.0/Google.Protobuf.dll": {
|
||||||
|
"assemblyVersion": "3.26.1.0",
|
||||||
|
"fileVersion": "3.26.1.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"K4os.Compression.LZ4/1.3.8": {
|
||||||
|
"runtime": {
|
||||||
|
"lib/net6.0/K4os.Compression.LZ4.dll": {
|
||||||
|
"assemblyVersion": "1.3.8.0",
|
||||||
|
"fileVersion": "1.3.8.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"K4os.Compression.LZ4.Streams/1.3.8": {
|
||||||
|
"dependencies": {
|
||||||
|
"K4os.Compression.LZ4": "1.3.8",
|
||||||
|
"K4os.Hash.xxHash": "1.0.8",
|
||||||
|
"System.IO.Pipelines": "6.0.3"
|
||||||
|
},
|
||||||
|
"runtime": {
|
||||||
|
"lib/net6.0/K4os.Compression.LZ4.Streams.dll": {
|
||||||
|
"assemblyVersion": "1.3.8.0",
|
||||||
|
"fileVersion": "1.3.8.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"K4os.Hash.xxHash/1.0.8": {
|
||||||
|
"runtime": {
|
||||||
|
"lib/net6.0/K4os.Hash.xxHash.dll": {
|
||||||
|
"assemblyVersion": "1.0.8.0",
|
||||||
|
"fileVersion": "1.0.8.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Microsoft.NETCore.Platforms/1.1.0": {},
|
||||||
|
"Microsoft.NETCore.Targets/1.1.0": {},
|
||||||
|
"MySql.Data/9.1.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"BouncyCastle.Cryptography": "2.3.1",
|
||||||
|
"Google.Protobuf": "3.26.1",
|
||||||
|
"K4os.Compression.LZ4.Streams": "1.3.8",
|
||||||
|
"System.Buffers": "4.5.1",
|
||||||
|
"System.Configuration.ConfigurationManager": "8.0.0",
|
||||||
|
"System.Diagnostics.DiagnosticSource": "8.0.1",
|
||||||
|
"System.Runtime.CompilerServices.Unsafe": "6.0.0",
|
||||||
|
"System.Runtime.Loader": "4.3.0",
|
||||||
|
"System.Security.Permissions": "8.0.0",
|
||||||
|
"System.Text.Encoding.CodePages": "8.0.0",
|
||||||
|
"System.Text.Json": "8.0.4",
|
||||||
|
"System.Threading.Tasks.Extensions": "4.5.4",
|
||||||
|
"ZstdSharp.Port": "0.8.0"
|
||||||
|
},
|
||||||
|
"runtime": {
|
||||||
|
"lib/net8.0/MySql.Data.dll": {
|
||||||
|
"assemblyVersion": "9.1.0.0",
|
||||||
|
"fileVersion": "9.1.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeTargets": {
|
||||||
|
"runtimes/win-x64/native/comerr64.dll": {
|
||||||
|
"rid": "win-x64",
|
||||||
|
"assetType": "native",
|
||||||
|
"fileVersion": "0.0.0.0"
|
||||||
|
},
|
||||||
|
"runtimes/win-x64/native/gssapi64.dll": {
|
||||||
|
"rid": "win-x64",
|
||||||
|
"assetType": "native",
|
||||||
|
"fileVersion": "0.0.0.0"
|
||||||
|
},
|
||||||
|
"runtimes/win-x64/native/k5sprt64.dll": {
|
||||||
|
"rid": "win-x64",
|
||||||
|
"assetType": "native",
|
||||||
|
"fileVersion": "0.0.0.0"
|
||||||
|
},
|
||||||
|
"runtimes/win-x64/native/krb5_64.dll": {
|
||||||
|
"rid": "win-x64",
|
||||||
|
"assetType": "native",
|
||||||
|
"fileVersion": "0.0.0.0"
|
||||||
|
},
|
||||||
|
"runtimes/win-x64/native/krbcc64.dll": {
|
||||||
|
"rid": "win-x64",
|
||||||
|
"assetType": "native",
|
||||||
|
"fileVersion": "0.0.0.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Newtonsoft.Json/13.0.3": {
|
||||||
|
"runtime": {
|
||||||
|
"lib/net6.0/Newtonsoft.Json.dll": {
|
||||||
|
"assemblyVersion": "13.0.0.0",
|
||||||
|
"fileVersion": "13.0.3.27908"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Buffers/4.5.1": {},
|
||||||
|
"System.Configuration.ConfigurationManager/8.0.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"System.Diagnostics.EventLog": "8.0.0",
|
||||||
|
"System.Security.Cryptography.ProtectedData": "8.0.0"
|
||||||
|
},
|
||||||
|
"runtime": {
|
||||||
|
"lib/net8.0/System.Configuration.ConfigurationManager.dll": {
|
||||||
|
"assemblyVersion": "8.0.0.0",
|
||||||
|
"fileVersion": "8.0.23.53103"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Diagnostics.DiagnosticSource/8.0.1": {},
|
||||||
|
"System.Diagnostics.EventLog/8.0.0": {
|
||||||
|
"runtime": {
|
||||||
|
"lib/net8.0/System.Diagnostics.EventLog.dll": {
|
||||||
|
"assemblyVersion": "8.0.0.0",
|
||||||
|
"fileVersion": "8.0.23.53103"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeTargets": {
|
||||||
|
"runtimes/win/lib/net8.0/System.Diagnostics.EventLog.Messages.dll": {
|
||||||
|
"rid": "win",
|
||||||
|
"assetType": "runtime",
|
||||||
|
"assemblyVersion": "8.0.0.0",
|
||||||
|
"fileVersion": "8.0.23.53103"
|
||||||
|
},
|
||||||
|
"runtimes/win/lib/net8.0/System.Diagnostics.EventLog.dll": {
|
||||||
|
"rid": "win",
|
||||||
|
"assetType": "runtime",
|
||||||
|
"assemblyVersion": "8.0.0.0",
|
||||||
|
"fileVersion": "8.0.23.53103"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.IO/4.3.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"Microsoft.NETCore.Platforms": "1.1.0",
|
||||||
|
"Microsoft.NETCore.Targets": "1.1.0",
|
||||||
|
"System.Runtime": "4.3.0",
|
||||||
|
"System.Text.Encoding": "4.3.0",
|
||||||
|
"System.Threading.Tasks": "4.3.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.IO.Pipelines/6.0.3": {
|
||||||
|
"runtime": {
|
||||||
|
"lib/net6.0/System.IO.Pipelines.dll": {
|
||||||
|
"assemblyVersion": "6.0.0.0",
|
||||||
|
"fileVersion": "6.0.522.21309"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Reflection/4.3.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"Microsoft.NETCore.Platforms": "1.1.0",
|
||||||
|
"Microsoft.NETCore.Targets": "1.1.0",
|
||||||
|
"System.IO": "4.3.0",
|
||||||
|
"System.Reflection.Primitives": "4.3.0",
|
||||||
|
"System.Runtime": "4.3.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Reflection.Primitives/4.3.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"Microsoft.NETCore.Platforms": "1.1.0",
|
||||||
|
"Microsoft.NETCore.Targets": "1.1.0",
|
||||||
|
"System.Runtime": "4.3.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Runtime/4.3.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"Microsoft.NETCore.Platforms": "1.1.0",
|
||||||
|
"Microsoft.NETCore.Targets": "1.1.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Runtime.CompilerServices.Unsafe/6.0.0": {},
|
||||||
|
"System.Runtime.Loader/4.3.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"System.IO": "4.3.0",
|
||||||
|
"System.Reflection": "4.3.0",
|
||||||
|
"System.Runtime": "4.3.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Security.Cryptography.ProtectedData/8.0.0": {
|
||||||
|
"runtime": {
|
||||||
|
"lib/net8.0/System.Security.Cryptography.ProtectedData.dll": {
|
||||||
|
"assemblyVersion": "8.0.0.0",
|
||||||
|
"fileVersion": "8.0.23.53103"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Security.Permissions/8.0.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"System.Windows.Extensions": "8.0.0"
|
||||||
|
},
|
||||||
|
"runtime": {
|
||||||
|
"lib/net8.0/System.Security.Permissions.dll": {
|
||||||
|
"assemblyVersion": "8.0.0.0",
|
||||||
|
"fileVersion": "8.0.23.53103"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Text.Encoding/4.3.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"Microsoft.NETCore.Platforms": "1.1.0",
|
||||||
|
"Microsoft.NETCore.Targets": "1.1.0",
|
||||||
|
"System.Runtime": "4.3.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Text.Encoding.CodePages/8.0.0": {},
|
||||||
|
"System.Text.Encodings.Web/8.0.0": {},
|
||||||
|
"System.Text.Json/8.0.4": {
|
||||||
|
"dependencies": {
|
||||||
|
"System.Text.Encodings.Web": "8.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Threading.Tasks/4.3.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"Microsoft.NETCore.Platforms": "1.1.0",
|
||||||
|
"Microsoft.NETCore.Targets": "1.1.0",
|
||||||
|
"System.Runtime": "4.3.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Threading.Tasks.Extensions/4.5.4": {},
|
||||||
|
"System.Windows.Extensions/8.0.0": {
|
||||||
|
"runtime": {
|
||||||
|
"lib/net8.0/System.Windows.Extensions.dll": {
|
||||||
|
"assemblyVersion": "8.0.0.0",
|
||||||
|
"fileVersion": "8.0.23.53103"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeTargets": {
|
||||||
|
"runtimes/win/lib/net8.0/System.Windows.Extensions.dll": {
|
||||||
|
"rid": "win",
|
||||||
|
"assetType": "runtime",
|
||||||
|
"assemblyVersion": "8.0.0.0",
|
||||||
|
"fileVersion": "8.0.23.53103"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ZstdSharp.Port/0.8.0": {
|
||||||
|
"runtime": {
|
||||||
|
"lib/net8.0/ZstdSharp.dll": {
|
||||||
|
"assemblyVersion": "0.8.0.0",
|
||||||
|
"fileVersion": "0.8.0.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"libraries": {
|
||||||
|
"HelloWorldApp/1.0.0": {
|
||||||
|
"type": "project",
|
||||||
|
"serviceable": false,
|
||||||
|
"sha512": ""
|
||||||
|
},
|
||||||
|
"BouncyCastle.Cryptography/2.3.1": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-buwoISwecYke3CmgG1AQSg+sNZjJeIb93vTAtJiHZX35hP/teYMxsfg0NDXGUKjGx6BKBTNKc77O2M3vKvlXZQ==",
|
||||||
|
"path": "bouncycastle.cryptography/2.3.1",
|
||||||
|
"hashPath": "bouncycastle.cryptography.2.3.1.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"Google.Protobuf/3.26.1": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-CHZX8zXqhF/fdUtd+AYzew8T2HFkAoe5c7lbGxZY/qryAlQXckDvM5BfOJjXlMS7kyICqQTMszj4w1bX5uBJ/w==",
|
||||||
|
"path": "google.protobuf/3.26.1",
|
||||||
|
"hashPath": "google.protobuf.3.26.1.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"K4os.Compression.LZ4/1.3.8": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-LhwlPa7c1zs1OV2XadMtAWdImjLIsqFJPoRcIWAadSRn0Ri1DepK65UbWLPmt4riLqx2d40xjXRk0ogpqNtK7g==",
|
||||||
|
"path": "k4os.compression.lz4/1.3.8",
|
||||||
|
"hashPath": "k4os.compression.lz4.1.3.8.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"K4os.Compression.LZ4.Streams/1.3.8": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-P15qr8dZAeo9GvYbUIPEYFQ0MEJ0i5iqr37wsYeRC3la2uCldOoeCa6to0CZ1taiwxIV+Mk8NGuZi+4iWivK9w==",
|
||||||
|
"path": "k4os.compression.lz4.streams/1.3.8",
|
||||||
|
"hashPath": "k4os.compression.lz4.streams.1.3.8.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"K4os.Hash.xxHash/1.0.8": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-Wp2F7BamQ2Q/7Hk834nV9vRQapgcr8kgv9Jvfm8J3D0IhDqZMMl+a2yxUq5ltJitvXvQfB8W6K4F4fCbw/P6YQ==",
|
||||||
|
"path": "k4os.hash.xxhash/1.0.8",
|
||||||
|
"hashPath": "k4os.hash.xxhash.1.0.8.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"Microsoft.NETCore.Platforms/1.1.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==",
|
||||||
|
"path": "microsoft.netcore.platforms/1.1.0",
|
||||||
|
"hashPath": "microsoft.netcore.platforms.1.1.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"Microsoft.NETCore.Targets/1.1.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-aOZA3BWfz9RXjpzt0sRJJMjAscAUm3Hoa4UWAfceV9UTYxgwZ1lZt5nO2myFf+/jetYQo4uTP7zS8sJY67BBxg==",
|
||||||
|
"path": "microsoft.netcore.targets/1.1.0",
|
||||||
|
"hashPath": "microsoft.netcore.targets.1.1.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"MySql.Data/9.1.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-E4t/IQzcXg4nYGqrGkoGwwSWA1V2L+LKzVddPABAPcj2i6RESP2fcZQ4XFC0Wv+Cq4DlgR3DYhX/fGaZ3VxCPQ==",
|
||||||
|
"path": "mysql.data/9.1.0",
|
||||||
|
"hashPath": "mysql.data.9.1.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"Newtonsoft.Json/13.0.3": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==",
|
||||||
|
"path": "newtonsoft.json/13.0.3",
|
||||||
|
"hashPath": "newtonsoft.json.13.0.3.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Buffers/4.5.1": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==",
|
||||||
|
"path": "system.buffers/4.5.1",
|
||||||
|
"hashPath": "system.buffers.4.5.1.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Configuration.ConfigurationManager/8.0.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-JlYi9XVvIREURRUlGMr1F6vOFLk7YSY4p1vHo4kX3tQ0AGrjqlRWHDi66ImHhy6qwXBG3BJ6Y1QlYQ+Qz6Xgww==",
|
||||||
|
"path": "system.configuration.configurationmanager/8.0.0",
|
||||||
|
"hashPath": "system.configuration.configurationmanager.8.0.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Diagnostics.DiagnosticSource/8.0.1": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-vaoWjvkG1aenR2XdjaVivlCV9fADfgyhW5bZtXT23qaEea0lWiUljdQuze4E31vKM7ZWJaSUsbYIKE3rnzfZUg==",
|
||||||
|
"path": "system.diagnostics.diagnosticsource/8.0.1",
|
||||||
|
"hashPath": "system.diagnostics.diagnosticsource.8.0.1.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Diagnostics.EventLog/8.0.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-fdYxcRjQqTTacKId/2IECojlDSFvp7LP5N78+0z/xH7v/Tuw5ZAxu23Y6PTCRinqyu2ePx+Gn1098NC6jM6d+A==",
|
||||||
|
"path": "system.diagnostics.eventlog/8.0.0",
|
||||||
|
"hashPath": "system.diagnostics.eventlog.8.0.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.IO/4.3.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-3qjaHvxQPDpSOYICjUoTsmoq5u6QJAFRUITgeT/4gqkF1bajbSmb1kwSxEA8AHlofqgcKJcM8udgieRNhaJ5Cg==",
|
||||||
|
"path": "system.io/4.3.0",
|
||||||
|
"hashPath": "system.io.4.3.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.IO.Pipelines/6.0.3": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-ryTgF+iFkpGZY1vRQhfCzX0xTdlV3pyaTTqRu2ETbEv+HlV7O6y7hyQURnghNIXvctl5DuZ//Dpks6HdL/Txgw==",
|
||||||
|
"path": "system.io.pipelines/6.0.3",
|
||||||
|
"hashPath": "system.io.pipelines.6.0.3.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Reflection/4.3.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-KMiAFoW7MfJGa9nDFNcfu+FpEdiHpWgTcS2HdMpDvt9saK3y/G4GwprPyzqjFH9NTaGPQeWNHU+iDlDILj96aQ==",
|
||||||
|
"path": "system.reflection/4.3.0",
|
||||||
|
"hashPath": "system.reflection.4.3.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Reflection.Primitives/4.3.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-5RXItQz5As4xN2/YUDxdpsEkMhvw3e6aNveFXUn4Hl/udNTCNhnKp8lT9fnc3MhvGKh1baak5CovpuQUXHAlIA==",
|
||||||
|
"path": "system.reflection.primitives/4.3.0",
|
||||||
|
"hashPath": "system.reflection.primitives.4.3.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Runtime/4.3.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-JufQi0vPQ0xGnAczR13AUFglDyVYt4Kqnz1AZaiKZ5+GICq0/1MH/mO/eAJHt/mHW1zjKBJd7kV26SrxddAhiw==",
|
||||||
|
"path": "system.runtime/4.3.0",
|
||||||
|
"hashPath": "system.runtime.4.3.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Runtime.CompilerServices.Unsafe/6.0.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==",
|
||||||
|
"path": "system.runtime.compilerservices.unsafe/6.0.0",
|
||||||
|
"hashPath": "system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Runtime.Loader/4.3.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-DHMaRn8D8YCK2GG2pw+UzNxn/OHVfaWx7OTLBD/hPegHZZgcZh3H6seWegrC4BYwsfuGrywIuT+MQs+rPqRLTQ==",
|
||||||
|
"path": "system.runtime.loader/4.3.0",
|
||||||
|
"hashPath": "system.runtime.loader.4.3.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Security.Cryptography.ProtectedData/8.0.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-+TUFINV2q2ifyXauQXRwy4CiBhqvDEDZeVJU7qfxya4aRYOKzVBpN+4acx25VcPB9ywUN6C0n8drWl110PhZEg==",
|
||||||
|
"path": "system.security.cryptography.protecteddata/8.0.0",
|
||||||
|
"hashPath": "system.security.cryptography.protecteddata.8.0.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Security.Permissions/8.0.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-v/BBylw7XevuAsHXoX9dDUUfmBIcUf7Lkz8K3ZXIKz3YRKpw8YftpSir4n4e/jDTKFoaK37AsC3xnk+GNFI1Ow==",
|
||||||
|
"path": "system.security.permissions/8.0.0",
|
||||||
|
"hashPath": "system.security.permissions.8.0.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Text.Encoding/4.3.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-BiIg+KWaSDOITze6jGQynxg64naAPtqGHBwDrLaCtixsa5bKiR8dpPOHA7ge3C0JJQizJE+sfkz1wV+BAKAYZw==",
|
||||||
|
"path": "system.text.encoding/4.3.0",
|
||||||
|
"hashPath": "system.text.encoding.4.3.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Text.Encoding.CodePages/8.0.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-OZIsVplFGaVY90G2SbpgU7EnCoOO5pw1t4ic21dBF3/1omrJFpAGoNAVpPyMVOC90/hvgkGG3VFqR13YgZMQfg==",
|
||||||
|
"path": "system.text.encoding.codepages/8.0.0",
|
||||||
|
"hashPath": "system.text.encoding.codepages.8.0.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Text.Encodings.Web/8.0.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ==",
|
||||||
|
"path": "system.text.encodings.web/8.0.0",
|
||||||
|
"hashPath": "system.text.encodings.web.8.0.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Text.Json/8.0.4": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-bAkhgDJ88XTsqczoxEMliSrpijKZHhbJQldhAmObj/RbrN3sU5dcokuXmWJWsdQAhiMJ9bTayWsL1C9fbbCRhw==",
|
||||||
|
"path": "system.text.json/8.0.4",
|
||||||
|
"hashPath": "system.text.json.8.0.4.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Threading.Tasks/4.3.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-LbSxKEdOUhVe8BezB/9uOGGppt+nZf6e1VFyw6v3DN6lqitm0OSn2uXMOdtP0M3W4iMcqcivm2J6UgqiwwnXiA==",
|
||||||
|
"path": "system.threading.tasks/4.3.0",
|
||||||
|
"hashPath": "system.threading.tasks.4.3.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Threading.Tasks.Extensions/4.5.4": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==",
|
||||||
|
"path": "system.threading.tasks.extensions/4.5.4",
|
||||||
|
"hashPath": "system.threading.tasks.extensions.4.5.4.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Windows.Extensions/8.0.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-Obg3a90MkOw9mYKxrardLpY2u0axDMrSmy4JCdq2cYbelM2cUwmUir5Bomvd1yxmPL9h5LVHU1tuKBZpUjfASg==",
|
||||||
|
"path": "system.windows.extensions/8.0.0",
|
||||||
|
"hashPath": "system.windows.extensions.8.0.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"ZstdSharp.Port/0.8.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-Z62eNBIu8E8YtbqlMy57tK3dV1+m2b9NhPeaYovB5exmLKvrGCqOhJTzrEUH5VyUWU6vwX3c1XHJGhW5HVs8dA==",
|
||||||
|
"path": "zstdsharp.port/0.8.0",
|
||||||
|
"hashPath": "zstdsharp.port.0.8.0.nupkg.sha512"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"runtimeOptions": {
|
||||||
|
"tfm": "net8.0",
|
||||||
|
"framework": {
|
||||||
|
"name": "Microsoft.NETCore.App",
|
||||||
|
"version": "8.0.0"
|
||||||
|
},
|
||||||
|
"configProperties": {
|
||||||
|
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Executable
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Executable
BIN
Binary file not shown.
@@ -0,0 +1,490 @@
|
|||||||
|
{
|
||||||
|
"runtimeTarget": {
|
||||||
|
"name": ".NETCoreApp,Version=v8.0",
|
||||||
|
"signature": ""
|
||||||
|
},
|
||||||
|
"compilationOptions": {},
|
||||||
|
"targets": {
|
||||||
|
".NETCoreApp,Version=v8.0": {
|
||||||
|
"TimelogBackend/1.0.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"MySql.Data": "9.1.0",
|
||||||
|
"Newtonsoft.Json": "13.0.3"
|
||||||
|
},
|
||||||
|
"runtime": {
|
||||||
|
"TimelogBackend.dll": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"BouncyCastle.Cryptography/2.3.1": {
|
||||||
|
"runtime": {
|
||||||
|
"lib/net6.0/BouncyCastle.Cryptography.dll": {
|
||||||
|
"assemblyVersion": "2.0.0.0",
|
||||||
|
"fileVersion": "2.3.1.17862"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Google.Protobuf/3.26.1": {
|
||||||
|
"runtime": {
|
||||||
|
"lib/net5.0/Google.Protobuf.dll": {
|
||||||
|
"assemblyVersion": "3.26.1.0",
|
||||||
|
"fileVersion": "3.26.1.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"K4os.Compression.LZ4/1.3.8": {
|
||||||
|
"runtime": {
|
||||||
|
"lib/net6.0/K4os.Compression.LZ4.dll": {
|
||||||
|
"assemblyVersion": "1.3.8.0",
|
||||||
|
"fileVersion": "1.3.8.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"K4os.Compression.LZ4.Streams/1.3.8": {
|
||||||
|
"dependencies": {
|
||||||
|
"K4os.Compression.LZ4": "1.3.8",
|
||||||
|
"K4os.Hash.xxHash": "1.0.8",
|
||||||
|
"System.IO.Pipelines": "6.0.3"
|
||||||
|
},
|
||||||
|
"runtime": {
|
||||||
|
"lib/net6.0/K4os.Compression.LZ4.Streams.dll": {
|
||||||
|
"assemblyVersion": "1.3.8.0",
|
||||||
|
"fileVersion": "1.3.8.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"K4os.Hash.xxHash/1.0.8": {
|
||||||
|
"runtime": {
|
||||||
|
"lib/net6.0/K4os.Hash.xxHash.dll": {
|
||||||
|
"assemblyVersion": "1.0.8.0",
|
||||||
|
"fileVersion": "1.0.8.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Microsoft.NETCore.Platforms/1.1.0": {},
|
||||||
|
"Microsoft.NETCore.Targets/1.1.0": {},
|
||||||
|
"MySql.Data/9.1.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"BouncyCastle.Cryptography": "2.3.1",
|
||||||
|
"Google.Protobuf": "3.26.1",
|
||||||
|
"K4os.Compression.LZ4.Streams": "1.3.8",
|
||||||
|
"System.Buffers": "4.5.1",
|
||||||
|
"System.Configuration.ConfigurationManager": "8.0.0",
|
||||||
|
"System.Diagnostics.DiagnosticSource": "8.0.1",
|
||||||
|
"System.Runtime.CompilerServices.Unsafe": "6.0.0",
|
||||||
|
"System.Runtime.Loader": "4.3.0",
|
||||||
|
"System.Security.Permissions": "8.0.0",
|
||||||
|
"System.Text.Encoding.CodePages": "8.0.0",
|
||||||
|
"System.Text.Json": "8.0.4",
|
||||||
|
"System.Threading.Tasks.Extensions": "4.5.4",
|
||||||
|
"ZstdSharp.Port": "0.8.0"
|
||||||
|
},
|
||||||
|
"runtime": {
|
||||||
|
"lib/net8.0/MySql.Data.dll": {
|
||||||
|
"assemblyVersion": "9.1.0.0",
|
||||||
|
"fileVersion": "9.1.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeTargets": {
|
||||||
|
"runtimes/win-x64/native/comerr64.dll": {
|
||||||
|
"rid": "win-x64",
|
||||||
|
"assetType": "native",
|
||||||
|
"fileVersion": "0.0.0.0"
|
||||||
|
},
|
||||||
|
"runtimes/win-x64/native/gssapi64.dll": {
|
||||||
|
"rid": "win-x64",
|
||||||
|
"assetType": "native",
|
||||||
|
"fileVersion": "0.0.0.0"
|
||||||
|
},
|
||||||
|
"runtimes/win-x64/native/k5sprt64.dll": {
|
||||||
|
"rid": "win-x64",
|
||||||
|
"assetType": "native",
|
||||||
|
"fileVersion": "0.0.0.0"
|
||||||
|
},
|
||||||
|
"runtimes/win-x64/native/krb5_64.dll": {
|
||||||
|
"rid": "win-x64",
|
||||||
|
"assetType": "native",
|
||||||
|
"fileVersion": "0.0.0.0"
|
||||||
|
},
|
||||||
|
"runtimes/win-x64/native/krbcc64.dll": {
|
||||||
|
"rid": "win-x64",
|
||||||
|
"assetType": "native",
|
||||||
|
"fileVersion": "0.0.0.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"Newtonsoft.Json/13.0.3": {
|
||||||
|
"runtime": {
|
||||||
|
"lib/net6.0/Newtonsoft.Json.dll": {
|
||||||
|
"assemblyVersion": "13.0.0.0",
|
||||||
|
"fileVersion": "13.0.3.27908"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Buffers/4.5.1": {},
|
||||||
|
"System.Configuration.ConfigurationManager/8.0.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"System.Diagnostics.EventLog": "8.0.0",
|
||||||
|
"System.Security.Cryptography.ProtectedData": "8.0.0"
|
||||||
|
},
|
||||||
|
"runtime": {
|
||||||
|
"lib/net8.0/System.Configuration.ConfigurationManager.dll": {
|
||||||
|
"assemblyVersion": "8.0.0.0",
|
||||||
|
"fileVersion": "8.0.23.53103"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Diagnostics.DiagnosticSource/8.0.1": {},
|
||||||
|
"System.Diagnostics.EventLog/8.0.0": {
|
||||||
|
"runtime": {
|
||||||
|
"lib/net8.0/System.Diagnostics.EventLog.dll": {
|
||||||
|
"assemblyVersion": "8.0.0.0",
|
||||||
|
"fileVersion": "8.0.23.53103"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeTargets": {
|
||||||
|
"runtimes/win/lib/net8.0/System.Diagnostics.EventLog.Messages.dll": {
|
||||||
|
"rid": "win",
|
||||||
|
"assetType": "runtime",
|
||||||
|
"assemblyVersion": "8.0.0.0",
|
||||||
|
"fileVersion": "8.0.23.53103"
|
||||||
|
},
|
||||||
|
"runtimes/win/lib/net8.0/System.Diagnostics.EventLog.dll": {
|
||||||
|
"rid": "win",
|
||||||
|
"assetType": "runtime",
|
||||||
|
"assemblyVersion": "8.0.0.0",
|
||||||
|
"fileVersion": "8.0.23.53103"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.IO/4.3.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"Microsoft.NETCore.Platforms": "1.1.0",
|
||||||
|
"Microsoft.NETCore.Targets": "1.1.0",
|
||||||
|
"System.Runtime": "4.3.0",
|
||||||
|
"System.Text.Encoding": "4.3.0",
|
||||||
|
"System.Threading.Tasks": "4.3.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.IO.Pipelines/6.0.3": {
|
||||||
|
"runtime": {
|
||||||
|
"lib/net6.0/System.IO.Pipelines.dll": {
|
||||||
|
"assemblyVersion": "6.0.0.0",
|
||||||
|
"fileVersion": "6.0.522.21309"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Reflection/4.3.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"Microsoft.NETCore.Platforms": "1.1.0",
|
||||||
|
"Microsoft.NETCore.Targets": "1.1.0",
|
||||||
|
"System.IO": "4.3.0",
|
||||||
|
"System.Reflection.Primitives": "4.3.0",
|
||||||
|
"System.Runtime": "4.3.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Reflection.Primitives/4.3.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"Microsoft.NETCore.Platforms": "1.1.0",
|
||||||
|
"Microsoft.NETCore.Targets": "1.1.0",
|
||||||
|
"System.Runtime": "4.3.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Runtime/4.3.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"Microsoft.NETCore.Platforms": "1.1.0",
|
||||||
|
"Microsoft.NETCore.Targets": "1.1.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Runtime.CompilerServices.Unsafe/6.0.0": {},
|
||||||
|
"System.Runtime.Loader/4.3.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"System.IO": "4.3.0",
|
||||||
|
"System.Reflection": "4.3.0",
|
||||||
|
"System.Runtime": "4.3.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Security.Cryptography.ProtectedData/8.0.0": {
|
||||||
|
"runtime": {
|
||||||
|
"lib/net8.0/System.Security.Cryptography.ProtectedData.dll": {
|
||||||
|
"assemblyVersion": "8.0.0.0",
|
||||||
|
"fileVersion": "8.0.23.53103"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Security.Permissions/8.0.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"System.Windows.Extensions": "8.0.0"
|
||||||
|
},
|
||||||
|
"runtime": {
|
||||||
|
"lib/net8.0/System.Security.Permissions.dll": {
|
||||||
|
"assemblyVersion": "8.0.0.0",
|
||||||
|
"fileVersion": "8.0.23.53103"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Text.Encoding/4.3.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"Microsoft.NETCore.Platforms": "1.1.0",
|
||||||
|
"Microsoft.NETCore.Targets": "1.1.0",
|
||||||
|
"System.Runtime": "4.3.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Text.Encoding.CodePages/8.0.0": {},
|
||||||
|
"System.Text.Encodings.Web/8.0.0": {},
|
||||||
|
"System.Text.Json/8.0.4": {
|
||||||
|
"dependencies": {
|
||||||
|
"System.Text.Encodings.Web": "8.0.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Threading.Tasks/4.3.0": {
|
||||||
|
"dependencies": {
|
||||||
|
"Microsoft.NETCore.Platforms": "1.1.0",
|
||||||
|
"Microsoft.NETCore.Targets": "1.1.0",
|
||||||
|
"System.Runtime": "4.3.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"System.Threading.Tasks.Extensions/4.5.4": {},
|
||||||
|
"System.Windows.Extensions/8.0.0": {
|
||||||
|
"runtime": {
|
||||||
|
"lib/net8.0/System.Windows.Extensions.dll": {
|
||||||
|
"assemblyVersion": "8.0.0.0",
|
||||||
|
"fileVersion": "8.0.23.53103"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeTargets": {
|
||||||
|
"runtimes/win/lib/net8.0/System.Windows.Extensions.dll": {
|
||||||
|
"rid": "win",
|
||||||
|
"assetType": "runtime",
|
||||||
|
"assemblyVersion": "8.0.0.0",
|
||||||
|
"fileVersion": "8.0.23.53103"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"ZstdSharp.Port/0.8.0": {
|
||||||
|
"runtime": {
|
||||||
|
"lib/net8.0/ZstdSharp.dll": {
|
||||||
|
"assemblyVersion": "0.8.0.0",
|
||||||
|
"fileVersion": "0.8.0.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"libraries": {
|
||||||
|
"TimelogBackend/1.0.0": {
|
||||||
|
"type": "project",
|
||||||
|
"serviceable": false,
|
||||||
|
"sha512": ""
|
||||||
|
},
|
||||||
|
"BouncyCastle.Cryptography/2.3.1": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-buwoISwecYke3CmgG1AQSg+sNZjJeIb93vTAtJiHZX35hP/teYMxsfg0NDXGUKjGx6BKBTNKc77O2M3vKvlXZQ==",
|
||||||
|
"path": "bouncycastle.cryptography/2.3.1",
|
||||||
|
"hashPath": "bouncycastle.cryptography.2.3.1.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"Google.Protobuf/3.26.1": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-CHZX8zXqhF/fdUtd+AYzew8T2HFkAoe5c7lbGxZY/qryAlQXckDvM5BfOJjXlMS7kyICqQTMszj4w1bX5uBJ/w==",
|
||||||
|
"path": "google.protobuf/3.26.1",
|
||||||
|
"hashPath": "google.protobuf.3.26.1.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"K4os.Compression.LZ4/1.3.8": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-LhwlPa7c1zs1OV2XadMtAWdImjLIsqFJPoRcIWAadSRn0Ri1DepK65UbWLPmt4riLqx2d40xjXRk0ogpqNtK7g==",
|
||||||
|
"path": "k4os.compression.lz4/1.3.8",
|
||||||
|
"hashPath": "k4os.compression.lz4.1.3.8.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"K4os.Compression.LZ4.Streams/1.3.8": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-P15qr8dZAeo9GvYbUIPEYFQ0MEJ0i5iqr37wsYeRC3la2uCldOoeCa6to0CZ1taiwxIV+Mk8NGuZi+4iWivK9w==",
|
||||||
|
"path": "k4os.compression.lz4.streams/1.3.8",
|
||||||
|
"hashPath": "k4os.compression.lz4.streams.1.3.8.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"K4os.Hash.xxHash/1.0.8": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-Wp2F7BamQ2Q/7Hk834nV9vRQapgcr8kgv9Jvfm8J3D0IhDqZMMl+a2yxUq5ltJitvXvQfB8W6K4F4fCbw/P6YQ==",
|
||||||
|
"path": "k4os.hash.xxhash/1.0.8",
|
||||||
|
"hashPath": "k4os.hash.xxhash.1.0.8.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"Microsoft.NETCore.Platforms/1.1.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==",
|
||||||
|
"path": "microsoft.netcore.platforms/1.1.0",
|
||||||
|
"hashPath": "microsoft.netcore.platforms.1.1.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"Microsoft.NETCore.Targets/1.1.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-aOZA3BWfz9RXjpzt0sRJJMjAscAUm3Hoa4UWAfceV9UTYxgwZ1lZt5nO2myFf+/jetYQo4uTP7zS8sJY67BBxg==",
|
||||||
|
"path": "microsoft.netcore.targets/1.1.0",
|
||||||
|
"hashPath": "microsoft.netcore.targets.1.1.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"MySql.Data/9.1.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-E4t/IQzcXg4nYGqrGkoGwwSWA1V2L+LKzVddPABAPcj2i6RESP2fcZQ4XFC0Wv+Cq4DlgR3DYhX/fGaZ3VxCPQ==",
|
||||||
|
"path": "mysql.data/9.1.0",
|
||||||
|
"hashPath": "mysql.data.9.1.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"Newtonsoft.Json/13.0.3": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==",
|
||||||
|
"path": "newtonsoft.json/13.0.3",
|
||||||
|
"hashPath": "newtonsoft.json.13.0.3.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Buffers/4.5.1": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==",
|
||||||
|
"path": "system.buffers/4.5.1",
|
||||||
|
"hashPath": "system.buffers.4.5.1.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Configuration.ConfigurationManager/8.0.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-JlYi9XVvIREURRUlGMr1F6vOFLk7YSY4p1vHo4kX3tQ0AGrjqlRWHDi66ImHhy6qwXBG3BJ6Y1QlYQ+Qz6Xgww==",
|
||||||
|
"path": "system.configuration.configurationmanager/8.0.0",
|
||||||
|
"hashPath": "system.configuration.configurationmanager.8.0.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Diagnostics.DiagnosticSource/8.0.1": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-vaoWjvkG1aenR2XdjaVivlCV9fADfgyhW5bZtXT23qaEea0lWiUljdQuze4E31vKM7ZWJaSUsbYIKE3rnzfZUg==",
|
||||||
|
"path": "system.diagnostics.diagnosticsource/8.0.1",
|
||||||
|
"hashPath": "system.diagnostics.diagnosticsource.8.0.1.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Diagnostics.EventLog/8.0.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-fdYxcRjQqTTacKId/2IECojlDSFvp7LP5N78+0z/xH7v/Tuw5ZAxu23Y6PTCRinqyu2ePx+Gn1098NC6jM6d+A==",
|
||||||
|
"path": "system.diagnostics.eventlog/8.0.0",
|
||||||
|
"hashPath": "system.diagnostics.eventlog.8.0.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.IO/4.3.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-3qjaHvxQPDpSOYICjUoTsmoq5u6QJAFRUITgeT/4gqkF1bajbSmb1kwSxEA8AHlofqgcKJcM8udgieRNhaJ5Cg==",
|
||||||
|
"path": "system.io/4.3.0",
|
||||||
|
"hashPath": "system.io.4.3.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.IO.Pipelines/6.0.3": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-ryTgF+iFkpGZY1vRQhfCzX0xTdlV3pyaTTqRu2ETbEv+HlV7O6y7hyQURnghNIXvctl5DuZ//Dpks6HdL/Txgw==",
|
||||||
|
"path": "system.io.pipelines/6.0.3",
|
||||||
|
"hashPath": "system.io.pipelines.6.0.3.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Reflection/4.3.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-KMiAFoW7MfJGa9nDFNcfu+FpEdiHpWgTcS2HdMpDvt9saK3y/G4GwprPyzqjFH9NTaGPQeWNHU+iDlDILj96aQ==",
|
||||||
|
"path": "system.reflection/4.3.0",
|
||||||
|
"hashPath": "system.reflection.4.3.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Reflection.Primitives/4.3.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-5RXItQz5As4xN2/YUDxdpsEkMhvw3e6aNveFXUn4Hl/udNTCNhnKp8lT9fnc3MhvGKh1baak5CovpuQUXHAlIA==",
|
||||||
|
"path": "system.reflection.primitives/4.3.0",
|
||||||
|
"hashPath": "system.reflection.primitives.4.3.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Runtime/4.3.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-JufQi0vPQ0xGnAczR13AUFglDyVYt4Kqnz1AZaiKZ5+GICq0/1MH/mO/eAJHt/mHW1zjKBJd7kV26SrxddAhiw==",
|
||||||
|
"path": "system.runtime/4.3.0",
|
||||||
|
"hashPath": "system.runtime.4.3.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Runtime.CompilerServices.Unsafe/6.0.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==",
|
||||||
|
"path": "system.runtime.compilerservices.unsafe/6.0.0",
|
||||||
|
"hashPath": "system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Runtime.Loader/4.3.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-DHMaRn8D8YCK2GG2pw+UzNxn/OHVfaWx7OTLBD/hPegHZZgcZh3H6seWegrC4BYwsfuGrywIuT+MQs+rPqRLTQ==",
|
||||||
|
"path": "system.runtime.loader/4.3.0",
|
||||||
|
"hashPath": "system.runtime.loader.4.3.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Security.Cryptography.ProtectedData/8.0.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-+TUFINV2q2ifyXauQXRwy4CiBhqvDEDZeVJU7qfxya4aRYOKzVBpN+4acx25VcPB9ywUN6C0n8drWl110PhZEg==",
|
||||||
|
"path": "system.security.cryptography.protecteddata/8.0.0",
|
||||||
|
"hashPath": "system.security.cryptography.protecteddata.8.0.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Security.Permissions/8.0.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-v/BBylw7XevuAsHXoX9dDUUfmBIcUf7Lkz8K3ZXIKz3YRKpw8YftpSir4n4e/jDTKFoaK37AsC3xnk+GNFI1Ow==",
|
||||||
|
"path": "system.security.permissions/8.0.0",
|
||||||
|
"hashPath": "system.security.permissions.8.0.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Text.Encoding/4.3.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-BiIg+KWaSDOITze6jGQynxg64naAPtqGHBwDrLaCtixsa5bKiR8dpPOHA7ge3C0JJQizJE+sfkz1wV+BAKAYZw==",
|
||||||
|
"path": "system.text.encoding/4.3.0",
|
||||||
|
"hashPath": "system.text.encoding.4.3.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Text.Encoding.CodePages/8.0.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-OZIsVplFGaVY90G2SbpgU7EnCoOO5pw1t4ic21dBF3/1omrJFpAGoNAVpPyMVOC90/hvgkGG3VFqR13YgZMQfg==",
|
||||||
|
"path": "system.text.encoding.codepages/8.0.0",
|
||||||
|
"hashPath": "system.text.encoding.codepages.8.0.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Text.Encodings.Web/8.0.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-yev/k9GHAEGx2Rg3/tU6MQh4HGBXJs70y7j1LaM1i/ER9po+6nnQ6RRqTJn1E7Xu0fbIFK80Nh5EoODxrbxwBQ==",
|
||||||
|
"path": "system.text.encodings.web/8.0.0",
|
||||||
|
"hashPath": "system.text.encodings.web.8.0.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Text.Json/8.0.4": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-bAkhgDJ88XTsqczoxEMliSrpijKZHhbJQldhAmObj/RbrN3sU5dcokuXmWJWsdQAhiMJ9bTayWsL1C9fbbCRhw==",
|
||||||
|
"path": "system.text.json/8.0.4",
|
||||||
|
"hashPath": "system.text.json.8.0.4.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Threading.Tasks/4.3.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-LbSxKEdOUhVe8BezB/9uOGGppt+nZf6e1VFyw6v3DN6lqitm0OSn2uXMOdtP0M3W4iMcqcivm2J6UgqiwwnXiA==",
|
||||||
|
"path": "system.threading.tasks/4.3.0",
|
||||||
|
"hashPath": "system.threading.tasks.4.3.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Threading.Tasks.Extensions/4.5.4": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-zteT+G8xuGu6mS+mzDzYXbzS7rd3K6Fjb9RiZlYlJPam2/hU7JCBZBVEcywNuR+oZ1ncTvc/cq0faRr3P01OVg==",
|
||||||
|
"path": "system.threading.tasks.extensions/4.5.4",
|
||||||
|
"hashPath": "system.threading.tasks.extensions.4.5.4.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"System.Windows.Extensions/8.0.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-Obg3a90MkOw9mYKxrardLpY2u0axDMrSmy4JCdq2cYbelM2cUwmUir5Bomvd1yxmPL9h5LVHU1tuKBZpUjfASg==",
|
||||||
|
"path": "system.windows.extensions/8.0.0",
|
||||||
|
"hashPath": "system.windows.extensions.8.0.0.nupkg.sha512"
|
||||||
|
},
|
||||||
|
"ZstdSharp.Port/0.8.0": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-Z62eNBIu8E8YtbqlMy57tK3dV1+m2b9NhPeaYovB5exmLKvrGCqOhJTzrEUH5VyUWU6vwX3c1XHJGhW5HVs8dA==",
|
||||||
|
"path": "zstdsharp.port/0.8.0",
|
||||||
|
"hashPath": "zstdsharp.port.0.8.0.nupkg.sha512"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"runtimeOptions": {
|
||||||
|
"tfm": "net8.0",
|
||||||
|
"framework": {
|
||||||
|
"name": "Microsoft.NETCore.App",
|
||||||
|
"version": "8.0.0"
|
||||||
|
},
|
||||||
|
"configProperties": {
|
||||||
|
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Executable
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Executable
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
@@ -0,0 +1,4 @@
|
|||||||
|
// <autogenerated />
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
//
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
|
||||||
|
[assembly: System.Reflection.AssemblyCompanyAttribute("HelloWorldApp")]
|
||||||
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||||
|
[assembly: System.Reflection.AssemblyProductAttribute("HelloWorldApp")]
|
||||||
|
[assembly: System.Reflection.AssemblyTitleAttribute("HelloWorldApp")]
|
||||||
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
|
||||||
|
// Generated by the MSBuild WriteCodeFragment class.
|
||||||
|
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
003353341e4a30310742078a9c6865c7ea7974d061508180b4a5410e9c229e02
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
is_global = true
|
||||||
|
build_property.TargetFramework = net8.0
|
||||||
|
build_property.TargetPlatformMinVersion =
|
||||||
|
build_property.UsingMicrosoftNETSdkWeb =
|
||||||
|
build_property.ProjectTypeGuids =
|
||||||
|
build_property.InvariantGlobalization =
|
||||||
|
build_property.PlatformNeutralAssembly =
|
||||||
|
build_property.EnforceExtendedAnalyzerRules =
|
||||||
|
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||||
|
build_property.RootNamespace = HelloWorldApp
|
||||||
|
build_property.ProjectDir = /home/arch/temp/HelloWorldApp/
|
||||||
|
build_property.EnableComHosting =
|
||||||
|
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
// <auto-generated/>
|
||||||
|
global using global::System;
|
||||||
|
global using global::System.Collections.Generic;
|
||||||
|
global using global::System.IO;
|
||||||
|
global using global::System.Linq;
|
||||||
|
global using global::System.Net.Http;
|
||||||
|
global using global::System.Threading;
|
||||||
|
global using global::System.Threading.Tasks;
|
||||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
c8491d19e58d63a58b98f129e4b6210788b01a41a3209d610a116e86fc972e35
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/HelloWorldApp
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/HelloWorldApp.deps.json
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/HelloWorldApp.runtimeconfig.json
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/HelloWorldApp.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/HelloWorldApp.pdb
|
||||||
|
/home/arch/temp/HelloWorldApp/obj/Debug/net8.0/HelloWorldApp.GeneratedMSBuildEditorConfig.editorconfig
|
||||||
|
/home/arch/temp/HelloWorldApp/obj/Debug/net8.0/HelloWorldApp.AssemblyInfoInputs.cache
|
||||||
|
/home/arch/temp/HelloWorldApp/obj/Debug/net8.0/HelloWorldApp.AssemblyInfo.cs
|
||||||
|
/home/arch/temp/HelloWorldApp/obj/Debug/net8.0/HelloWorldApp.csproj.CoreCompileInputs.cache
|
||||||
|
/home/arch/temp/HelloWorldApp/obj/Debug/net8.0/HelloWorldApp.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/obj/Debug/net8.0/refint/HelloWorldApp.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/obj/Debug/net8.0/HelloWorldApp.pdb
|
||||||
|
/home/arch/temp/HelloWorldApp/obj/Debug/net8.0/HelloWorldApp.genruntimeconfig.cache
|
||||||
|
/home/arch/temp/HelloWorldApp/obj/Debug/net8.0/ref/HelloWorldApp.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/BouncyCastle.Cryptography.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/Google.Protobuf.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/K4os.Compression.LZ4.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/K4os.Compression.LZ4.Streams.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/K4os.Hash.xxHash.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/MySql.Data.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/Newtonsoft.Json.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/System.Configuration.ConfigurationManager.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/System.Diagnostics.EventLog.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/System.IO.Pipelines.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/System.Security.Cryptography.ProtectedData.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/System.Security.Permissions.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/System.Windows.Extensions.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/ZstdSharp.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/runtimes/win-x64/native/comerr64.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/runtimes/win-x64/native/gssapi64.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/runtimes/win-x64/native/k5sprt64.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/runtimes/win-x64/native/krb5_64.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/runtimes/win-x64/native/krbcc64.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/runtimes/win/lib/net8.0/System.Diagnostics.EventLog.Messages.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/runtimes/win/lib/net8.0/System.Diagnostics.EventLog.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/runtimes/win/lib/net8.0/System.Windows.Extensions.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/obj/Debug/net8.0/HelloWorldApp.csproj.AssemblyReference.cache
|
||||||
|
/home/arch/temp/HelloWorldApp/obj/Debug/net8.0/HelloWorldApp.csproj.CopyComplete
|
||||||
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
349d85780636e3e61d35aee10e34ef55954b239c07ad0a356798a097ceae0148
|
||||||
Binary file not shown.
@@ -0,0 +1,22 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
//
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
|
||||||
|
[assembly: System.Reflection.AssemblyCompanyAttribute("TimelogBackend")]
|
||||||
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||||
|
[assembly: System.Reflection.AssemblyProductAttribute("TimelogBackend")]
|
||||||
|
[assembly: System.Reflection.AssemblyTitleAttribute("TimelogBackend")]
|
||||||
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
|
||||||
|
// Generated by the MSBuild WriteCodeFragment class.
|
||||||
|
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
4dc0d476a06a0877992a3936924b0e881bcf70b32aef70b9fa285a64b7d9395c
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
is_global = true
|
||||||
|
build_property.TargetFramework = net8.0
|
||||||
|
build_property.TargetPlatformMinVersion =
|
||||||
|
build_property.UsingMicrosoftNETSdkWeb =
|
||||||
|
build_property.ProjectTypeGuids =
|
||||||
|
build_property.InvariantGlobalization =
|
||||||
|
build_property.PlatformNeutralAssembly =
|
||||||
|
build_property.EnforceExtendedAnalyzerRules =
|
||||||
|
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||||
|
build_property.RootNamespace = TimelogBackend
|
||||||
|
build_property.ProjectDir = /home/arch/temp/HelloWorldApp/
|
||||||
|
build_property.EnableComHosting =
|
||||||
|
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
// <auto-generated/>
|
||||||
|
global using global::System;
|
||||||
|
global using global::System.Collections.Generic;
|
||||||
|
global using global::System.IO;
|
||||||
|
global using global::System.Linq;
|
||||||
|
global using global::System.Net.Http;
|
||||||
|
global using global::System.Threading;
|
||||||
|
global using global::System.Threading.Tasks;
|
||||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
a26e25722337c85065d06325a739b066cff412c2c9a8e669c741ff1bfb48e5f6
|
||||||
@@ -0,0 +1,38 @@
|
|||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/TimelogBackend
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/TimelogBackend.deps.json
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/TimelogBackend.runtimeconfig.json
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/TimelogBackend.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/TimelogBackend.pdb
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/BouncyCastle.Cryptography.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/Google.Protobuf.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/K4os.Compression.LZ4.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/K4os.Compression.LZ4.Streams.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/K4os.Hash.xxHash.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/MySql.Data.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/Newtonsoft.Json.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/System.Configuration.ConfigurationManager.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/System.Diagnostics.EventLog.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/System.IO.Pipelines.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/System.Security.Cryptography.ProtectedData.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/System.Security.Permissions.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/System.Windows.Extensions.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/ZstdSharp.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/runtimes/win-x64/native/comerr64.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/runtimes/win-x64/native/gssapi64.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/runtimes/win-x64/native/k5sprt64.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/runtimes/win-x64/native/krb5_64.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/runtimes/win-x64/native/krbcc64.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/runtimes/win/lib/net8.0/System.Diagnostics.EventLog.Messages.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/runtimes/win/lib/net8.0/System.Diagnostics.EventLog.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/bin/Debug/net8.0/runtimes/win/lib/net8.0/System.Windows.Extensions.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/obj/Debug/net8.0/TimelogBackend.csproj.AssemblyReference.cache
|
||||||
|
/home/arch/temp/HelloWorldApp/obj/Debug/net8.0/TimelogBackend.GeneratedMSBuildEditorConfig.editorconfig
|
||||||
|
/home/arch/temp/HelloWorldApp/obj/Debug/net8.0/TimelogBackend.AssemblyInfoInputs.cache
|
||||||
|
/home/arch/temp/HelloWorldApp/obj/Debug/net8.0/TimelogBackend.AssemblyInfo.cs
|
||||||
|
/home/arch/temp/HelloWorldApp/obj/Debug/net8.0/TimelogBackend.csproj.CoreCompileInputs.cache
|
||||||
|
/home/arch/temp/HelloWorldApp/obj/Debug/net8.0/TimelogBackend.csproj.CopyComplete
|
||||||
|
/home/arch/temp/HelloWorldApp/obj/Debug/net8.0/TimelogBackend.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/obj/Debug/net8.0/refint/TimelogBackend.dll
|
||||||
|
/home/arch/temp/HelloWorldApp/obj/Debug/net8.0/TimelogBackend.pdb
|
||||||
|
/home/arch/temp/HelloWorldApp/obj/Debug/net8.0/TimelogBackend.genruntimeconfig.cache
|
||||||
|
/home/arch/temp/HelloWorldApp/obj/Debug/net8.0/ref/TimelogBackend.dll
|
||||||
Binary file not shown.
@@ -0,0 +1 @@
|
|||||||
|
349d85780636e3e61d35aee10e34ef55954b239c07ad0a356798a097ceae0148
|
||||||
Binary file not shown.
Executable
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,77 @@
|
|||||||
|
{
|
||||||
|
"format": 1,
|
||||||
|
"restore": {
|
||||||
|
"/home/arch/temp/HelloWorldApp/HelloWorldApp.csproj": {}
|
||||||
|
},
|
||||||
|
"projects": {
|
||||||
|
"/home/arch/temp/HelloWorldApp/HelloWorldApp.csproj": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"restore": {
|
||||||
|
"projectUniqueName": "/home/arch/temp/HelloWorldApp/HelloWorldApp.csproj",
|
||||||
|
"projectName": "HelloWorldApp",
|
||||||
|
"projectPath": "/home/arch/temp/HelloWorldApp/HelloWorldApp.csproj",
|
||||||
|
"packagesPath": "/home/arch/.nuget/packages/",
|
||||||
|
"outputPath": "/home/arch/temp/HelloWorldApp/obj/",
|
||||||
|
"projectStyle": "PackageReference",
|
||||||
|
"configFilePaths": [
|
||||||
|
"/home/arch/.nuget/NuGet/NuGet.Config"
|
||||||
|
],
|
||||||
|
"originalTargetFrameworks": [
|
||||||
|
"net8.0"
|
||||||
|
],
|
||||||
|
"sources": {
|
||||||
|
"https://api.nuget.org/v3/index.json": {}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net8.0": {
|
||||||
|
"targetAlias": "net8.0",
|
||||||
|
"projectReferences": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"warningProperties": {
|
||||||
|
"warnAsError": [
|
||||||
|
"NU1605"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net8.0": {
|
||||||
|
"targetAlias": "net8.0",
|
||||||
|
"dependencies": {
|
||||||
|
"MySql.Data": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.0, )"
|
||||||
|
},
|
||||||
|
"Newtonsoft.Json": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[13.0.3, )"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"imports": [
|
||||||
|
"net461",
|
||||||
|
"net462",
|
||||||
|
"net47",
|
||||||
|
"net471",
|
||||||
|
"net472",
|
||||||
|
"net48",
|
||||||
|
"net481"
|
||||||
|
],
|
||||||
|
"assetTargetFallback": true,
|
||||||
|
"warn": true,
|
||||||
|
"downloadDependencies": [
|
||||||
|
{
|
||||||
|
"name": "Microsoft.AspNetCore.App.Ref",
|
||||||
|
"version": "[8.0.10, 8.0.10]"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"frameworkReferences": {
|
||||||
|
"Microsoft.NETCore.App": {
|
||||||
|
"privateAssets": "all"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/8.0.110/PortableRuntimeIdentifierGraph.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||||
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
|
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||||
|
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||||
|
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||||
|
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/arch/.nuget/packages/</NuGetPackageRoot>
|
||||||
|
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/arch/.nuget/packages/</NuGetPackageFolders>
|
||||||
|
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||||
|
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.8.1</NuGetToolVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
|
<SourceRoot Include="/home/arch/.nuget/packages/" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||||
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
|
<Import Project="$(NuGetPackageRoot)system.text.json/8.0.4/buildTransitive/net6.0/System.Text.Json.targets" Condition="Exists('$(NuGetPackageRoot)system.text.json/8.0.4/buildTransitive/net6.0/System.Text.Json.targets')" />
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,77 @@
|
|||||||
|
{
|
||||||
|
"format": 1,
|
||||||
|
"restore": {
|
||||||
|
"/home/arch/temp/HelloWorldApp/TimelogBackend.csproj": {}
|
||||||
|
},
|
||||||
|
"projects": {
|
||||||
|
"/home/arch/temp/HelloWorldApp/TimelogBackend.csproj": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"restore": {
|
||||||
|
"projectUniqueName": "/home/arch/temp/HelloWorldApp/TimelogBackend.csproj",
|
||||||
|
"projectName": "TimelogBackend",
|
||||||
|
"projectPath": "/home/arch/temp/HelloWorldApp/TimelogBackend.csproj",
|
||||||
|
"packagesPath": "/home/arch/.nuget/packages/",
|
||||||
|
"outputPath": "/home/arch/temp/HelloWorldApp/obj/",
|
||||||
|
"projectStyle": "PackageReference",
|
||||||
|
"configFilePaths": [
|
||||||
|
"/home/arch/.nuget/NuGet/NuGet.Config"
|
||||||
|
],
|
||||||
|
"originalTargetFrameworks": [
|
||||||
|
"net8.0"
|
||||||
|
],
|
||||||
|
"sources": {
|
||||||
|
"https://api.nuget.org/v3/index.json": {}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net8.0": {
|
||||||
|
"targetAlias": "net8.0",
|
||||||
|
"projectReferences": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"warningProperties": {
|
||||||
|
"warnAsError": [
|
||||||
|
"NU1605"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net8.0": {
|
||||||
|
"targetAlias": "net8.0",
|
||||||
|
"dependencies": {
|
||||||
|
"MySql.Data": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[9.1.0, )"
|
||||||
|
},
|
||||||
|
"Newtonsoft.Json": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[13.0.3, )"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"imports": [
|
||||||
|
"net461",
|
||||||
|
"net462",
|
||||||
|
"net47",
|
||||||
|
"net471",
|
||||||
|
"net472",
|
||||||
|
"net48",
|
||||||
|
"net481"
|
||||||
|
],
|
||||||
|
"assetTargetFallback": true,
|
||||||
|
"warn": true,
|
||||||
|
"downloadDependencies": [
|
||||||
|
{
|
||||||
|
"name": "Microsoft.AspNetCore.App.Ref",
|
||||||
|
"version": "[8.0.10, 8.0.10]"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"frameworkReferences": {
|
||||||
|
"Microsoft.NETCore.App": {
|
||||||
|
"privateAssets": "all"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/8.0.110/PortableRuntimeIdentifierGraph.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||||
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
|
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||||
|
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||||
|
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||||
|
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/arch/.nuget/packages/</NuGetPackageRoot>
|
||||||
|
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/arch/.nuget/packages/</NuGetPackageFolders>
|
||||||
|
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||||
|
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.8.1</NuGetToolVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
|
<SourceRoot Include="/home/arch/.nuget/packages/" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||||
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
|
<Import Project="$(NuGetPackageRoot)system.text.json/8.0.4/buildTransitive/net6.0/System.Text.Json.targets" Condition="Exists('$(NuGetPackageRoot)system.text.json/8.0.4/buildTransitive/net6.0/System.Text.Json.targets')" />
|
||||||
|
</ImportGroup>
|
||||||
|
</Project>
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,40 @@
|
|||||||
|
{
|
||||||
|
"version": 2,
|
||||||
|
"dgSpecHash": "p6MNaUN/SYJSFf9M574e8kcv9EqEwjPgKKmmL1309Lwqd26TTBeTctoKZziGbcJiysFehsYg0kxDJKBlru2uCA==",
|
||||||
|
"success": true,
|
||||||
|
"projectFilePath": "/home/arch/temp/HelloWorldApp/TimelogBackend.csproj",
|
||||||
|
"expectedPackageFiles": [
|
||||||
|
"/home/arch/.nuget/packages/bouncycastle.cryptography/2.3.1/bouncycastle.cryptography.2.3.1.nupkg.sha512",
|
||||||
|
"/home/arch/.nuget/packages/google.protobuf/3.26.1/google.protobuf.3.26.1.nupkg.sha512",
|
||||||
|
"/home/arch/.nuget/packages/k4os.compression.lz4/1.3.8/k4os.compression.lz4.1.3.8.nupkg.sha512",
|
||||||
|
"/home/arch/.nuget/packages/k4os.compression.lz4.streams/1.3.8/k4os.compression.lz4.streams.1.3.8.nupkg.sha512",
|
||||||
|
"/home/arch/.nuget/packages/k4os.hash.xxhash/1.0.8/k4os.hash.xxhash.1.0.8.nupkg.sha512",
|
||||||
|
"/home/arch/.nuget/packages/microsoft.netcore.platforms/1.1.0/microsoft.netcore.platforms.1.1.0.nupkg.sha512",
|
||||||
|
"/home/arch/.nuget/packages/microsoft.netcore.targets/1.1.0/microsoft.netcore.targets.1.1.0.nupkg.sha512",
|
||||||
|
"/home/arch/.nuget/packages/mysql.data/9.1.0/mysql.data.9.1.0.nupkg.sha512",
|
||||||
|
"/home/arch/.nuget/packages/newtonsoft.json/13.0.3/newtonsoft.json.13.0.3.nupkg.sha512",
|
||||||
|
"/home/arch/.nuget/packages/system.buffers/4.5.1/system.buffers.4.5.1.nupkg.sha512",
|
||||||
|
"/home/arch/.nuget/packages/system.configuration.configurationmanager/8.0.0/system.configuration.configurationmanager.8.0.0.nupkg.sha512",
|
||||||
|
"/home/arch/.nuget/packages/system.diagnostics.diagnosticsource/8.0.1/system.diagnostics.diagnosticsource.8.0.1.nupkg.sha512",
|
||||||
|
"/home/arch/.nuget/packages/system.diagnostics.eventlog/8.0.0/system.diagnostics.eventlog.8.0.0.nupkg.sha512",
|
||||||
|
"/home/arch/.nuget/packages/system.io/4.3.0/system.io.4.3.0.nupkg.sha512",
|
||||||
|
"/home/arch/.nuget/packages/system.io.pipelines/6.0.3/system.io.pipelines.6.0.3.nupkg.sha512",
|
||||||
|
"/home/arch/.nuget/packages/system.reflection/4.3.0/system.reflection.4.3.0.nupkg.sha512",
|
||||||
|
"/home/arch/.nuget/packages/system.reflection.primitives/4.3.0/system.reflection.primitives.4.3.0.nupkg.sha512",
|
||||||
|
"/home/arch/.nuget/packages/system.runtime/4.3.0/system.runtime.4.3.0.nupkg.sha512",
|
||||||
|
"/home/arch/.nuget/packages/system.runtime.compilerservices.unsafe/6.0.0/system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512",
|
||||||
|
"/home/arch/.nuget/packages/system.runtime.loader/4.3.0/system.runtime.loader.4.3.0.nupkg.sha512",
|
||||||
|
"/home/arch/.nuget/packages/system.security.cryptography.protecteddata/8.0.0/system.security.cryptography.protecteddata.8.0.0.nupkg.sha512",
|
||||||
|
"/home/arch/.nuget/packages/system.security.permissions/8.0.0/system.security.permissions.8.0.0.nupkg.sha512",
|
||||||
|
"/home/arch/.nuget/packages/system.text.encoding/4.3.0/system.text.encoding.4.3.0.nupkg.sha512",
|
||||||
|
"/home/arch/.nuget/packages/system.text.encoding.codepages/8.0.0/system.text.encoding.codepages.8.0.0.nupkg.sha512",
|
||||||
|
"/home/arch/.nuget/packages/system.text.encodings.web/8.0.0/system.text.encodings.web.8.0.0.nupkg.sha512",
|
||||||
|
"/home/arch/.nuget/packages/system.text.json/8.0.4/system.text.json.8.0.4.nupkg.sha512",
|
||||||
|
"/home/arch/.nuget/packages/system.threading.tasks/4.3.0/system.threading.tasks.4.3.0.nupkg.sha512",
|
||||||
|
"/home/arch/.nuget/packages/system.threading.tasks.extensions/4.5.4/system.threading.tasks.extensions.4.5.4.nupkg.sha512",
|
||||||
|
"/home/arch/.nuget/packages/system.windows.extensions/8.0.0/system.windows.extensions.8.0.0.nupkg.sha512",
|
||||||
|
"/home/arch/.nuget/packages/zstdsharp.port/0.8.0/zstdsharp.port.0.8.0.nupkg.sha512",
|
||||||
|
"/home/arch/.nuget/packages/microsoft.aspnetcore.app.ref/8.0.10/microsoft.aspnetcore.app.ref.8.0.10.nupkg.sha512"
|
||||||
|
],
|
||||||
|
"logs": []
|
||||||
|
}
|
||||||
@@ -2,15 +2,17 @@ import "./App.css";
|
|||||||
import LeftSide from "./components/LeftSide";
|
import LeftSide from "./components/LeftSide";
|
||||||
import RightSide from "./components/RightSide";
|
import RightSide from "./components/RightSide";
|
||||||
import Grid from "@mui/material/Grid2";
|
import Grid from "@mui/material/Grid2";
|
||||||
|
import { useState } from "react";
|
||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
|
const [reset, setReset] = useState(true);
|
||||||
return (
|
return (
|
||||||
<Grid container spacing={2}>
|
<Grid container spacing={2}>
|
||||||
<Grid size={6}>
|
<Grid size={6}>
|
||||||
<LeftSide />
|
<LeftSide reset={reset} setReset={setReset} />
|
||||||
</Grid>
|
</Grid>
|
||||||
<Grid size={6}>
|
<Grid size={6}>
|
||||||
<RightSide />
|
<RightSide reset={reset} />
|
||||||
</Grid>
|
</Grid>
|
||||||
</Grid>
|
</Grid>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -9,12 +9,12 @@ import {
|
|||||||
Table,
|
Table,
|
||||||
} from "@mui/material";
|
} from "@mui/material";
|
||||||
|
|
||||||
const LeftSide = () => {
|
const LeftSide = ({ reset, setReset }) => {
|
||||||
// next prev and sort
|
// next prev and sort
|
||||||
const [users, setUsers] = useState();
|
const [users, setUsers] = useState();
|
||||||
const [params, setParams] = useState({ offset: 0, sortby: "f_name" });
|
const [params, setParams] = useState({ offset: 0, sortby: "f_name" });
|
||||||
// reset button
|
// reset button
|
||||||
const [reset, setReset] = useState(true);
|
// const [reset, setReset] = useState(true);
|
||||||
|
|
||||||
// date
|
// date
|
||||||
const [date, setDate] = useState({ from: "2021-01-01", to: "2028-01-01" });
|
const [date, setDate] = useState({ from: "2021-01-01", to: "2028-01-01" });
|
||||||
@@ -37,15 +37,17 @@ const LeftSide = () => {
|
|||||||
setReset(true);
|
setReset(true);
|
||||||
resetData();
|
resetData();
|
||||||
}
|
}
|
||||||
|
|
||||||
fetchData();
|
fetchData();
|
||||||
}, [reset, params, dateToSubmit]);
|
}, [reset, params, dateToSubmit]);
|
||||||
|
|
||||||
const viewProjectHours = (user) => {
|
const viewProjectHours = (user) => {
|
||||||
async function fetchHours() {
|
async function fetchHours() {
|
||||||
const resp = await api.get("/getUser", {
|
const resp = await api.get("/getuser", {
|
||||||
params: { userid: user },
|
params: { userid: user },
|
||||||
});
|
});
|
||||||
const entriesArray = Object.entries(resp.data);
|
// const entriesArray = Object.entries(resp.data);
|
||||||
|
const entriesArray = Object.entries(resp.data.Fields);
|
||||||
alert(entriesArray);
|
alert(entriesArray);
|
||||||
}
|
}
|
||||||
fetchHours();
|
fetchHours();
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ import { useEffect, useState } from "react";
|
|||||||
import api from "../utils/api";
|
import api from "../utils/api";
|
||||||
import { Chart } from "react-google-charts";
|
import { Chart } from "react-google-charts";
|
||||||
|
|
||||||
const RightSide = () => {
|
const RightSide = (reset) => {
|
||||||
// graph date
|
// graph date
|
||||||
const [topten, setTopten] = useState({
|
const [topten, setTopten] = useState({
|
||||||
from: "2000-01-01",
|
from: "2000-01-01",
|
||||||
@@ -10,7 +10,10 @@ const RightSide = () => {
|
|||||||
});
|
});
|
||||||
// date input field
|
// date input field
|
||||||
const [date, setDate] = useState({ from: "2000-01-01", to: "2100-01-01" });
|
const [date, setDate] = useState({ from: "2000-01-01", to: "2100-01-01" });
|
||||||
const [dateToSubmit, setDateToSubmit] = useState({});
|
const [dateToSubmit, setDateToSubmit] = useState({
|
||||||
|
from: "2000-01-01",
|
||||||
|
to: "2100-01-01",
|
||||||
|
});
|
||||||
// radio button
|
// radio button
|
||||||
const [selectedOption, setSelectedOption] = useState("project");
|
const [selectedOption, setSelectedOption] = useState("project");
|
||||||
|
|
||||||
@@ -39,7 +42,7 @@ const RightSide = () => {
|
|||||||
setTopten(resp.data);
|
setTopten(resp.data);
|
||||||
}
|
}
|
||||||
fetchData();
|
fetchData();
|
||||||
}, [dateToSubmit, selectedOption]);
|
}, [dateToSubmit, selectedOption, reset]);
|
||||||
|
|
||||||
// Chart options
|
// Chart options
|
||||||
const options = {
|
const options = {
|
||||||
|
|||||||
Reference in New Issue
Block a user