From 76f8197824a4e4eab3de6c6cc52a139e1bdea10e Mon Sep 17 00:00:00 2001 From: Kaj Forney Date: Thu, 21 Sep 2023 15:12:06 -0600 Subject: [PATCH] Replace the good Assignment 3 with the Visual Studio version (barf) --- .../.idea/.idea.Assignment1/.idea/.gitignore | 13 -- .../.idea.Assignment1/.idea/encodings.xml | 4 - .../.idea.Assignment1/.idea/indexLayout.xml | 8 - .../.idea/.idea.Assignment1/.idea/misc.xml | 7 - .../.idea.Assignment2/.idea/workspace.xml | 86 ---------- .../.idea/.idea.Assignment3/.idea/.gitignore | 13 -- .../.idea.Assignment3/.idea/encodings.xml | 4 - .../.idea.Assignment3/.idea/indexLayout.xml | 8 - .../.idea/.idea.Assignment3/.idea/misc.xml | 7 - Assignment3/Assignment3.sln | 19 ++- Assignment3/Assignment3/Assignment3.csproj | 153 +++++++++++++++--- .../{wwwroot => }/EmbeddedGadgets.html | 0 .../{wwwroot => }/FontsColumns.html | 0 Assignment3/Assignment3/Program.cs | 28 ---- .../Assignment3/Properties/AssemblyInfo.cs | 35 ++++ .../Properties/launchSettings.json | 28 ---- Assignment3/Assignment3/Web.Debug.config | 30 ++++ Assignment3/Assignment3/Web.Release.config | 31 ++++ Assignment3/Assignment3/Web.config | 24 +++ .../Assignment3/appsettings.Development.json | 9 -- Assignment3/Assignment3/appsettings.json | 9 -- .../{wwwroot => }/assets/css/fonts.css | 0 .../{wwwroot => }/assets/css/styles.css | 0 .../assets/fonts/Quicksand-Bold.ttf | Bin .../assets/fonts/Quicksand-Light.ttf | Bin .../assets/fonts/Quicksand-Medium.ttf | Bin .../assets/fonts/Quicksand-Regular.ttf | Bin .../assets/fonts/Quicksand-SemiBold.ttf | Bin .../assets/video/megashigi-gource.mp4 | Bin .../Assignment3/{wwwroot => }/favicon.ico | Bin Assignment3/Assignment3/packages.config | 4 + 31 files changed, 269 insertions(+), 251 deletions(-) delete mode 100644 Assignment3/.idea/.idea.Assignment1/.idea/.gitignore delete mode 100644 Assignment3/.idea/.idea.Assignment1/.idea/encodings.xml delete mode 100644 Assignment3/.idea/.idea.Assignment1/.idea/indexLayout.xml delete mode 100644 Assignment3/.idea/.idea.Assignment1/.idea/misc.xml delete mode 100644 Assignment3/.idea/.idea.Assignment2/.idea/workspace.xml delete mode 100644 Assignment3/.idea/.idea.Assignment3/.idea/.gitignore delete mode 100644 Assignment3/.idea/.idea.Assignment3/.idea/encodings.xml delete mode 100644 Assignment3/.idea/.idea.Assignment3/.idea/indexLayout.xml delete mode 100644 Assignment3/.idea/.idea.Assignment3/.idea/misc.xml rename Assignment3/Assignment3/{wwwroot => }/EmbeddedGadgets.html (100%) rename Assignment3/Assignment3/{wwwroot => }/FontsColumns.html (100%) delete mode 100644 Assignment3/Assignment3/Program.cs create mode 100644 Assignment3/Assignment3/Properties/AssemblyInfo.cs delete mode 100644 Assignment3/Assignment3/Properties/launchSettings.json create mode 100644 Assignment3/Assignment3/Web.Debug.config create mode 100644 Assignment3/Assignment3/Web.Release.config create mode 100644 Assignment3/Assignment3/Web.config delete mode 100644 Assignment3/Assignment3/appsettings.Development.json delete mode 100644 Assignment3/Assignment3/appsettings.json rename Assignment3/Assignment3/{wwwroot => }/assets/css/fonts.css (100%) rename Assignment3/Assignment3/{wwwroot => }/assets/css/styles.css (100%) rename Assignment3/Assignment3/{wwwroot => }/assets/fonts/Quicksand-Bold.ttf (100%) rename Assignment3/Assignment3/{wwwroot => }/assets/fonts/Quicksand-Light.ttf (100%) rename Assignment3/Assignment3/{wwwroot => }/assets/fonts/Quicksand-Medium.ttf (100%) rename Assignment3/Assignment3/{wwwroot => }/assets/fonts/Quicksand-Regular.ttf (100%) rename Assignment3/Assignment3/{wwwroot => }/assets/fonts/Quicksand-SemiBold.ttf (100%) rename Assignment3/Assignment3/{wwwroot => }/assets/video/megashigi-gource.mp4 (100%) rename Assignment3/Assignment3/{wwwroot => }/favicon.ico (100%) create mode 100644 Assignment3/Assignment3/packages.config diff --git a/Assignment3/.idea/.idea.Assignment1/.idea/.gitignore b/Assignment3/.idea/.idea.Assignment1/.idea/.gitignore deleted file mode 100644 index 75a0acc..0000000 --- a/Assignment3/.idea/.idea.Assignment1/.idea/.gitignore +++ /dev/null @@ -1,13 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml -# Rider ignored files -/modules.xml -/contentModel.xml -/.idea.Assignment1.iml -/projectSettingsUpdater.xml -# Editor-based HTTP Client requests -/httpRequests/ -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml diff --git a/Assignment3/.idea/.idea.Assignment1/.idea/encodings.xml b/Assignment3/.idea/.idea.Assignment1/.idea/encodings.xml deleted file mode 100644 index df87cf9..0000000 --- a/Assignment3/.idea/.idea.Assignment1/.idea/encodings.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/Assignment3/.idea/.idea.Assignment1/.idea/indexLayout.xml b/Assignment3/.idea/.idea.Assignment1/.idea/indexLayout.xml deleted file mode 100644 index 7b08163..0000000 --- a/Assignment3/.idea/.idea.Assignment1/.idea/indexLayout.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/Assignment3/.idea/.idea.Assignment1/.idea/misc.xml b/Assignment3/.idea/.idea.Assignment1/.idea/misc.xml deleted file mode 100644 index 30bab2a..0000000 --- a/Assignment3/.idea/.idea.Assignment1/.idea/misc.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - \ No newline at end of file diff --git a/Assignment3/.idea/.idea.Assignment2/.idea/workspace.xml b/Assignment3/.idea/.idea.Assignment2/.idea/workspace.xml deleted file mode 100644 index 4b051af..0000000 --- a/Assignment3/.idea/.idea.Assignment2/.idea/workspace.xml +++ /dev/null @@ -1,86 +0,0 @@ - - - - Assignment2/Assignment2.csproj - - - - - - - - - - - - - - - { - "keyToString": { - "RunOnceActivity.OpenProjectViewOnStart": "true", - "RunOnceActivity.ShowReadmeOnStart": "true", - "WebServerToolWindowFactoryState": "false", - "list.type.of.created.stylesheet": "CSS", - "vue.rearranger.settings.migration": "true" - }, - "keyToStringList": { - "rider.external.source.directories": [ - "/home/kforney/.config/JetBrains/Rider2022.3/resharper-host/DecompilerCache", - "/home/kforney/.config/JetBrains/Rider2022.3/resharper-host/SourcesCache", - "/home/kforney/.local/share/Symbols/src" - ] - } -} - - - - - - - - - 1675283475574 - - - - - - - - - \ No newline at end of file diff --git a/Assignment3/.idea/.idea.Assignment3/.idea/.gitignore b/Assignment3/.idea/.idea.Assignment3/.idea/.gitignore deleted file mode 100644 index 56a4476..0000000 --- a/Assignment3/.idea/.idea.Assignment3/.idea/.gitignore +++ /dev/null @@ -1,13 +0,0 @@ -# Default ignored files -/shelf/ -/workspace.xml -# Rider ignored files -/contentModel.xml -/projectSettingsUpdater.xml -/.idea.Assignment2.iml -/modules.xml -# Editor-based HTTP Client requests -/httpRequests/ -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml diff --git a/Assignment3/.idea/.idea.Assignment3/.idea/encodings.xml b/Assignment3/.idea/.idea.Assignment3/.idea/encodings.xml deleted file mode 100644 index df87cf9..0000000 --- a/Assignment3/.idea/.idea.Assignment3/.idea/encodings.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/Assignment3/.idea/.idea.Assignment3/.idea/indexLayout.xml b/Assignment3/.idea/.idea.Assignment3/.idea/indexLayout.xml deleted file mode 100644 index 7b08163..0000000 --- a/Assignment3/.idea/.idea.Assignment3/.idea/indexLayout.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/Assignment3/.idea/.idea.Assignment3/.idea/misc.xml b/Assignment3/.idea/.idea.Assignment3/.idea/misc.xml deleted file mode 100644 index 30bab2a..0000000 --- a/Assignment3/.idea/.idea.Assignment3/.idea/misc.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - - - \ No newline at end of file diff --git a/Assignment3/Assignment3.sln b/Assignment3/Assignment3.sln index 8a3e34a..f6bceb9 100644 --- a/Assignment3/Assignment3.sln +++ b/Assignment3/Assignment3.sln @@ -1,6 +1,9 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assignment3", "Assignment3\Assignment3.csproj", "{48F7AD46-0DBD-4AED-A3EC-91B274492408}" +# Visual Studio Version 17 +VisualStudioVersion = 17.7.34031.279 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Assignment3", "Assignment3\Assignment3.csproj", "{ADD69593-E7A2-4BBA-9548-D2DC889835CA}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -8,9 +11,15 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {48F7AD46-0DBD-4AED-A3EC-91B274492408}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {48F7AD46-0DBD-4AED-A3EC-91B274492408}.Debug|Any CPU.Build.0 = Debug|Any CPU - {48F7AD46-0DBD-4AED-A3EC-91B274492408}.Release|Any CPU.ActiveCfg = Release|Any CPU - {48F7AD46-0DBD-4AED-A3EC-91B274492408}.Release|Any CPU.Build.0 = Release|Any CPU + {ADD69593-E7A2-4BBA-9548-D2DC889835CA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {ADD69593-E7A2-4BBA-9548-D2DC889835CA}.Debug|Any CPU.Build.0 = Debug|Any CPU + {ADD69593-E7A2-4BBA-9548-D2DC889835CA}.Release|Any CPU.ActiveCfg = Release|Any CPU + {ADD69593-E7A2-4BBA-9548-D2DC889835CA}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {121217F4-54A8-4033-B368-A5956915E813} EndGlobalSection EndGlobal diff --git a/Assignment3/Assignment3/Assignment3.csproj b/Assignment3/Assignment3/Assignment3.csproj index a70f4a4..c18022d 100644 --- a/Assignment3/Assignment3/Assignment3.csproj +++ b/Assignment3/Assignment3/Assignment3.csproj @@ -1,24 +1,133 @@ - - + + + + + Debug + AnyCPU + + + 2.0 + {ADD69593-E7A2-4BBA-9548-D2DC889835CA} + {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc} + Library + Properties + Assignment3 + Assignment3 + v4.7.2 + true + + + + + + + + + + + true + full + false + bin\ + DEBUG;TRACE + prompt + 4 + + + true + pdbonly + true + bin\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + + + + ..\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.2.0.1\lib\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll + + + + + + + + + + + + + + + + + + Web.config + + + Web.config + + + + + + + + + 10.0 + $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion) + + + + + + + + + True + True + 50498 + / + http://localhost:50498/ + False + False + + + False + + + + + - net6.0 - enable - enable - Assignment2 + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - - <_ContentIncludedByDefault Remove="Pages\Error.cshtml" /> - <_ContentIncludedByDefault Remove="Pages\Index.cshtml" /> - <_ContentIncludedByDefault Remove="Pages\Privacy.cshtml" /> - <_ContentIncludedByDefault Remove="Pages\Shared\_Layout.cshtml" /> - <_ContentIncludedByDefault Remove="Pages\Shared\_ValidationScriptsPartial.cshtml" /> - <_ContentIncludedByDefault Remove="Pages\_ViewImports.cshtml" /> - <_ContentIncludedByDefault Remove="Pages\_ViewStart.cshtml" /> - - - - - - - + + + + \ No newline at end of file diff --git a/Assignment3/Assignment3/wwwroot/EmbeddedGadgets.html b/Assignment3/Assignment3/EmbeddedGadgets.html similarity index 100% rename from Assignment3/Assignment3/wwwroot/EmbeddedGadgets.html rename to Assignment3/Assignment3/EmbeddedGadgets.html diff --git a/Assignment3/Assignment3/wwwroot/FontsColumns.html b/Assignment3/Assignment3/FontsColumns.html similarity index 100% rename from Assignment3/Assignment3/wwwroot/FontsColumns.html rename to Assignment3/Assignment3/FontsColumns.html diff --git a/Assignment3/Assignment3/Program.cs b/Assignment3/Assignment3/Program.cs deleted file mode 100644 index 7e29539..0000000 --- a/Assignment3/Assignment3/Program.cs +++ /dev/null @@ -1,28 +0,0 @@ -var builder = WebApplication.CreateBuilder(args); - -// Add services to the container. -builder.Services.AddRazorPages(); - -var app = builder.Build(); - -// Configure the HTTP request pipeline. -if (!app.Environment.IsDevelopment()) -{ - app.UseExceptionHandler("/Error"); - // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts. - app.UseHsts(); -} - -app.UseHttpsRedirection(); - -app.UseDefaultFiles(); - -app.UseStaticFiles(); - -app.UseRouting(); - -app.UseAuthorization(); - -app.MapRazorPages(); - -app.Run(); \ No newline at end of file diff --git a/Assignment3/Assignment3/Properties/AssemblyInfo.cs b/Assignment3/Assignment3/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..906b4d6 --- /dev/null +++ b/Assignment3/Assignment3/Properties/AssemblyInfo.cs @@ -0,0 +1,35 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Assignment3")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Assignment3")] +[assembly: AssemblyCopyright("Copyright © 2023")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("add69593-e7a2-4bba-9548-d2dc889835ca")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Revision and Build Numbers +// by using the '*' as shown below: +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Assignment3/Assignment3/Properties/launchSettings.json b/Assignment3/Assignment3/Properties/launchSettings.json deleted file mode 100644 index 7db34f0..0000000 --- a/Assignment3/Assignment3/Properties/launchSettings.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "iisSettings": { - "windowsAuthentication": false, - "anonymousAuthentication": true, - "iisExpress": { - "applicationUrl": "http://localhost:40874", - "sslPort": 44332 - } - }, - "profiles": { - "Assignment1": { - "commandName": "Project", - "dotnetRunMessages": true, - "launchBrowser": true, - "applicationUrl": "https://localhost:7199;http://localhost:5222", - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - }, - "IIS Express": { - "commandName": "IISExpress", - "launchBrowser": true, - "environmentVariables": { - "ASPNETCORE_ENVIRONMENT": "Development" - } - } - } -} diff --git a/Assignment3/Assignment3/Web.Debug.config b/Assignment3/Assignment3/Web.Debug.config new file mode 100644 index 0000000..fae9cfe --- /dev/null +++ b/Assignment3/Assignment3/Web.Debug.config @@ -0,0 +1,30 @@ + + + + + + + + + + \ No newline at end of file diff --git a/Assignment3/Assignment3/Web.Release.config b/Assignment3/Assignment3/Web.Release.config new file mode 100644 index 0000000..da6e960 --- /dev/null +++ b/Assignment3/Assignment3/Web.Release.config @@ -0,0 +1,31 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/Assignment3/Assignment3/Web.config b/Assignment3/Assignment3/Web.config new file mode 100644 index 0000000..5dc1333 --- /dev/null +++ b/Assignment3/Assignment3/Web.config @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Assignment3/Assignment3/appsettings.Development.json b/Assignment3/Assignment3/appsettings.Development.json deleted file mode 100644 index 770d3e9..0000000 --- a/Assignment3/Assignment3/appsettings.Development.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "DetailedErrors": true, - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft.AspNetCore": "Warning" - } - } -} diff --git a/Assignment3/Assignment3/appsettings.json b/Assignment3/Assignment3/appsettings.json deleted file mode 100644 index 10f68b8..0000000 --- a/Assignment3/Assignment3/appsettings.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft.AspNetCore": "Warning" - } - }, - "AllowedHosts": "*" -} diff --git a/Assignment3/Assignment3/wwwroot/assets/css/fonts.css b/Assignment3/Assignment3/assets/css/fonts.css similarity index 100% rename from Assignment3/Assignment3/wwwroot/assets/css/fonts.css rename to Assignment3/Assignment3/assets/css/fonts.css diff --git a/Assignment3/Assignment3/wwwroot/assets/css/styles.css b/Assignment3/Assignment3/assets/css/styles.css similarity index 100% rename from Assignment3/Assignment3/wwwroot/assets/css/styles.css rename to Assignment3/Assignment3/assets/css/styles.css diff --git a/Assignment3/Assignment3/wwwroot/assets/fonts/Quicksand-Bold.ttf b/Assignment3/Assignment3/assets/fonts/Quicksand-Bold.ttf similarity index 100% rename from Assignment3/Assignment3/wwwroot/assets/fonts/Quicksand-Bold.ttf rename to Assignment3/Assignment3/assets/fonts/Quicksand-Bold.ttf diff --git a/Assignment3/Assignment3/wwwroot/assets/fonts/Quicksand-Light.ttf b/Assignment3/Assignment3/assets/fonts/Quicksand-Light.ttf similarity index 100% rename from Assignment3/Assignment3/wwwroot/assets/fonts/Quicksand-Light.ttf rename to Assignment3/Assignment3/assets/fonts/Quicksand-Light.ttf diff --git a/Assignment3/Assignment3/wwwroot/assets/fonts/Quicksand-Medium.ttf b/Assignment3/Assignment3/assets/fonts/Quicksand-Medium.ttf similarity index 100% rename from Assignment3/Assignment3/wwwroot/assets/fonts/Quicksand-Medium.ttf rename to Assignment3/Assignment3/assets/fonts/Quicksand-Medium.ttf diff --git a/Assignment3/Assignment3/wwwroot/assets/fonts/Quicksand-Regular.ttf b/Assignment3/Assignment3/assets/fonts/Quicksand-Regular.ttf similarity index 100% rename from Assignment3/Assignment3/wwwroot/assets/fonts/Quicksand-Regular.ttf rename to Assignment3/Assignment3/assets/fonts/Quicksand-Regular.ttf diff --git a/Assignment3/Assignment3/wwwroot/assets/fonts/Quicksand-SemiBold.ttf b/Assignment3/Assignment3/assets/fonts/Quicksand-SemiBold.ttf similarity index 100% rename from Assignment3/Assignment3/wwwroot/assets/fonts/Quicksand-SemiBold.ttf rename to Assignment3/Assignment3/assets/fonts/Quicksand-SemiBold.ttf diff --git a/Assignment3/Assignment3/wwwroot/assets/video/megashigi-gource.mp4 b/Assignment3/Assignment3/assets/video/megashigi-gource.mp4 similarity index 100% rename from Assignment3/Assignment3/wwwroot/assets/video/megashigi-gource.mp4 rename to Assignment3/Assignment3/assets/video/megashigi-gource.mp4 diff --git a/Assignment3/Assignment3/wwwroot/favicon.ico b/Assignment3/Assignment3/favicon.ico similarity index 100% rename from Assignment3/Assignment3/wwwroot/favicon.ico rename to Assignment3/Assignment3/favicon.ico diff --git a/Assignment3/Assignment3/packages.config b/Assignment3/Assignment3/packages.config new file mode 100644 index 0000000..55d586f --- /dev/null +++ b/Assignment3/Assignment3/packages.config @@ -0,0 +1,4 @@ + + + + \ No newline at end of file