From d403894556ff3a96d6a7fa1c487da59ac3caf429 Mon Sep 17 00:00:00 2001 From: TypoMustakes Date: Sat, 20 Apr 2024 12:26:33 +0200 Subject: [PATCH] Endpoint configured, static pages work --- .../Properties/launchSettings.json | 2 ++ .../WD7UVN_SzTGUI_2023242.Client.JS.csproj | 4 +++ .../WD7UVN_SzTGUI_2023242.Client.JS.sln | 25 +++++++++++++++++++ .../wwwroot/index.html | 10 ++++++++ 4 files changed, 41 insertions(+) create mode 100644 WD7UVN_SzTGUI_2023242.Client.JS/WD7UVN_SzTGUI_2023242.Client.JS.sln create mode 100644 WD7UVN_SzTGUI_2023242.Client.JS/wwwroot/index.html diff --git a/WD7UVN_SzTGUI_2023242.Client.JS/Properties/launchSettings.json b/WD7UVN_SzTGUI_2023242.Client.JS/Properties/launchSettings.json index 8409631..955b08e 100644 --- a/WD7UVN_SzTGUI_2023242.Client.JS/Properties/launchSettings.json +++ b/WD7UVN_SzTGUI_2023242.Client.JS/Properties/launchSettings.json @@ -11,12 +11,14 @@ "IIS Express": { "commandName": "IISExpress", "launchBrowser": true, + "launchUrl": "index.html", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } }, "WD7UVN_SzTGUI_2023242.Client.JS": { "commandName": "Project", + "launchUrl": "index.html", "dotnetRunMessages": "true", "launchBrowser": true, "applicationUrl": "https://localhost:5001;http://localhost:5000", diff --git a/WD7UVN_SzTGUI_2023242.Client.JS/WD7UVN_SzTGUI_2023242.Client.JS.csproj b/WD7UVN_SzTGUI_2023242.Client.JS/WD7UVN_SzTGUI_2023242.Client.JS.csproj index 9c9eaf6..0ab4a60 100644 --- a/WD7UVN_SzTGUI_2023242.Client.JS/WD7UVN_SzTGUI_2023242.Client.JS.csproj +++ b/WD7UVN_SzTGUI_2023242.Client.JS/WD7UVN_SzTGUI_2023242.Client.JS.csproj @@ -4,4 +4,8 @@ net5.0 + + + + diff --git a/WD7UVN_SzTGUI_2023242.Client.JS/WD7UVN_SzTGUI_2023242.Client.JS.sln b/WD7UVN_SzTGUI_2023242.Client.JS/WD7UVN_SzTGUI_2023242.Client.JS.sln new file mode 100644 index 0000000..af02af5 --- /dev/null +++ b/WD7UVN_SzTGUI_2023242.Client.JS/WD7UVN_SzTGUI_2023242.Client.JS.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.5.002.0 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WD7UVN_SzTGUI_2023242.Client.JS", "WD7UVN_SzTGUI_2023242.Client.JS.csproj", "{B4EE3E49-EA81-43E0-8E5E-3A9AA56CAFAB}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {B4EE3E49-EA81-43E0-8E5E-3A9AA56CAFAB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B4EE3E49-EA81-43E0-8E5E-3A9AA56CAFAB}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B4EE3E49-EA81-43E0-8E5E-3A9AA56CAFAB}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B4EE3E49-EA81-43E0-8E5E-3A9AA56CAFAB}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {ADBFE128-FA32-4F15-905A-2739EF2CBF11} + EndGlobalSection +EndGlobal diff --git a/WD7UVN_SzTGUI_2023242.Client.JS/wwwroot/index.html b/WD7UVN_SzTGUI_2023242.Client.JS/wwwroot/index.html new file mode 100644 index 0000000..5e7316f --- /dev/null +++ b/WD7UVN_SzTGUI_2023242.Client.JS/wwwroot/index.html @@ -0,0 +1,10 @@ + + + + Hello, World! + + +

Hello, World!

+

Welcome to my first web page.

+ + \ No newline at end of file