diff --git a/CartriX.Agent/CartriX.Agent.csproj b/CartriX.Agent/CartriX.Agent.csproj deleted file mode 100644 index 7ef769d..0000000 --- a/CartriX.Agent/CartriX.Agent.csproj +++ /dev/null @@ -1,13 +0,0 @@ - - - - net10.0 - enable - enable - dotnet-CartriX.Agent-e90b76ec-82d1-42bf-a077-93e1e65a830a - - - - - - diff --git a/CartriX.Agent/Program.cs b/CartriX.Agent/Program.cs deleted file mode 100644 index e0b3f86..0000000 --- a/CartriX.Agent/Program.cs +++ /dev/null @@ -1,14 +0,0 @@ -namespace CartriX.Agent -{ - public class Program - { - public static void Main(string[] args) - { - var builder = Host.CreateApplicationBuilder(args); - builder.Services.AddHostedService(); - - var host = builder.Build(); - host.Run(); - } - } -} diff --git a/CartriX.Agent/Properties/launchSettings.json b/CartriX.Agent/Properties/launchSettings.json deleted file mode 100644 index 57f6082..0000000 --- a/CartriX.Agent/Properties/launchSettings.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "$schema": "https://json.schemastore.org/launchsettings.json", - "profiles": { - "CartriX.Agent": { - "commandName": "Project", - "dotnetRunMessages": true, - "environmentVariables": { - "DOTNET_ENVIRONMENT": "Development" - } - } - } -} diff --git a/CartriX.Agent/Worker.cs b/CartriX.Agent/Worker.cs deleted file mode 100644 index a34460a..0000000 --- a/CartriX.Agent/Worker.cs +++ /dev/null @@ -1,17 +0,0 @@ -namespace CartriX.Agent -{ - public class Worker(ILogger logger) : BackgroundService - { - protected override async Task ExecuteAsync(CancellationToken stoppingToken) - { - while (!stoppingToken.IsCancellationRequested) - { - if (logger.IsEnabled(LogLevel.Information)) - { - logger.LogInformation("Worker running at: {time}", DateTimeOffset.Now); - } - await Task.Delay(1000, stoppingToken); - } - } - } -} diff --git a/CartriX.Agent/appsettings.Development.json b/CartriX.Agent/appsettings.Development.json deleted file mode 100644 index b2dcdb6..0000000 --- a/CartriX.Agent/appsettings.Development.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft.Hosting.Lifetime": "Information" - } - } -} diff --git a/CartriX.Agent/appsettings.json b/CartriX.Agent/appsettings.json deleted file mode 100644 index b2dcdb6..0000000 --- a/CartriX.Agent/appsettings.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft.Hosting.Lifetime": "Information" - } - } -} diff --git a/CartriX.Server/CartriX.Server.csproj b/CartriX.Server/CartriX.Server.csproj deleted file mode 100644 index 0c3ee7a..0000000 --- a/CartriX.Server/CartriX.Server.csproj +++ /dev/null @@ -1,14 +0,0 @@ - - - - net10.0 - true - enable - enable - - - - - - - diff --git a/CartriX.Server/Program.cs b/CartriX.Server/Program.cs deleted file mode 100644 index 730add4..0000000 --- a/CartriX.Server/Program.cs +++ /dev/null @@ -1,15 +0,0 @@ -namespace CartriX.Server -{ - public class Program - { - public static void Main(string[] args) - { - var builder = WebApplication.CreateBuilder(args); - var app = builder.Build(); - - app.MapGet("/", () => "Hello World!"); - - app.Run(); - } - } -} diff --git a/CartriX.Server/Properties/launchSettings.json b/CartriX.Server/Properties/launchSettings.json deleted file mode 100644 index bb3e558..0000000 --- a/CartriX.Server/Properties/launchSettings.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "$schema": "https://json.schemastore.org/launchsettings.json", - "profiles": { - "http": { - "commandName": "Project", - "dotnetRunMessages": true, - "launchBrowser": true, - "applicationUrl": "http://localhost:5266", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - }, - "https": { - "commandName": "Project", - "dotnetRunMessages": true, - "launchBrowser": true, - "applicationUrl": "https://localhost:7112;http://localhost:5266", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - } - } -} diff --git a/CartriX.Server/appsettings.Development.json b/CartriX.Server/appsettings.Development.json deleted file mode 100644 index 0c208ae..0000000 --- a/CartriX.Server/appsettings.Development.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft.AspNetCore": "Warning" - } - } -} diff --git a/CartriX.Server/appsettings.json b/CartriX.Server/appsettings.json deleted file mode 100644 index 10f68b8..0000000 --- a/CartriX.Server/appsettings.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft.AspNetCore": "Warning" - } - }, - "AllowedHosts": "*" -} diff --git a/CartriX.Shared/CartriX.Shared.csproj b/CartriX.Shared/CartriX.Shared.csproj deleted file mode 100644 index b760144..0000000 --- a/CartriX.Shared/CartriX.Shared.csproj +++ /dev/null @@ -1,9 +0,0 @@ - - - - net10.0 - enable - enable - - - diff --git a/CartriX.Shared/Models/Printer.cs b/CartriX.Shared/Models/Printer.cs deleted file mode 100644 index e0bdcc9..0000000 --- a/CartriX.Shared/Models/Printer.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Text; - -namespace CartriX.Shared.Models -{ - public class Printer - { - - } -} diff --git a/CartriX.sln b/CartriX.sln new file mode 100644 index 0000000..31d1fec --- /dev/null +++ b/CartriX.sln @@ -0,0 +1,36 @@ +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.5.2.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CartriX.Server", "CartriX.Server\CartriX.Server.csproj", "{927C5334-796B-3E7D-2A2E-88E22985C85A}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CartriX.Agent", "CartriX.Agent\CartriX.Agent.csproj", "{1287CBBA-C5D5-BAF1-DE9E-B210FF6E8030}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CartriX.Shared", "CartriX.Shared\CartriX.Shared.csproj", "{7A9D6237-FC00-4834-EBA1-6E5943B0DBC7}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {927C5334-796B-3E7D-2A2E-88E22985C85A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {927C5334-796B-3E7D-2A2E-88E22985C85A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {927C5334-796B-3E7D-2A2E-88E22985C85A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {927C5334-796B-3E7D-2A2E-88E22985C85A}.Release|Any CPU.Build.0 = Release|Any CPU + {1287CBBA-C5D5-BAF1-DE9E-B210FF6E8030}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {1287CBBA-C5D5-BAF1-DE9E-B210FF6E8030}.Debug|Any CPU.Build.0 = Debug|Any CPU + {1287CBBA-C5D5-BAF1-DE9E-B210FF6E8030}.Release|Any CPU.ActiveCfg = Release|Any CPU + {1287CBBA-C5D5-BAF1-DE9E-B210FF6E8030}.Release|Any CPU.Build.0 = Release|Any CPU + {7A9D6237-FC00-4834-EBA1-6E5943B0DBC7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {7A9D6237-FC00-4834-EBA1-6E5943B0DBC7}.Debug|Any CPU.Build.0 = Debug|Any CPU + {7A9D6237-FC00-4834-EBA1-6E5943B0DBC7}.Release|Any CPU.ActiveCfg = Release|Any CPU + {7A9D6237-FC00-4834-EBA1-6E5943B0DBC7}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {93B826F5-FFC8-4BEE-9A8E-DB7605222585} + EndGlobalSection +EndGlobal