From 5ec25b3c8f067a5c8c5186283ee381e850edb805 Mon Sep 17 00:00:00 2001 From: Sjory Date: Sun, 5 Jan 2025 16:46:09 +0100 Subject: changed from Client side to server side interactivity deleted all client models and pages and changed the create drinks page to be on the home page on the server this made it a lot easier to get the data since we omitted the api and the server interactivity works great since its only forms and no fance animations rendering --- .../.vs/ProjectEvaluation/website.metadata.v9.bin | Bin 1535 -> 1910 bytes .../.vs/ProjectEvaluation/website.projects.v9.bin | Bin 69342 -> 71184 bytes .../.vs/ProjectEvaluation/website.strings.v9.bin | Bin 169857 -> 180888 bytes .../CopilotIndices/17.12.31.40377/CodeChunks.db | Bin 135168 -> 147456 bytes .../17.12.31.40377/SemanticSymbols.db | Bin 36864 -> 45056 bytes .../17.12.31.40377/SemanticSymbols.db-shm | Bin 32768 -> 32768 bytes .../17.12.31.40377/SemanticSymbols.db-wal | Bin 4128272 -> 4128272 bytes Website/.vs/Website/DesignTimeBuild/.dtbcache.v2 | Bin 218571 -> 218571 bytes .../395a847e-13a2-45dc-aeba-d296d03b7b26.vsidx | Bin 107 -> 0 bytes .../4c4c4032-f65a-46db-9ad3-d6f05956b119.vsidx | Bin 107 -> 0 bytes .../52718c8e-b829-42c0-851b-07d6bf105a76.vsidx | Bin 0 -> 107 bytes .../916a3692-1a05-4b6b-92ed-3caa25cc59d6.vsidx | Bin 107 -> 0 bytes .../b15117df-7992-48c0-a78a-b49c6ebb0dc6.vsidx | Bin 0 -> 2242 bytes .../f3d450e6-142c-4019-964b-82473bbf5fd4.vsidx | Bin 0 -> 265462 bytes .../fa47197c-a224-4d9e-8c75-e745e85f5a62.vsidx | Bin 262287 -> 0 bytes .../ffc77cf7-204d-40e9-8b31-f5b263bd84b2.vsidx | Bin 0 -> 2972 bytes Website/.vs/Website/config/applicationhost.config | 4 +- .../sessions/99194014-349d-4776-850e-b365b3c58e45 | Bin 0 -> 10513 bytes .../sessions/cc2243c5-aa6b-4d95-8a3b-dd62eb397baa | Bin 194891 -> 0 bytes Website/.vs/Website/v17/.futdcache.v2 | Bin 566 -> 566 bytes Website/.vs/Website/v17/.suo | Bin 98304 -> 126464 bytes Website/.vs/Website/v17/DocumentLayout.backup.json | 349 +- Website/.vs/Website/v17/DocumentLayout.json | 349 +- Website/Website.Client/Models/Alcohol.cs | 9 - Website/Website.Client/Models/Drink.cs | 10 - Website/Website.Client/Models/Liquid.cs | 8 - Website/Website.Client/Pages/CreateDrink.razor | 127 - Website/Website.Client/Program.cs | 7 +- .../Website.Client/Services/DrinkDataService2.cs | 31 - Website/Website.Client/Website.Client.csproj | 4 + .../bin/Debug/net8.0/Website.Client.dll | Bin 23040 -> 7168 bytes .../bin/Debug/net8.0/Website.Client.pdb | Bin 20724 -> 13744 bytes .../Website.Client.staticwebassets.endpoints.json | 1286 ++--- .../Website.Client.staticwebassets.runtime.json | 2 +- .../net8.0/wwwroot/_framework/Website.Client.pdb | Bin 20724 -> 13744 bytes .../wwwroot/_framework/Website.Client.pdb.gz | Bin 13499 -> 8169 bytes .../net8.0/wwwroot/_framework/Website.Client.wasm | Bin 22805 -> 6933 bytes .../wwwroot/_framework/Website.Client.wasm.gz | Bin 9466 -> 3194 bytes .../net8.0/wwwroot/_framework/blazor.boot.json | 6 +- .../net8.0/wwwroot/_framework/blazor.boot.json.gz | Bin 8906 -> 8908 bytes .../Debug/net8.0/Website.Client.AssemblyInfo.cs | 2 +- .../net8.0/Website.Client.AssemblyInfoInputs.cache | 2 +- ...lient.GeneratedMSBuildEditorConfig.editorconfig | 10 +- .../obj/Debug/net8.0/Website.Client.assets.cache | Bin 17156 -> 17156 bytes .../Website.Client.csproj.CoreCompileInputs.cache | 2 +- .../Website.Client.csproj.FileListAbsolute.txt | 6 +- .../obj/Debug/net8.0/Website.Client.dll | Bin 23040 -> 7168 bytes .../obj/Debug/net8.0/Website.Client.pdb | Bin 20724 -> 13744 bytes .../Debug/net8.0/Website.Client.sourcelink.json | 2 +- .../obj/Debug/net8.0/blazor.boot.json | 6 +- .../net8.0/compressed/06xhlk2478-38c86zjpt3.gz | Bin 0 -> 3194 bytes .../net8.0/compressed/06xhlk2478-otbuzr0tn8.gz | Bin 9369 -> 0 bytes .../net8.0/compressed/306m1unmgj-b75bwzocai.gz | Bin 0 -> 8169 bytes .../net8.0/compressed/306m1unmgj-fkqd08h59l.gz | Bin 13518 -> 0 bytes .../net8.0/compressed/gai494obq8-8e9ellgouk.gz | Bin 8905 -> 0 bytes .../net8.0/compressed/gai494obq8-gxbcone546.gz | Bin 0 -> 8908 bytes .../obj/Debug/net8.0/ref/Website.Client.dll | Bin 10240 -> 6656 bytes .../obj/Debug/net8.0/refint/Website.Client.dll | Bin 10240 -> 6656 bytes .../net8.0/staticwebassets.build.endpoints.json | 1286 ++--- .../obj/Debug/net8.0/staticwebassets.build.json | 5404 +++++++++---------- .../Debug/net8.0/staticwebassets.development.json | 2 +- .../obj/Debug/net8.0/staticwebassets.pack.json | 6 +- ...rosoft.AspNetCore.StaticWebAssetEndpoints.props | 8 +- .../Debug/net8.0/tmp-webcil/Website.Client.wasm | Bin 22805 -> 6933 bytes .../obj/Debug/net8.0/webcil/Website.Client.wasm | Bin 22805 -> 6933 bytes .../obj/Website.Client.csproj.nuget.dgspec.json | 14 +- .../obj/Website.Client.csproj.nuget.g.props | 2 +- Website/Website.Client/obj/project.assets.json | 10 +- Website/Website.Client/obj/project.nuget.cache | 4 +- Website/Website/Components/Pages/Home.razor | 142 +- Website/Website/Controllers/DrinksController.cs | 34 - Website/Website/Models/Alcohol.cs | 9 + Website/Website/Models/Drink.cs | 10 + Website/Website/Models/Liquid.cs | 8 + Website/Website/Program.cs | 2 +- Website/Website/Services/DrinkDataService.cs | 18 +- Website/Website/Services/DrinkService.cs | 26 +- Website/Website/Website.csproj | 5 +- .../Website/bin/Debug/net8.0/Newtonsoft.Json.dll | Bin 0 -> 712464 bytes .../Website/bin/Debug/net8.0/Website.Client.dll | Bin 23040 -> 7168 bytes .../Website/bin/Debug/net8.0/Website.Client.pdb | Bin 20724 -> 13744 bytes .../Website.Client.staticwebassets.endpoints.json | 1286 ++--- .../Website.Client.staticwebassets.runtime.json | 2 +- Website/Website/bin/Debug/net8.0/Website.deps.json | 16 + Website/Website/bin/Debug/net8.0/Website.dll | Bin 28160 -> 40448 bytes Website/Website/bin/Debug/net8.0/Website.exe | Bin 138752 -> 138752 bytes Website/Website/bin/Debug/net8.0/Website.pdb | Bin 35228 -> 40756 bytes .../net8.0/Website.staticwebassets.endpoints.json | 1412 ++--- .../net8.0/Website.staticwebassets.runtime.json | 2 +- Website/Website/obj/Debug/net8.0/ApiEndpoints.json | 23 +- .../obj/Debug/net8.0/Website.AssemblyInfo.cs | 2 +- .../Debug/net8.0/Website.AssemblyInfoInputs.cache | 2 +- ...bsite.GeneratedMSBuildEditorConfig.editorconfig | 20 +- .../Website/obj/Debug/net8.0/Website.assets.cache | Bin 17293 -> 17863 bytes .../net8.0/Website.csproj.AssemblyReference.cache | Bin 3684 -> 3711 bytes .../net8.0/Website.csproj.CoreCompileInputs.cache | 2 +- .../net8.0/Website.csproj.FileListAbsolute.txt | 1 + Website/Website/obj/Debug/net8.0/Website.dll | Bin 28160 -> 40448 bytes .../Debug/net8.0/Website.genruntimeconfig.cache | 2 +- Website/Website/obj/Debug/net8.0/Website.pdb | Bin 35228 -> 40756 bytes .../obj/Debug/net8.0/Website.sourcelink.json | 2 +- Website/Website/obj/Debug/net8.0/apphost.exe | Bin 138752 -> 138752 bytes Website/Website/obj/Debug/net8.0/ref/Website.dll | Bin 10240 -> 11776 bytes .../Website/obj/Debug/net8.0/refint/Website.dll | Bin 10240 -> 11776 bytes .../net8.0/staticwebassets.build.endpoints.json | 1412 ++--- .../obj/Debug/net8.0/staticwebassets.build.json | 5661 ++++++++++---------- .../Debug/net8.0/staticwebassets.development.json | 2 +- .../obj/Debug/net8.0/staticwebassets.pack.json | 18 +- .../staticwebassets.references.upToDateCheck.txt | 10 + .../Debug/net8.0/staticwebassets.upToDateCheck.txt | 1 + ...rosoft.AspNetCore.StaticWebAssetEndpoints.props | 46 +- ...site.Microsoft.AspNetCore.StaticWebAssets.props | 22 +- .../Website/obj/Website.csproj.nuget.dgspec.json | 34 +- Website/Website/obj/Website.csproj.nuget.g.props | 2 +- Website/Website/obj/project.assets.json | 62 +- Website/Website/obj/project.nuget.cache | 5 +- Website/Website/wwwroot/data/Drinks.json | 65 + 117 files changed, 10047 insertions(+), 9277 deletions(-) delete mode 100644 Website/.vs/Website/FileContentIndex/395a847e-13a2-45dc-aeba-d296d03b7b26.vsidx delete mode 100644 Website/.vs/Website/FileContentIndex/4c4c4032-f65a-46db-9ad3-d6f05956b119.vsidx create mode 100644 Website/.vs/Website/FileContentIndex/52718c8e-b829-42c0-851b-07d6bf105a76.vsidx delete mode 100644 Website/.vs/Website/FileContentIndex/916a3692-1a05-4b6b-92ed-3caa25cc59d6.vsidx create mode 100644 Website/.vs/Website/FileContentIndex/b15117df-7992-48c0-a78a-b49c6ebb0dc6.vsidx create mode 100644 Website/.vs/Website/FileContentIndex/f3d450e6-142c-4019-964b-82473bbf5fd4.vsidx delete mode 100644 Website/.vs/Website/FileContentIndex/fa47197c-a224-4d9e-8c75-e745e85f5a62.vsidx create mode 100644 Website/.vs/Website/FileContentIndex/ffc77cf7-204d-40e9-8b31-f5b263bd84b2.vsidx create mode 100644 Website/.vs/Website/copilot-chat/cf23d55a/sessions/99194014-349d-4776-850e-b365b3c58e45 delete mode 100644 Website/.vs/Website/copilot-chat/cf23d55a/sessions/cc2243c5-aa6b-4d95-8a3b-dd62eb397baa delete mode 100644 Website/Website.Client/Models/Alcohol.cs delete mode 100644 Website/Website.Client/Models/Drink.cs delete mode 100644 Website/Website.Client/Models/Liquid.cs delete mode 100644 Website/Website.Client/Pages/CreateDrink.razor delete mode 100644 Website/Website.Client/Services/DrinkDataService2.cs create mode 100644 Website/Website.Client/obj/Debug/net8.0/compressed/06xhlk2478-38c86zjpt3.gz delete mode 100644 Website/Website.Client/obj/Debug/net8.0/compressed/06xhlk2478-otbuzr0tn8.gz create mode 100644 Website/Website.Client/obj/Debug/net8.0/compressed/306m1unmgj-b75bwzocai.gz delete mode 100644 Website/Website.Client/obj/Debug/net8.0/compressed/306m1unmgj-fkqd08h59l.gz delete mode 100644 Website/Website.Client/obj/Debug/net8.0/compressed/gai494obq8-8e9ellgouk.gz create mode 100644 Website/Website.Client/obj/Debug/net8.0/compressed/gai494obq8-gxbcone546.gz delete mode 100644 Website/Website/Controllers/DrinksController.cs create mode 100644 Website/Website/Models/Alcohol.cs create mode 100644 Website/Website/Models/Drink.cs create mode 100644 Website/Website/Models/Liquid.cs create mode 100644 Website/Website/bin/Debug/net8.0/Newtonsoft.Json.dll create mode 100644 Website/Website/wwwroot/data/Drinks.json diff --git a/Website/.vs/ProjectEvaluation/website.metadata.v9.bin b/Website/.vs/ProjectEvaluation/website.metadata.v9.bin index 26bcf5e..8a6efd5 100644 Binary files a/Website/.vs/ProjectEvaluation/website.metadata.v9.bin and b/Website/.vs/ProjectEvaluation/website.metadata.v9.bin differ diff --git a/Website/.vs/ProjectEvaluation/website.projects.v9.bin b/Website/.vs/ProjectEvaluation/website.projects.v9.bin index 291dea9..d7ac5b1 100644 Binary files a/Website/.vs/ProjectEvaluation/website.projects.v9.bin and b/Website/.vs/ProjectEvaluation/website.projects.v9.bin differ diff --git a/Website/.vs/ProjectEvaluation/website.strings.v9.bin b/Website/.vs/ProjectEvaluation/website.strings.v9.bin index 8881e77..c3624e0 100644 Binary files a/Website/.vs/ProjectEvaluation/website.strings.v9.bin and b/Website/.vs/ProjectEvaluation/website.strings.v9.bin differ diff --git a/Website/.vs/Website/CopilotIndices/17.12.31.40377/CodeChunks.db b/Website/.vs/Website/CopilotIndices/17.12.31.40377/CodeChunks.db index 0fdc1d1..9c51eb4 100644 Binary files a/Website/.vs/Website/CopilotIndices/17.12.31.40377/CodeChunks.db and b/Website/.vs/Website/CopilotIndices/17.12.31.40377/CodeChunks.db differ diff --git a/Website/.vs/Website/CopilotIndices/17.12.31.40377/SemanticSymbols.db b/Website/.vs/Website/CopilotIndices/17.12.31.40377/SemanticSymbols.db index 672b2d4..ae2e903 100644 Binary files a/Website/.vs/Website/CopilotIndices/17.12.31.40377/SemanticSymbols.db and b/Website/.vs/Website/CopilotIndices/17.12.31.40377/SemanticSymbols.db differ diff --git a/Website/.vs/Website/CopilotIndices/17.12.31.40377/SemanticSymbols.db-shm b/Website/.vs/Website/CopilotIndices/17.12.31.40377/SemanticSymbols.db-shm index d8fc3ed..bfda4cf 100644 Binary files a/Website/.vs/Website/CopilotIndices/17.12.31.40377/SemanticSymbols.db-shm and b/Website/.vs/Website/CopilotIndices/17.12.31.40377/SemanticSymbols.db-shm differ diff --git a/Website/.vs/Website/CopilotIndices/17.12.31.40377/SemanticSymbols.db-wal b/Website/.vs/Website/CopilotIndices/17.12.31.40377/SemanticSymbols.db-wal index 2d7c055..789400a 100644 Binary files a/Website/.vs/Website/CopilotIndices/17.12.31.40377/SemanticSymbols.db-wal and b/Website/.vs/Website/CopilotIndices/17.12.31.40377/SemanticSymbols.db-wal differ diff --git a/Website/.vs/Website/DesignTimeBuild/.dtbcache.v2 b/Website/.vs/Website/DesignTimeBuild/.dtbcache.v2 index 2c353ac..9c7b555 100644 Binary files a/Website/.vs/Website/DesignTimeBuild/.dtbcache.v2 and b/Website/.vs/Website/DesignTimeBuild/.dtbcache.v2 differ diff --git a/Website/.vs/Website/FileContentIndex/395a847e-13a2-45dc-aeba-d296d03b7b26.vsidx b/Website/.vs/Website/FileContentIndex/395a847e-13a2-45dc-aeba-d296d03b7b26.vsidx deleted file mode 100644 index 70aef67..0000000 Binary files a/Website/.vs/Website/FileContentIndex/395a847e-13a2-45dc-aeba-d296d03b7b26.vsidx and /dev/null differ diff --git a/Website/.vs/Website/FileContentIndex/4c4c4032-f65a-46db-9ad3-d6f05956b119.vsidx b/Website/.vs/Website/FileContentIndex/4c4c4032-f65a-46db-9ad3-d6f05956b119.vsidx deleted file mode 100644 index 70aef67..0000000 Binary files a/Website/.vs/Website/FileContentIndex/4c4c4032-f65a-46db-9ad3-d6f05956b119.vsidx and /dev/null differ diff --git a/Website/.vs/Website/FileContentIndex/52718c8e-b829-42c0-851b-07d6bf105a76.vsidx b/Website/.vs/Website/FileContentIndex/52718c8e-b829-42c0-851b-07d6bf105a76.vsidx new file mode 100644 index 0000000..70aef67 Binary files /dev/null and b/Website/.vs/Website/FileContentIndex/52718c8e-b829-42c0-851b-07d6bf105a76.vsidx differ diff --git a/Website/.vs/Website/FileContentIndex/916a3692-1a05-4b6b-92ed-3caa25cc59d6.vsidx b/Website/.vs/Website/FileContentIndex/916a3692-1a05-4b6b-92ed-3caa25cc59d6.vsidx deleted file mode 100644 index 70aef67..0000000 Binary files a/Website/.vs/Website/FileContentIndex/916a3692-1a05-4b6b-92ed-3caa25cc59d6.vsidx and /dev/null differ diff --git a/Website/.vs/Website/FileContentIndex/b15117df-7992-48c0-a78a-b49c6ebb0dc6.vsidx b/Website/.vs/Website/FileContentIndex/b15117df-7992-48c0-a78a-b49c6ebb0dc6.vsidx new file mode 100644 index 0000000..ae5d2d5 Binary files /dev/null and b/Website/.vs/Website/FileContentIndex/b15117df-7992-48c0-a78a-b49c6ebb0dc6.vsidx differ diff --git a/Website/.vs/Website/FileContentIndex/f3d450e6-142c-4019-964b-82473bbf5fd4.vsidx b/Website/.vs/Website/FileContentIndex/f3d450e6-142c-4019-964b-82473bbf5fd4.vsidx new file mode 100644 index 0000000..9d0ef12 Binary files /dev/null and b/Website/.vs/Website/FileContentIndex/f3d450e6-142c-4019-964b-82473bbf5fd4.vsidx differ diff --git a/Website/.vs/Website/FileContentIndex/fa47197c-a224-4d9e-8c75-e745e85f5a62.vsidx b/Website/.vs/Website/FileContentIndex/fa47197c-a224-4d9e-8c75-e745e85f5a62.vsidx deleted file mode 100644 index 993574b..0000000 Binary files a/Website/.vs/Website/FileContentIndex/fa47197c-a224-4d9e-8c75-e745e85f5a62.vsidx and /dev/null differ diff --git a/Website/.vs/Website/FileContentIndex/ffc77cf7-204d-40e9-8b31-f5b263bd84b2.vsidx b/Website/.vs/Website/FileContentIndex/ffc77cf7-204d-40e9-8b31-f5b263bd84b2.vsidx new file mode 100644 index 0000000..3eb6560 Binary files /dev/null and b/Website/.vs/Website/FileContentIndex/ffc77cf7-204d-40e9-8b31-f5b263bd84b2.vsidx differ diff --git a/Website/.vs/Website/config/applicationhost.config b/Website/.vs/Website/config/applicationhost.config index 68d4a9b..9a2c52d 100644 --- a/Website/.vs/Website/config/applicationhost.config +++ b/Website/.vs/Website/config/applicationhost.config @@ -1,4 +1,4 @@ - +