From 2f15986dbf1e46cb070f52b970f8859fef62eb8a Mon Sep 17 00:00:00 2001 From: Leon Hoppe Date: Mon, 27 Jan 2025 17:36:20 +0100 Subject: [PATCH] Added a simple web api abstraction method --- .idea/.idea.HopFrame/.idea/workspace.xml | 102 +++++++++++++----- HopFrame.sln | 7 ++ src/HopFrame.Web/Components/App.razor | 23 ++++ .../Components/Layout/HopFrameLayout.razor | 1 + .../ServiceCollectionExtensions.cs | 34 +++++- .../HopFrame.Testing.Api.csproj | 18 ++++ testing/HopFrame.Testing.Api/Program.cs | 51 +++++++++ .../Properties/launchSettings.json | 23 ++++ .../appsettings.Development.json | 8 ++ testing/HopFrame.Testing.Api/appsettings.json | 9 ++ .../Components/Dialogs/HopFrameEditorTests.cs | 4 +- .../Components/Layout/HopFrameLayoutTests.cs | 4 +- .../Layout/HopFrameNavigationTests.cs | 4 +- .../Layout/HopFrameSideMenuTests.cs | 2 +- .../Components/Pages/HopFrameHomeTests.cs | 2 +- .../Pages/HopFrameTablePageTests.cs | 4 +- 16 files changed, 259 insertions(+), 37 deletions(-) create mode 100644 src/HopFrame.Web/Components/App.razor create mode 100644 testing/HopFrame.Testing.Api/HopFrame.Testing.Api.csproj create mode 100644 testing/HopFrame.Testing.Api/Program.cs create mode 100644 testing/HopFrame.Testing.Api/Properties/launchSettings.json create mode 100644 testing/HopFrame.Testing.Api/appsettings.Development.json create mode 100644 testing/HopFrame.Testing.Api/appsettings.json diff --git a/.idea/.idea.HopFrame/.idea/workspace.xml b/.idea/.idea.HopFrame/.idea/workspace.xml index a0fdd80..b43db74 100644 --- a/.idea/.idea.HopFrame/.idea/workspace.xml +++ b/.idea/.idea.HopFrame/.idea/workspace.xml @@ -3,14 +3,24 @@ HopFrame.Testing/HopFrame.Testing.csproj HopFrame.Testing/HopFrame.Testing.csproj + testing/HopFrame.Testing.Api/HopFrame.Testing.Api.csproj + testing/HopFrame.Testing.Api/HopFrame.Testing.Api.csproj testing/HopFrame.Testing/HopFrame.Testing.csproj - - + + + + + + + + + +