diff --git a/StudentHouseDashboard/HouseData/ClassDiagram1.cd b/StudentHouseDashboard/HouseData/ClassDiagram1.cd new file mode 100644 index 0000000..d453a73 --- /dev/null +++ b/StudentHouseDashboard/HouseData/ClassDiagram1.cd @@ -0,0 +1,78 @@ + + + + + + AAAACAAAAAEgAEAAiAAAAAAAAAAAAAAAAAAAAAAAIhA= + Models\Announcement.cs + + + + + + + AAAAAAAAAAFgAEAAiAAAAAAAAAAAAAAAAAAAAAAAABA= + Models\Comment.cs + + + + + + + AAAAAAAEAAAgAEAAiAAAAAAAAAAAAAAAAAAAAAQAAAA= + Models\Complaint.cs + + + + + + + AAAAAAAAAAEgAEAAiAAAAAAgAAAAAAAAAAAAAEAAABA= + Models\Event.cs + + + + + + + AAAAAAAAAAAAAAAAEQAAAAAAAAAAAAAAAAAAAAAAAAA= + Models\User.cs + + + + + + AAAAAAAAAAAgAEAAiAAAAAAAAAAAAAAAAAAAAAAAAAA= + Models\IMessage.cs + + + + + + AAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABA= + Models\IVotable.cs + + + + + + AAAEgAAAACgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA= + Models\ComplaintSeverity.cs + + + + + + AAAAAAAABAAAACAAAAAAAAAAAAAAAAAAAAAgAAAAAAA= + Models\ComplaintStatus.cs + + + + + + AAQAAAAAAAAAAAAAAAAAAAAAQAAAAQAAAAAAAAAAAAA= + Models\UserRole.cs + + + + \ No newline at end of file diff --git a/StudentHouseDashboard/HouseData/Models/Announcement.cs b/StudentHouseDashboard/HouseData/Models/Announcement.cs new file mode 100644 index 0000000..13942eb --- /dev/null +++ b/StudentHouseDashboard/HouseData/Models/Announcement.cs @@ -0,0 +1,49 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace StudentHouseDashboard.Models +{ + public class Announcement : IMessage, IVotable + { + public List Comments + { + get => default; + set + { + } + } + + public int IsImportant + { + get => default; + set + { + } + } + + public int IsSticky + { + get => default; + set + { + } + } + + public string Title { get => throw new NotImplementedException(); set => throw new NotImplementedException(); } + public string Description { get => throw new NotImplementedException(); set => throw new NotImplementedException(); } + public User Author { get => throw new NotImplementedException(); set => throw new NotImplementedException(); } + public DateTime PublishDate { get => throw new NotImplementedException(); set => throw new NotImplementedException(); } + + public void DownVote() + { + throw new NotImplementedException(); + } + + public void UpVote() + { + throw new NotImplementedException(); + } + } +} \ No newline at end of file diff --git a/StudentHouseDashboard/HouseData/Models/Comment.cs b/StudentHouseDashboard/HouseData/Models/Comment.cs new file mode 100644 index 0000000..986e658 --- /dev/null +++ b/StudentHouseDashboard/HouseData/Models/Comment.cs @@ -0,0 +1,32 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace StudentHouseDashboard.Models +{ + public class Comment : IMessage, IVotable + { + public int Responses + { + get => default; + set + { + } + } + public string Title { get => throw new NotImplementedException(); set => throw new NotImplementedException(); } + public string Description { get => throw new NotImplementedException(); set => throw new NotImplementedException(); } + public User Author { get => throw new NotImplementedException(); set => throw new NotImplementedException(); } + public DateTime PublishDate { get => throw new NotImplementedException(); set => throw new NotImplementedException(); } + + public void DownVote() + { + throw new NotImplementedException(); + } + + public void UpVote() + { + throw new NotImplementedException(); + } + } +} \ No newline at end of file diff --git a/StudentHouseDashboard/HouseData/Models/Complaint.cs b/StudentHouseDashboard/HouseData/Models/Complaint.cs new file mode 100644 index 0000000..aca9789 --- /dev/null +++ b/StudentHouseDashboard/HouseData/Models/Complaint.cs @@ -0,0 +1,31 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace StudentHouseDashboard.Models +{ + public class Complaint : IMessage + { + public ComplaintStatus Status + { + get => default; + set + { + } + } + + public ComplaintSeverity Severity + { + get => default; + set + { + } + } + + public string Title { get => throw new NotImplementedException(); set => throw new NotImplementedException(); } + public string Description { get => throw new NotImplementedException(); set => throw new NotImplementedException(); } + public User Author { get => throw new NotImplementedException(); set => throw new NotImplementedException(); } + public DateTime PublishDate { get => throw new NotImplementedException(); set => throw new NotImplementedException(); } + } +} \ No newline at end of file diff --git a/StudentHouseDashboard/HouseData/Models/ComplaintSeverity.cs b/StudentHouseDashboard/HouseData/Models/ComplaintSeverity.cs new file mode 100644 index 0000000..69fbb17 --- /dev/null +++ b/StudentHouseDashboard/HouseData/Models/ComplaintSeverity.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace StudentHouseDashboard.Models +{ + public enum ComplaintSeverity + { + LOW, + NORMAL, + HIGH, + URGENT + } +} \ No newline at end of file diff --git a/StudentHouseDashboard/HouseData/Models/ComplaintStatus.cs b/StudentHouseDashboard/HouseData/Models/ComplaintStatus.cs new file mode 100644 index 0000000..453ff93 --- /dev/null +++ b/StudentHouseDashboard/HouseData/Models/ComplaintStatus.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace StudentHouseDashboard.Models +{ + public enum ComplaintStatus + { + FILED, + UNDER_REVIEW, + SOLVED, + ARCHIVED + } +} \ No newline at end of file diff --git a/StudentHouseDashboard/HouseData/Models/Event.cs b/StudentHouseDashboard/HouseData/Models/Event.cs new file mode 100644 index 0000000..7b95477 --- /dev/null +++ b/StudentHouseDashboard/HouseData/Models/Event.cs @@ -0,0 +1,41 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace StudentHouseDashboard.Models +{ + public class Event : IMessage, IVotable + { + public int StartDate + { + get => default; + set + { + } + } + + public int EndDate + { + get => default; + set + { + } + } + + public string Title { get => throw new NotImplementedException(); set => throw new NotImplementedException(); } + public string Description { get => throw new NotImplementedException(); set => throw new NotImplementedException(); } + public User Author { get => throw new NotImplementedException(); set => throw new NotImplementedException(); } + public DateTime PublishDate { get => throw new NotImplementedException(); set => throw new NotImplementedException(); } + + public void DownVote() + { + throw new NotImplementedException(); + } + + public void UpVote() + { + throw new NotImplementedException(); + } + } +} \ No newline at end of file diff --git a/StudentHouseDashboard/HouseData/Models/IMessage.cs b/StudentHouseDashboard/HouseData/Models/IMessage.cs new file mode 100644 index 0000000..b463fc4 --- /dev/null +++ b/StudentHouseDashboard/HouseData/Models/IMessage.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace StudentHouseDashboard.Models +{ + public interface IMessage + { + string Title { get; set; } + string Description { get; set; } + User Author { get; set; } + DateTime PublishDate { get; set; } + } +} \ No newline at end of file diff --git a/StudentHouseDashboard/HouseData/Models/IVotable.cs b/StudentHouseDashboard/HouseData/Models/IVotable.cs new file mode 100644 index 0000000..8d3fcf2 --- /dev/null +++ b/StudentHouseDashboard/HouseData/Models/IVotable.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace StudentHouseDashboard.Models +{ + public interface IVotable + { + void UpVote(); + void DownVote(); + } +} \ No newline at end of file diff --git a/StudentHouseDashboard/HouseData/Models/User.cs b/StudentHouseDashboard/HouseData/Models/User.cs new file mode 100644 index 0000000..28e4a2e --- /dev/null +++ b/StudentHouseDashboard/HouseData/Models/User.cs @@ -0,0 +1,26 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace StudentHouseDashboard.Models +{ + public class User + { + public User(int username, UserRole role) + { + Username = username; + Role = role; + } + + public int Username + { + get;set; + } + + public UserRole Role + { + get;set; + } + } +} \ No newline at end of file diff --git a/StudentHouseDashboard/HouseData/Models/UserRole.cs b/StudentHouseDashboard/HouseData/Models/UserRole.cs new file mode 100644 index 0000000..9cc1474 --- /dev/null +++ b/StudentHouseDashboard/HouseData/Models/UserRole.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; + +namespace StudentHouseDashboard.Models +{ + public enum UserRole + { + TENANT, + MANAGER, + ADMIN + } +} \ No newline at end of file diff --git a/StudentHouseDashboard/HouseData/StudentHouseDashboard.csproj b/StudentHouseDashboard/HouseData/StudentHouseDashboard.csproj new file mode 100644 index 0000000..e83ebeb --- /dev/null +++ b/StudentHouseDashboard/HouseData/StudentHouseDashboard.csproj @@ -0,0 +1,13 @@ + + + + net6.0 + enable + enable + + + + + + + diff --git a/StudentHouseDashboard/StudentHouseDashboard.sln b/StudentHouseDashboard/StudentHouseDashboard.sln index 5a04505..03de8ce 100644 --- a/StudentHouseDashboard/StudentHouseDashboard.sln +++ b/StudentHouseDashboard/StudentHouseDashboard.sln @@ -3,7 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.4.33403.182 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApplication1", "WebApplication1\WebApplication1.csproj", "{FE02BA13-F4AC-42C3-973D-BDE83B44337C}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WebApp", "WebApp\WebApp.csproj", "{5A02E4A7-32C2-4372-BEB1-A5ED407E0B23}" +EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "StudentHouseDashboard", "HouseData\StudentHouseDashboard.csproj", "{9A1E1400-9B85-416B-B3B2-2282E0060CE3}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -11,10 +13,14 @@ Global Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {FE02BA13-F4AC-42C3-973D-BDE83B44337C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {FE02BA13-F4AC-42C3-973D-BDE83B44337C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {FE02BA13-F4AC-42C3-973D-BDE83B44337C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {FE02BA13-F4AC-42C3-973D-BDE83B44337C}.Release|Any CPU.Build.0 = Release|Any CPU + {5A02E4A7-32C2-4372-BEB1-A5ED407E0B23}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {5A02E4A7-32C2-4372-BEB1-A5ED407E0B23}.Debug|Any CPU.Build.0 = Debug|Any CPU + {5A02E4A7-32C2-4372-BEB1-A5ED407E0B23}.Release|Any CPU.ActiveCfg = Release|Any CPU + {5A02E4A7-32C2-4372-BEB1-A5ED407E0B23}.Release|Any CPU.Build.0 = Release|Any CPU + {9A1E1400-9B85-416B-B3B2-2282E0060CE3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9A1E1400-9B85-416B-B3B2-2282E0060CE3}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9A1E1400-9B85-416B-B3B2-2282E0060CE3}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9A1E1400-9B85-416B-B3B2-2282E0060CE3}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/StudentHouseDashboard/WebApp/Contact.cs b/StudentHouseDashboard/WebApp/Contact.cs new file mode 100644 index 0000000..1e3f613 --- /dev/null +++ b/StudentHouseDashboard/WebApp/Contact.cs @@ -0,0 +1,22 @@ +using System.ComponentModel.DataAnnotations; + +namespace WebApp +{ + public class Contact + { + public Contact() + { + + } + public Contact(string name, string email) + { + Name = name; + Email = email; + } + [Required] + public string Name { get; set; } + [Required] + [EmailAddress] + public string Email { get; set; } + } +} diff --git a/StudentHouseDashboard/WebApp/Pages/Contact.cshtml b/StudentHouseDashboard/WebApp/Pages/Contact.cshtml new file mode 100644 index 0000000..611f611 --- /dev/null +++ b/StudentHouseDashboard/WebApp/Pages/Contact.cshtml @@ -0,0 +1,25 @@ +@page +@model WebApp.Pages.ContactModel +@{ + ViewData["Title"] = "Contact"; +} +

@ViewData["Title"]

+ +@if (ViewData["confirm"] != null) +{ + +} + +
+
+ + +
+
+ + +
+ +
diff --git a/StudentHouseDashboard/WebApp/Pages/Contact.cshtml.cs b/StudentHouseDashboard/WebApp/Pages/Contact.cshtml.cs new file mode 100644 index 0000000..894e489 --- /dev/null +++ b/StudentHouseDashboard/WebApp/Pages/Contact.cshtml.cs @@ -0,0 +1,19 @@ +using Microsoft.AspNetCore.Mvc; +using Microsoft.AspNetCore.Mvc.RazorPages; + +namespace WebApp.Pages +{ + public class ContactModel : PageModel + { + [BindProperty] + public Contact Contact { get; set; } + public void OnGet() + { + } + + public void OnPost() + { + ViewData["confirm"] = $"Thank you for contacting us, {Contact.Name}! We promise to return a response in a timely manner to the following e-mail address: {Contact.Email}"; + } + } +} diff --git a/StudentHouseDashboard/WebApplication1/Pages/Error.cshtml b/StudentHouseDashboard/WebApp/Pages/Error.cshtml similarity index 100% rename from StudentHouseDashboard/WebApplication1/Pages/Error.cshtml rename to StudentHouseDashboard/WebApp/Pages/Error.cshtml diff --git a/StudentHouseDashboard/WebApplication1/Pages/Error.cshtml.cs b/StudentHouseDashboard/WebApp/Pages/Error.cshtml.cs similarity index 95% rename from StudentHouseDashboard/WebApplication1/Pages/Error.cshtml.cs rename to StudentHouseDashboard/WebApp/Pages/Error.cshtml.cs index c8c2c46..3bf4bcc 100644 --- a/StudentHouseDashboard/WebApplication1/Pages/Error.cshtml.cs +++ b/StudentHouseDashboard/WebApp/Pages/Error.cshtml.cs @@ -2,7 +2,7 @@ using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; using System.Diagnostics; -namespace WebApplication1.Pages +namespace WebApp.Pages { [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)] [IgnoreAntiforgeryToken] diff --git a/StudentHouseDashboard/WebApplication1/Pages/Index.cshtml b/StudentHouseDashboard/WebApp/Pages/Index.cshtml similarity index 100% rename from StudentHouseDashboard/WebApplication1/Pages/Index.cshtml rename to StudentHouseDashboard/WebApp/Pages/Index.cshtml diff --git a/StudentHouseDashboard/WebApplication1/Pages/Index.cshtml.cs b/StudentHouseDashboard/WebApp/Pages/Index.cshtml.cs similarity index 91% rename from StudentHouseDashboard/WebApplication1/Pages/Index.cshtml.cs rename to StudentHouseDashboard/WebApp/Pages/Index.cshtml.cs index 628b7ed..9824b0a 100644 --- a/StudentHouseDashboard/WebApplication1/Pages/Index.cshtml.cs +++ b/StudentHouseDashboard/WebApp/Pages/Index.cshtml.cs @@ -1,7 +1,7 @@ using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; -namespace WebApplication1.Pages +namespace WebApp.Pages { public class IndexModel : PageModel { diff --git a/StudentHouseDashboard/WebApplication1/Pages/Privacy.cshtml b/StudentHouseDashboard/WebApp/Pages/Privacy.cshtml similarity index 62% rename from StudentHouseDashboard/WebApplication1/Pages/Privacy.cshtml rename to StudentHouseDashboard/WebApp/Pages/Privacy.cshtml index 65dae7c..cbd8c00 100644 --- a/StudentHouseDashboard/WebApplication1/Pages/Privacy.cshtml +++ b/StudentHouseDashboard/WebApp/Pages/Privacy.cshtml @@ -5,4 +5,4 @@ }

@ViewData["Title"]

-

Login is not working so no data is currently collected.

+

No data is currently collected.

diff --git a/StudentHouseDashboard/WebApplication1/Pages/Privacy.cshtml.cs b/StudentHouseDashboard/WebApp/Pages/Privacy.cshtml.cs similarity index 91% rename from StudentHouseDashboard/WebApplication1/Pages/Privacy.cshtml.cs rename to StudentHouseDashboard/WebApp/Pages/Privacy.cshtml.cs index 55dfc05..cea862a 100644 --- a/StudentHouseDashboard/WebApplication1/Pages/Privacy.cshtml.cs +++ b/StudentHouseDashboard/WebApp/Pages/Privacy.cshtml.cs @@ -1,7 +1,7 @@ using Microsoft.AspNetCore.Mvc; using Microsoft.AspNetCore.Mvc.RazorPages; -namespace WebApplication1.Pages +namespace WebApp.Pages { public class PrivacyModel : PageModel { diff --git a/StudentHouseDashboard/WebApplication1/Pages/Shared/_Layout.cshtml b/StudentHouseDashboard/WebApp/Pages/Shared/_Layout.cshtml similarity index 84% rename from StudentHouseDashboard/WebApplication1/Pages/Shared/_Layout.cshtml rename to StudentHouseDashboard/WebApp/Pages/Shared/_Layout.cshtml index 23dd33b..1f32b26 100644 --- a/StudentHouseDashboard/WebApplication1/Pages/Shared/_Layout.cshtml +++ b/StudentHouseDashboard/WebApp/Pages/Shared/_Layout.cshtml @@ -3,16 +3,16 @@ - @ViewData["Title"] - Student House Dashboard + @ViewData["Title"] - WebApp - +
@@ -42,7 +41,7 @@
- © 2023 - Student House Dashboard - Privacy + © 2023 - WebApp - Privacy
diff --git a/StudentHouseDashboard/WebApplication1/Pages/Shared/_Layout.cshtml.css b/StudentHouseDashboard/WebApp/Pages/Shared/_Layout.cshtml.css similarity index 100% rename from StudentHouseDashboard/WebApplication1/Pages/Shared/_Layout.cshtml.css rename to StudentHouseDashboard/WebApp/Pages/Shared/_Layout.cshtml.css diff --git a/StudentHouseDashboard/WebApplication1/Pages/Shared/_ValidationScriptsPartial.cshtml b/StudentHouseDashboard/WebApp/Pages/Shared/_ValidationScriptsPartial.cshtml similarity index 100% rename from StudentHouseDashboard/WebApplication1/Pages/Shared/_ValidationScriptsPartial.cshtml rename to StudentHouseDashboard/WebApp/Pages/Shared/_ValidationScriptsPartial.cshtml diff --git a/StudentHouseDashboard/WebApp/Pages/_ViewImports.cshtml b/StudentHouseDashboard/WebApp/Pages/_ViewImports.cshtml new file mode 100644 index 0000000..ebe5772 --- /dev/null +++ b/StudentHouseDashboard/WebApp/Pages/_ViewImports.cshtml @@ -0,0 +1,3 @@ +@using WebApp +@namespace WebApp.Pages +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers diff --git a/StudentHouseDashboard/WebApplication1/Pages/_ViewStart.cshtml b/StudentHouseDashboard/WebApp/Pages/_ViewStart.cshtml similarity index 100% rename from StudentHouseDashboard/WebApplication1/Pages/_ViewStart.cshtml rename to StudentHouseDashboard/WebApp/Pages/_ViewStart.cshtml diff --git a/StudentHouseDashboard/WebApp/Program.cs b/StudentHouseDashboard/WebApp/Program.cs new file mode 100644 index 0000000..0e6b96a --- /dev/null +++ b/StudentHouseDashboard/WebApp/Program.cs @@ -0,0 +1,34 @@ +namespace WebApp +{ + public class Program + { + public static void Main(string[] args) + { + 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.UseStaticFiles(); + + app.UseRouting(); + + app.UseAuthorization(); + + app.MapRazorPages(); + + app.Run(); + } + } +} \ No newline at end of file diff --git a/StudentHouseDashboard/WebApplication1/Properties/launchSettings.json b/StudentHouseDashboard/WebApp/Properties/launchSettings.json similarity index 75% rename from StudentHouseDashboard/WebApplication1/Properties/launchSettings.json rename to StudentHouseDashboard/WebApp/Properties/launchSettings.json index 6c81f60..2178f09 100644 --- a/StudentHouseDashboard/WebApplication1/Properties/launchSettings.json +++ b/StudentHouseDashboard/WebApp/Properties/launchSettings.json @@ -3,16 +3,16 @@ "windowsAuthentication": false, "anonymousAuthentication": true, "iisExpress": { - "applicationUrl": "http://localhost:23959", - "sslPort": 44318 + "applicationUrl": "http://localhost:20819", + "sslPort": 44397 } }, "profiles": { - "WebApplication1": { + "WebApp": { "commandName": "Project", "dotnetRunMessages": true, "launchBrowser": true, - "applicationUrl": "https://localhost:7220;http://localhost:5005", + "applicationUrl": "https://localhost:7062;http://localhost:5258", "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" } diff --git a/StudentHouseDashboard/WebApp/WebApp.csproj b/StudentHouseDashboard/WebApp/WebApp.csproj new file mode 100644 index 0000000..5c4e98d --- /dev/null +++ b/StudentHouseDashboard/WebApp/WebApp.csproj @@ -0,0 +1,28 @@ + + + + net6.0 + enable + enable + + + + + true + PreserveNewest + + + true + PreserveNewest + + + + + + + + + <_ContentIncludedByDefault Remove="Pages\Contact.cshtml" /> + + + diff --git a/StudentHouseDashboard/WebApplication1/appsettings.Development.json b/StudentHouseDashboard/WebApp/appsettings.Development.json similarity index 100% rename from StudentHouseDashboard/WebApplication1/appsettings.Development.json rename to StudentHouseDashboard/WebApp/appsettings.Development.json diff --git a/StudentHouseDashboard/WebApp/appsettings.json b/StudentHouseDashboard/WebApp/appsettings.json new file mode 100644 index 0000000..10f68b8 --- /dev/null +++ b/StudentHouseDashboard/WebApp/appsettings.json @@ -0,0 +1,9 @@ +{ + "Logging": { + "LogLevel": { + "Default": "Information", + "Microsoft.AspNetCore": "Warning" + } + }, + "AllowedHosts": "*" +} diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/css/site.css b/StudentHouseDashboard/WebApp/wwwroot/css/site.css similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/css/site.css rename to StudentHouseDashboard/WebApp/wwwroot/css/site.css diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/favicon.ico b/StudentHouseDashboard/WebApp/wwwroot/favicon.ico similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/favicon.ico rename to StudentHouseDashboard/WebApp/wwwroot/favicon.ico diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/js/site.js b/StudentHouseDashboard/WebApp/wwwroot/js/site.js similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/js/site.js rename to StudentHouseDashboard/WebApp/wwwroot/js/site.js diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/LICENSE b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/LICENSE similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/LICENSE rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/LICENSE diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.css b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.css similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.css rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.css diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.css.map b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.css.map similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.css.map rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.css.map diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.min.css b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.min.css similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.min.css rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.min.css diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.min.css.map b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.min.css.map similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.min.css.map rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.min.css.map diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.rtl.css b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.rtl.css similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.rtl.css rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.rtl.css diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.rtl.css.map b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.rtl.css.map similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.rtl.css.map rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.rtl.css.map diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.rtl.min.css b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.rtl.min.css similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.rtl.min.css rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.rtl.min.css diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.rtl.min.css.map b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.rtl.min.css.map similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.rtl.min.css.map rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-grid.rtl.min.css.map diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.css b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.css similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.css rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.css diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.css.map b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.css.map similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.css.map rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.css.map diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.min.css b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.min.css similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.min.css rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.min.css diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.min.css.map b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.min.css.map similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.min.css.map rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.min.css.map diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.rtl.css b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.rtl.css similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.rtl.css rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.rtl.css diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.rtl.css.map b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.rtl.css.map similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.rtl.css.map rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.rtl.css.map diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.rtl.min.css b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.rtl.min.css similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.rtl.min.css rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.rtl.min.css diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.rtl.min.css.map b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.rtl.min.css.map similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.rtl.min.css.map rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-reboot.rtl.min.css.map diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-utilities.css b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-utilities.css similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-utilities.css rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-utilities.css diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-utilities.css.map b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-utilities.css.map similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-utilities.css.map rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-utilities.css.map diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-utilities.min.css b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-utilities.min.css similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-utilities.min.css rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-utilities.min.css diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-utilities.min.css.map b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-utilities.min.css.map similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-utilities.min.css.map rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-utilities.min.css.map diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-utilities.rtl.css b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-utilities.rtl.css similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-utilities.rtl.css rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-utilities.rtl.css diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-utilities.rtl.css.map b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-utilities.rtl.css.map similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-utilities.rtl.css.map rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-utilities.rtl.css.map diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-utilities.rtl.min.css b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-utilities.rtl.min.css similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-utilities.rtl.min.css rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-utilities.rtl.min.css diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-utilities.rtl.min.css.map b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-utilities.rtl.min.css.map similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap-utilities.rtl.min.css.map rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap-utilities.rtl.min.css.map diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap.css b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap.css similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap.css rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap.css diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap.css.map b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap.css.map similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap.css.map rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap.css.map diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap.min.css b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap.min.css similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap.min.css rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap.min.css diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap.min.css.map b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap.min.css.map similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap.min.css.map rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap.min.css.map diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap.rtl.css b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap.rtl.css similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap.rtl.css rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap.rtl.css diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap.rtl.css.map b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap.rtl.css.map similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap.rtl.css.map rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap.rtl.css.map diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap.rtl.min.css b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap.rtl.min.css similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap.rtl.min.css rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap.rtl.min.css diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap.rtl.min.css.map b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap.rtl.min.css.map similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/css/bootstrap.rtl.min.css.map rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/css/bootstrap.rtl.min.css.map diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js.map b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js.map similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js.map rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.js.map diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.min.js b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.min.js similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.min.js rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.min.js diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.min.js.map b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.min.js.map similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.min.js.map rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/js/bootstrap.bundle.min.js.map diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/js/bootstrap.esm.js b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/js/bootstrap.esm.js similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/js/bootstrap.esm.js rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/js/bootstrap.esm.js diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/js/bootstrap.esm.js.map b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/js/bootstrap.esm.js.map similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/js/bootstrap.esm.js.map rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/js/bootstrap.esm.js.map diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/js/bootstrap.esm.min.js b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/js/bootstrap.esm.min.js similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/js/bootstrap.esm.min.js rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/js/bootstrap.esm.min.js diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/js/bootstrap.esm.min.js.map b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/js/bootstrap.esm.min.js.map similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/js/bootstrap.esm.min.js.map rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/js/bootstrap.esm.min.js.map diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/js/bootstrap.js b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/js/bootstrap.js similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/js/bootstrap.js rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/js/bootstrap.js diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/js/bootstrap.js.map b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/js/bootstrap.js.map similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/js/bootstrap.js.map rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/js/bootstrap.js.map diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/js/bootstrap.min.js b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/js/bootstrap.min.js similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/js/bootstrap.min.js rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/js/bootstrap.min.js diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/js/bootstrap.min.js.map b/StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/js/bootstrap.min.js.map similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/bootstrap/dist/js/bootstrap.min.js.map rename to StudentHouseDashboard/WebApp/wwwroot/lib/bootstrap/dist/js/bootstrap.min.js.map diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/jquery-validation-unobtrusive/LICENSE.txt b/StudentHouseDashboard/WebApp/wwwroot/lib/jquery-validation-unobtrusive/LICENSE.txt similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/jquery-validation-unobtrusive/LICENSE.txt rename to StudentHouseDashboard/WebApp/wwwroot/lib/jquery-validation-unobtrusive/LICENSE.txt diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js b/StudentHouseDashboard/WebApp/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js rename to StudentHouseDashboard/WebApp/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.js diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js b/StudentHouseDashboard/WebApp/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js rename to StudentHouseDashboard/WebApp/wwwroot/lib/jquery-validation-unobtrusive/jquery.validate.unobtrusive.min.js diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/jquery-validation/LICENSE.md b/StudentHouseDashboard/WebApp/wwwroot/lib/jquery-validation/LICENSE.md similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/jquery-validation/LICENSE.md rename to StudentHouseDashboard/WebApp/wwwroot/lib/jquery-validation/LICENSE.md diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/jquery-validation/dist/additional-methods.js b/StudentHouseDashboard/WebApp/wwwroot/lib/jquery-validation/dist/additional-methods.js similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/jquery-validation/dist/additional-methods.js rename to StudentHouseDashboard/WebApp/wwwroot/lib/jquery-validation/dist/additional-methods.js diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/jquery-validation/dist/additional-methods.min.js b/StudentHouseDashboard/WebApp/wwwroot/lib/jquery-validation/dist/additional-methods.min.js similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/jquery-validation/dist/additional-methods.min.js rename to StudentHouseDashboard/WebApp/wwwroot/lib/jquery-validation/dist/additional-methods.min.js diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/jquery-validation/dist/jquery.validate.js b/StudentHouseDashboard/WebApp/wwwroot/lib/jquery-validation/dist/jquery.validate.js similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/jquery-validation/dist/jquery.validate.js rename to StudentHouseDashboard/WebApp/wwwroot/lib/jquery-validation/dist/jquery.validate.js diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/jquery-validation/dist/jquery.validate.min.js b/StudentHouseDashboard/WebApp/wwwroot/lib/jquery-validation/dist/jquery.validate.min.js similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/jquery-validation/dist/jquery.validate.min.js rename to StudentHouseDashboard/WebApp/wwwroot/lib/jquery-validation/dist/jquery.validate.min.js diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/jquery/LICENSE.txt b/StudentHouseDashboard/WebApp/wwwroot/lib/jquery/LICENSE.txt similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/jquery/LICENSE.txt rename to StudentHouseDashboard/WebApp/wwwroot/lib/jquery/LICENSE.txt diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/jquery/dist/jquery.js b/StudentHouseDashboard/WebApp/wwwroot/lib/jquery/dist/jquery.js similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/jquery/dist/jquery.js rename to StudentHouseDashboard/WebApp/wwwroot/lib/jquery/dist/jquery.js diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/jquery/dist/jquery.min.js b/StudentHouseDashboard/WebApp/wwwroot/lib/jquery/dist/jquery.min.js similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/jquery/dist/jquery.min.js rename to StudentHouseDashboard/WebApp/wwwroot/lib/jquery/dist/jquery.min.js diff --git a/StudentHouseDashboard/WebApplication1/wwwroot/lib/jquery/dist/jquery.min.map b/StudentHouseDashboard/WebApp/wwwroot/lib/jquery/dist/jquery.min.map similarity index 100% rename from StudentHouseDashboard/WebApplication1/wwwroot/lib/jquery/dist/jquery.min.map rename to StudentHouseDashboard/WebApp/wwwroot/lib/jquery/dist/jquery.min.map diff --git a/StudentHouseDashboard/WebApplication1/Areas/Identity/Pages/_ViewStart.cshtml b/StudentHouseDashboard/WebApplication1/Areas/Identity/Pages/_ViewStart.cshtml deleted file mode 100644 index 7bd9b6b..0000000 --- a/StudentHouseDashboard/WebApplication1/Areas/Identity/Pages/_ViewStart.cshtml +++ /dev/null @@ -1,3 +0,0 @@ -@{ - Layout = "/Pages/Shared/_Layout.cshtml"; -} diff --git a/StudentHouseDashboard/WebApplication1/Data/ApplicationDbContext.cs b/StudentHouseDashboard/WebApplication1/Data/ApplicationDbContext.cs deleted file mode 100644 index d8c375b..0000000 --- a/StudentHouseDashboard/WebApplication1/Data/ApplicationDbContext.cs +++ /dev/null @@ -1,13 +0,0 @@ -using Microsoft.AspNetCore.Identity.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore; - -namespace WebApplication1.Data -{ - public class ApplicationDbContext : IdentityDbContext - { - public ApplicationDbContext(DbContextOptions options) - : base(options) - { - } - } -} \ No newline at end of file diff --git a/StudentHouseDashboard/WebApplication1/Data/Migrations/00000000000000_CreateIdentitySchema.Designer.cs b/StudentHouseDashboard/WebApplication1/Data/Migrations/00000000000000_CreateIdentitySchema.Designer.cs deleted file mode 100644 index 8bf2544..0000000 --- a/StudentHouseDashboard/WebApplication1/Data/Migrations/00000000000000_CreateIdentitySchema.Designer.cs +++ /dev/null @@ -1,277 +0,0 @@ -// -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Infrastructure; -using Microsoft.EntityFrameworkCore.Metadata; -using Microsoft.EntityFrameworkCore.Migrations; -using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -using System; -using WebApplication1.Data; - -namespace WebApplication1.Data.Migrations -{ - [DbContext(typeof(ApplicationDbContext))] - [Migration("00000000000000_CreateIdentitySchema")] - partial class CreateIdentitySchema - { - protected override void BuildTargetModel(ModelBuilder modelBuilder) - { -#pragma warning disable 612, 618 - modelBuilder - .HasAnnotation("ProductVersion", "3.0.0") - .HasAnnotation("Relational:MaxIdentifierLength", 128) - .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn); - - modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityRole", b => - { - b.Property("Id") - .HasColumnType("nvarchar(450)"); - - b.Property("ConcurrencyStamp") - .IsConcurrencyToken() - .HasColumnType("nvarchar(max)"); - - b.Property("Name") - .HasColumnType("nvarchar(256)") - .HasMaxLength(256); - - b.Property("NormalizedName") - .HasColumnType("nvarchar(256)") - .HasMaxLength(256); - - b.HasKey("Id"); - - b.HasIndex("NormalizedName") - .IsUnique() - .HasName("RoleNameIndex") - .HasFilter("[NormalizedName] IS NOT NULL"); - - b.ToTable("AspNetRoles"); - }); - - modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityRoleClaim", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int") - .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn); - - b.Property("ClaimType") - .HasColumnType("nvarchar(max)"); - - b.Property("ClaimValue") - .HasColumnType("nvarchar(max)"); - - b.Property("RoleId") - .IsRequired() - .HasColumnType("nvarchar(450)"); - - b.HasKey("Id"); - - b.HasIndex("RoleId"); - - b.ToTable("AspNetRoleClaims"); - }); - - modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUser", b => - { - b.Property("Id") - .HasColumnType("nvarchar(450)"); - - b.Property("AccessFailedCount") - .HasColumnType("int"); - - b.Property("ConcurrencyStamp") - .IsConcurrencyToken() - .HasColumnType("nvarchar(max)"); - - b.Property("Email") - .HasColumnType("nvarchar(256)") - .HasMaxLength(256); - - b.Property("EmailConfirmed") - .HasColumnType("bit"); - - b.Property("LockoutEnabled") - .HasColumnType("bit"); - - b.Property("LockoutEnd") - .HasColumnType("datetimeoffset"); - - b.Property("NormalizedEmail") - .HasColumnType("nvarchar(256)") - .HasMaxLength(256); - - b.Property("NormalizedUserName") - .HasColumnType("nvarchar(256)") - .HasMaxLength(256); - - b.Property("PasswordHash") - .HasColumnType("nvarchar(max)"); - - b.Property("PhoneNumber") - .HasColumnType("nvarchar(max)"); - - b.Property("PhoneNumberConfirmed") - .HasColumnType("bit"); - - b.Property("SecurityStamp") - .HasColumnType("nvarchar(max)"); - - b.Property("TwoFactorEnabled") - .HasColumnType("bit"); - - b.Property("UserName") - .HasColumnType("nvarchar(256)") - .HasMaxLength(256); - - b.HasKey("Id"); - - b.HasIndex("NormalizedEmail") - .HasName("EmailIndex"); - - b.HasIndex("NormalizedUserName") - .IsUnique() - .HasName("UserNameIndex") - .HasFilter("[NormalizedUserName] IS NOT NULL"); - - b.ToTable("AspNetUsers"); - }); - - modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserClaim", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int") - .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn); - - b.Property("ClaimType") - .HasColumnType("nvarchar(max)"); - - b.Property("ClaimValue") - .HasColumnType("nvarchar(max)"); - - b.Property("UserId") - .IsRequired() - .HasColumnType("nvarchar(450)"); - - b.HasKey("Id"); - - b.HasIndex("UserId"); - - b.ToTable("AspNetUserClaims"); - }); - - modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserLogin", b => - { - b.Property("LoginProvider") - .HasColumnType("nvarchar(128)") - .HasMaxLength(128); - - b.Property("ProviderKey") - .HasColumnType("nvarchar(128)") - .HasMaxLength(128); - - b.Property("ProviderDisplayName") - .HasColumnType("nvarchar(max)"); - - b.Property("UserId") - .IsRequired() - .HasColumnType("nvarchar(450)"); - - b.HasKey("LoginProvider", "ProviderKey"); - - b.HasIndex("UserId"); - - b.ToTable("AspNetUserLogins"); - }); - - modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserRole", b => - { - b.Property("UserId") - .HasColumnType("nvarchar(450)"); - - b.Property("RoleId") - .HasColumnType("nvarchar(450)"); - - b.HasKey("UserId", "RoleId"); - - b.HasIndex("RoleId"); - - b.ToTable("AspNetUserRoles"); - }); - - modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserToken", b => - { - b.Property("UserId") - .HasColumnType("nvarchar(450)"); - - b.Property("LoginProvider") - .HasColumnType("nvarchar(128)") - .HasMaxLength(128); - - b.Property("Name") - .HasColumnType("nvarchar(128)") - .HasMaxLength(128); - - b.Property("Value") - .HasColumnType("nvarchar(max)"); - - b.HasKey("UserId", "LoginProvider", "Name"); - - b.ToTable("AspNetUserTokens"); - }); - - modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityRoleClaim", b => - { - b.HasOne("Microsoft.AspNetCore.Identity.IdentityRole", null) - .WithMany() - .HasForeignKey("RoleId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - }); - - modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserClaim", b => - { - b.HasOne("Microsoft.AspNetCore.Identity.IdentityUser", null) - .WithMany() - .HasForeignKey("UserId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - }); - - modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserLogin", b => - { - b.HasOne("Microsoft.AspNetCore.Identity.IdentityUser", null) - .WithMany() - .HasForeignKey("UserId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - }); - - modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserRole", b => - { - b.HasOne("Microsoft.AspNetCore.Identity.IdentityRole", null) - .WithMany() - .HasForeignKey("RoleId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("Microsoft.AspNetCore.Identity.IdentityUser", null) - .WithMany() - .HasForeignKey("UserId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - }); - - modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserToken", b => - { - b.HasOne("Microsoft.AspNetCore.Identity.IdentityUser", null) - .WithMany() - .HasForeignKey("UserId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - }); -#pragma warning restore 612, 618 - } - } -} diff --git a/StudentHouseDashboard/WebApplication1/Data/Migrations/00000000000000_CreateIdentitySchema.cs b/StudentHouseDashboard/WebApplication1/Data/Migrations/00000000000000_CreateIdentitySchema.cs deleted file mode 100644 index 3c3a6fe..0000000 --- a/StudentHouseDashboard/WebApplication1/Data/Migrations/00000000000000_CreateIdentitySchema.cs +++ /dev/null @@ -1,220 +0,0 @@ -using Microsoft.EntityFrameworkCore.Metadata; -using Microsoft.EntityFrameworkCore.Migrations; -using System; - -namespace WebApplication1.Data.Migrations -{ - public partial class CreateIdentitySchema : Migration - { - protected override void Up(MigrationBuilder migrationBuilder) - { - migrationBuilder.CreateTable( - name: "AspNetRoles", - columns: table => new - { - Id = table.Column(nullable: false), - Name = table.Column(maxLength: 256, nullable: true), - NormalizedName = table.Column(maxLength: 256, nullable: true), - ConcurrencyStamp = table.Column(nullable: true) - }, - constraints: table => - { - table.PrimaryKey("PK_AspNetRoles", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "AspNetUsers", - columns: table => new - { - Id = table.Column(nullable: false), - UserName = table.Column(maxLength: 256, nullable: true), - NormalizedUserName = table.Column(maxLength: 256, nullable: true), - Email = table.Column(maxLength: 256, nullable: true), - NormalizedEmail = table.Column(maxLength: 256, nullable: true), - EmailConfirmed = table.Column(nullable: false), - PasswordHash = table.Column(nullable: true), - SecurityStamp = table.Column(nullable: true), - ConcurrencyStamp = table.Column(nullable: true), - PhoneNumber = table.Column(nullable: true), - PhoneNumberConfirmed = table.Column(nullable: false), - TwoFactorEnabled = table.Column(nullable: false), - LockoutEnd = table.Column(nullable: true), - LockoutEnabled = table.Column(nullable: false), - AccessFailedCount = table.Column(nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_AspNetUsers", x => x.Id); - }); - - migrationBuilder.CreateTable( - name: "AspNetRoleClaims", - columns: table => new - { - Id = table.Column(nullable: false) - .Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn), - RoleId = table.Column(nullable: false), - ClaimType = table.Column(nullable: true), - ClaimValue = table.Column(nullable: true) - }, - constraints: table => - { - table.PrimaryKey("PK_AspNetRoleClaims", x => x.Id); - table.ForeignKey( - name: "FK_AspNetRoleClaims_AspNetRoles_RoleId", - column: x => x.RoleId, - principalTable: "AspNetRoles", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "AspNetUserClaims", - columns: table => new - { - Id = table.Column(nullable: false) - .Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn), - UserId = table.Column(nullable: false), - ClaimType = table.Column(nullable: true), - ClaimValue = table.Column(nullable: true) - }, - constraints: table => - { - table.PrimaryKey("PK_AspNetUserClaims", x => x.Id); - table.ForeignKey( - name: "FK_AspNetUserClaims_AspNetUsers_UserId", - column: x => x.UserId, - principalTable: "AspNetUsers", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "AspNetUserLogins", - columns: table => new - { - LoginProvider = table.Column(maxLength: 128, nullable: false), - ProviderKey = table.Column(maxLength: 128, nullable: false), - ProviderDisplayName = table.Column(nullable: true), - UserId = table.Column(nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_AspNetUserLogins", x => new { x.LoginProvider, x.ProviderKey }); - table.ForeignKey( - name: "FK_AspNetUserLogins_AspNetUsers_UserId", - column: x => x.UserId, - principalTable: "AspNetUsers", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "AspNetUserRoles", - columns: table => new - { - UserId = table.Column(nullable: false), - RoleId = table.Column(nullable: false) - }, - constraints: table => - { - table.PrimaryKey("PK_AspNetUserRoles", x => new { x.UserId, x.RoleId }); - table.ForeignKey( - name: "FK_AspNetUserRoles_AspNetRoles_RoleId", - column: x => x.RoleId, - principalTable: "AspNetRoles", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - table.ForeignKey( - name: "FK_AspNetUserRoles_AspNetUsers_UserId", - column: x => x.UserId, - principalTable: "AspNetUsers", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateTable( - name: "AspNetUserTokens", - columns: table => new - { - UserId = table.Column(nullable: false), - LoginProvider = table.Column(maxLength: 128, nullable: false), - Name = table.Column(maxLength: 128, nullable: false), - Value = table.Column(nullable: true) - }, - constraints: table => - { - table.PrimaryKey("PK_AspNetUserTokens", x => new { x.UserId, x.LoginProvider, x.Name }); - table.ForeignKey( - name: "FK_AspNetUserTokens_AspNetUsers_UserId", - column: x => x.UserId, - principalTable: "AspNetUsers", - principalColumn: "Id", - onDelete: ReferentialAction.Cascade); - }); - - migrationBuilder.CreateIndex( - name: "IX_AspNetRoleClaims_RoleId", - table: "AspNetRoleClaims", - column: "RoleId"); - - migrationBuilder.CreateIndex( - name: "RoleNameIndex", - table: "AspNetRoles", - column: "NormalizedName", - unique: true, - filter: "[NormalizedName] IS NOT NULL"); - - migrationBuilder.CreateIndex( - name: "IX_AspNetUserClaims_UserId", - table: "AspNetUserClaims", - column: "UserId"); - - migrationBuilder.CreateIndex( - name: "IX_AspNetUserLogins_UserId", - table: "AspNetUserLogins", - column: "UserId"); - - migrationBuilder.CreateIndex( - name: "IX_AspNetUserRoles_RoleId", - table: "AspNetUserRoles", - column: "RoleId"); - - migrationBuilder.CreateIndex( - name: "EmailIndex", - table: "AspNetUsers", - column: "NormalizedEmail"); - - migrationBuilder.CreateIndex( - name: "UserNameIndex", - table: "AspNetUsers", - column: "NormalizedUserName", - unique: true, - filter: "[NormalizedUserName] IS NOT NULL"); - } - - protected override void Down(MigrationBuilder migrationBuilder) - { - migrationBuilder.DropTable( - name: "AspNetRoleClaims"); - - migrationBuilder.DropTable( - name: "AspNetUserClaims"); - - migrationBuilder.DropTable( - name: "AspNetUserLogins"); - - migrationBuilder.DropTable( - name: "AspNetUserRoles"); - - migrationBuilder.DropTable( - name: "AspNetUserTokens"); - - migrationBuilder.DropTable( - name: "AspNetRoles"); - - migrationBuilder.DropTable( - name: "AspNetUsers"); - } - } -} diff --git a/StudentHouseDashboard/WebApplication1/Data/Migrations/ApplicationDbContextModelSnapshot.cs b/StudentHouseDashboard/WebApplication1/Data/Migrations/ApplicationDbContextModelSnapshot.cs deleted file mode 100644 index d8b196d..0000000 --- a/StudentHouseDashboard/WebApplication1/Data/Migrations/ApplicationDbContextModelSnapshot.cs +++ /dev/null @@ -1,275 +0,0 @@ -// -using Microsoft.EntityFrameworkCore; -using Microsoft.EntityFrameworkCore.Infrastructure; -using Microsoft.EntityFrameworkCore.Metadata; -using Microsoft.EntityFrameworkCore.Storage.ValueConversion; -using System; -using WebApplication1.Data; - -namespace WebApplication1.Data.Migrations -{ - [DbContext(typeof(ApplicationDbContext))] - partial class ApplicationDbContextModelSnapshot : ModelSnapshot - { - protected override void BuildModel(ModelBuilder modelBuilder) - { -#pragma warning disable 612, 618 - modelBuilder - .HasAnnotation("ProductVersion", "3.0.0") - .HasAnnotation("Relational:MaxIdentifierLength", 128) - .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn); - - modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityRole", b => - { - b.Property("Id") - .HasColumnType("nvarchar(450)"); - - b.Property("ConcurrencyStamp") - .IsConcurrencyToken() - .HasColumnType("nvarchar(max)"); - - b.Property("Name") - .HasColumnType("nvarchar(256)") - .HasMaxLength(256); - - b.Property("NormalizedName") - .HasColumnType("nvarchar(256)") - .HasMaxLength(256); - - b.HasKey("Id"); - - b.HasIndex("NormalizedName") - .IsUnique() - .HasName("RoleNameIndex") - .HasFilter("[NormalizedName] IS NOT NULL"); - - b.ToTable("AspNetRoles"); - }); - - modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityRoleClaim", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int") - .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn); - - b.Property("ClaimType") - .HasColumnType("nvarchar(max)"); - - b.Property("ClaimValue") - .HasColumnType("nvarchar(max)"); - - b.Property("RoleId") - .IsRequired() - .HasColumnType("nvarchar(450)"); - - b.HasKey("Id"); - - b.HasIndex("RoleId"); - - b.ToTable("AspNetRoleClaims"); - }); - - modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUser", b => - { - b.Property("Id") - .HasColumnType("nvarchar(450)"); - - b.Property("AccessFailedCount") - .HasColumnType("int"); - - b.Property("ConcurrencyStamp") - .IsConcurrencyToken() - .HasColumnType("nvarchar(max)"); - - b.Property("Email") - .HasColumnType("nvarchar(256)") - .HasMaxLength(256); - - b.Property("EmailConfirmed") - .HasColumnType("bit"); - - b.Property("LockoutEnabled") - .HasColumnType("bit"); - - b.Property("LockoutEnd") - .HasColumnType("datetimeoffset"); - - b.Property("NormalizedEmail") - .HasColumnType("nvarchar(256)") - .HasMaxLength(256); - - b.Property("NormalizedUserName") - .HasColumnType("nvarchar(256)") - .HasMaxLength(256); - - b.Property("PasswordHash") - .HasColumnType("nvarchar(max)"); - - b.Property("PhoneNumber") - .HasColumnType("nvarchar(max)"); - - b.Property("PhoneNumberConfirmed") - .HasColumnType("bit"); - - b.Property("SecurityStamp") - .HasColumnType("nvarchar(max)"); - - b.Property("TwoFactorEnabled") - .HasColumnType("bit"); - - b.Property("UserName") - .HasColumnType("nvarchar(256)") - .HasMaxLength(256); - - b.HasKey("Id"); - - b.HasIndex("NormalizedEmail") - .HasName("EmailIndex"); - - b.HasIndex("NormalizedUserName") - .IsUnique() - .HasName("UserNameIndex") - .HasFilter("[NormalizedUserName] IS NOT NULL"); - - b.ToTable("AspNetUsers"); - }); - - modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserClaim", b => - { - b.Property("Id") - .ValueGeneratedOnAdd() - .HasColumnType("int") - .HasAnnotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn); - - b.Property("ClaimType") - .HasColumnType("nvarchar(max)"); - - b.Property("ClaimValue") - .HasColumnType("nvarchar(max)"); - - b.Property("UserId") - .IsRequired() - .HasColumnType("nvarchar(450)"); - - b.HasKey("Id"); - - b.HasIndex("UserId"); - - b.ToTable("AspNetUserClaims"); - }); - - modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserLogin", b => - { - b.Property("LoginProvider") - .HasColumnType("nvarchar(128)") - .HasMaxLength(128); - - b.Property("ProviderKey") - .HasColumnType("nvarchar(128)") - .HasMaxLength(128); - - b.Property("ProviderDisplayName") - .HasColumnType("nvarchar(max)"); - - b.Property("UserId") - .IsRequired() - .HasColumnType("nvarchar(450)"); - - b.HasKey("LoginProvider", "ProviderKey"); - - b.HasIndex("UserId"); - - b.ToTable("AspNetUserLogins"); - }); - - modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserRole", b => - { - b.Property("UserId") - .HasColumnType("nvarchar(450)"); - - b.Property("RoleId") - .HasColumnType("nvarchar(450)"); - - b.HasKey("UserId", "RoleId"); - - b.HasIndex("RoleId"); - - b.ToTable("AspNetUserRoles"); - }); - - modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserToken", b => - { - b.Property("UserId") - .HasColumnType("nvarchar(450)"); - - b.Property("LoginProvider") - .HasColumnType("nvarchar(128)") - .HasMaxLength(128); - - b.Property("Name") - .HasColumnType("nvarchar(128)") - .HasMaxLength(128); - - b.Property("Value") - .HasColumnType("nvarchar(max)"); - - b.HasKey("UserId", "LoginProvider", "Name"); - - b.ToTable("AspNetUserTokens"); - }); - - modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityRoleClaim", b => - { - b.HasOne("Microsoft.AspNetCore.Identity.IdentityRole", null) - .WithMany() - .HasForeignKey("RoleId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - }); - - modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserClaim", b => - { - b.HasOne("Microsoft.AspNetCore.Identity.IdentityUser", null) - .WithMany() - .HasForeignKey("UserId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - }); - - modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserLogin", b => - { - b.HasOne("Microsoft.AspNetCore.Identity.IdentityUser", null) - .WithMany() - .HasForeignKey("UserId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - }); - - modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserRole", b => - { - b.HasOne("Microsoft.AspNetCore.Identity.IdentityRole", null) - .WithMany() - .HasForeignKey("RoleId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - - b.HasOne("Microsoft.AspNetCore.Identity.IdentityUser", null) - .WithMany() - .HasForeignKey("UserId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - }); - - modelBuilder.Entity("Microsoft.AspNetCore.Identity.IdentityUserToken", b => - { - b.HasOne("Microsoft.AspNetCore.Identity.IdentityUser", null) - .WithMany() - .HasForeignKey("UserId") - .OnDelete(DeleteBehavior.Cascade) - .IsRequired(); - }); -#pragma warning restore 612, 618 - } - } -} diff --git a/StudentHouseDashboard/WebApplication1/Pages/Contact.cshtml b/StudentHouseDashboard/WebApplication1/Pages/Contact.cshtml deleted file mode 100644 index a24a607..0000000 --- a/StudentHouseDashboard/WebApplication1/Pages/Contact.cshtml +++ /dev/null @@ -1,8 +0,0 @@ -@page -@model WebApplication1.Pages.ContactModel -@{ - ViewData["Title"] = "Contact"; -} -

@ViewData["Title"]

- -

E-mail: d.byalkov@student.fontys.nl.

diff --git a/StudentHouseDashboard/WebApplication1/Pages/Contact.cshtml.cs b/StudentHouseDashboard/WebApplication1/Pages/Contact.cshtml.cs deleted file mode 100644 index 1ee2302..0000000 --- a/StudentHouseDashboard/WebApplication1/Pages/Contact.cshtml.cs +++ /dev/null @@ -1,12 +0,0 @@ -using Microsoft.AspNetCore.Mvc; -using Microsoft.AspNetCore.Mvc.RazorPages; - -namespace WebApplication1.Pages -{ - public class ContactModel : PageModel - { - public void OnGet() - { - } - } -} diff --git a/StudentHouseDashboard/WebApplication1/Pages/Shared/_LoginPartial.cshtml b/StudentHouseDashboard/WebApplication1/Pages/Shared/_LoginPartial.cshtml deleted file mode 100644 index 7cc3147..0000000 --- a/StudentHouseDashboard/WebApplication1/Pages/Shared/_LoginPartial.cshtml +++ /dev/null @@ -1,26 +0,0 @@ -@using Microsoft.AspNetCore.Identity -@inject SignInManager SignInManager -@inject UserManager UserManager - - diff --git a/StudentHouseDashboard/WebApplication1/Pages/_ViewImports.cshtml b/StudentHouseDashboard/WebApplication1/Pages/_ViewImports.cshtml deleted file mode 100644 index c5f86a0..0000000 --- a/StudentHouseDashboard/WebApplication1/Pages/_ViewImports.cshtml +++ /dev/null @@ -1,5 +0,0 @@ -@using Microsoft.AspNetCore.Identity -@using WebApplication1 -@using WebApplication1.Data -@namespace WebApplication1.Pages -@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers diff --git a/StudentHouseDashboard/WebApplication1/Program.cs b/StudentHouseDashboard/WebApplication1/Program.cs deleted file mode 100644 index fed2897..0000000 --- a/StudentHouseDashboard/WebApplication1/Program.cs +++ /dev/null @@ -1,50 +0,0 @@ -using Microsoft.AspNetCore.Identity; -using Microsoft.EntityFrameworkCore; -using WebApplication1.Data; - -namespace WebApplication1 -{ - public class Program - { - public static void Main(string[] args) - { - var builder = WebApplication.CreateBuilder(args); - - // Add services to the container. - var connectionString = builder.Configuration.GetConnectionString("DefaultConnection") ?? throw new InvalidOperationException("Connection string 'DefaultConnection' not found."); - builder.Services.AddDbContext(options => - options.UseSqlServer(connectionString)); - builder.Services.AddDatabaseDeveloperPageExceptionFilter(); - - builder.Services.AddDefaultIdentity(options => options.SignIn.RequireConfirmedAccount = true) - .AddEntityFrameworkStores(); - builder.Services.AddRazorPages(); - - var app = builder.Build(); - - // Configure the HTTP request pipeline. - if (app.Environment.IsDevelopment()) - { - app.UseMigrationsEndPoint(); - } - else - { - 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.UseStaticFiles(); - - app.UseRouting(); - - app.UseAuthentication(); - app.UseAuthorization(); - - app.MapRazorPages(); - - app.Run(); - } - } -} \ No newline at end of file diff --git a/StudentHouseDashboard/WebApplication1/Properties/serviceDependencies.json b/StudentHouseDashboard/WebApplication1/Properties/serviceDependencies.json deleted file mode 100644 index d8177e0..0000000 --- a/StudentHouseDashboard/WebApplication1/Properties/serviceDependencies.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "dependencies": { - "mssql1": { - "type": "mssql", - "connectionId": "ConnectionStrings:DefaultConnection" - } - } -} \ No newline at end of file diff --git a/StudentHouseDashboard/WebApplication1/Properties/serviceDependencies.local.json b/StudentHouseDashboard/WebApplication1/Properties/serviceDependencies.local.json deleted file mode 100644 index 299aa9a..0000000 --- a/StudentHouseDashboard/WebApplication1/Properties/serviceDependencies.local.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "dependencies": { - "mssql1": { - "type": "mssql.local", - "connectionId": "ConnectionStrings:DefaultConnection" - } - } -} \ No newline at end of file diff --git a/StudentHouseDashboard/WebApplication1/WebApplication1.csproj b/StudentHouseDashboard/WebApplication1/WebApplication1.csproj deleted file mode 100644 index bcb6315..0000000 --- a/StudentHouseDashboard/WebApplication1/WebApplication1.csproj +++ /dev/null @@ -1,18 +0,0 @@ - - - - net6.0 - enable - enable - aspnet-WebApplication1-9e33114d-df4f-4ceb-b0f6-c48c4216d4c1 - - - - - - - - - - - diff --git a/StudentHouseDashboard/WebApplication1/appsettings.json b/StudentHouseDashboard/WebApplication1/appsettings.json deleted file mode 100644 index 8195dd6..0000000 --- a/StudentHouseDashboard/WebApplication1/appsettings.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "ConnectionStrings": { - "DefaultConnection": "Server=(localdb)\\mssqllocaldb;Database=aspnet-WebApplication1-53bc9b9d-9d6a-45d4-8429-2a2761773502;Trusted_Connection=True;MultipleActiveResultSets=true" - }, - "Logging": { - "LogLevel": { - "Default": "Information", - "Microsoft.AspNetCore": "Warning" - } - }, - "AllowedHosts": "*" -} diff --git a/docs/project-plan.docx b/docs/project-plan.docx index 5f33436..9c50b2e 100644 Binary files a/docs/project-plan.docx and b/docs/project-plan.docx differ diff --git a/docs/project-plan.pdf b/docs/project-plan.pdf index 7d10ab7..3408447 100644 Binary files a/docs/project-plan.pdf and b/docs/project-plan.pdf differ diff --git a/docs/umlclass.pdf b/docs/umlclass.pdf new file mode 100644 index 0000000..dacd694 Binary files /dev/null and b/docs/umlclass.pdf differ diff --git a/docs/umlclass.vsdx b/docs/umlclass.vsdx new file mode 100644 index 0000000..b169bf3 Binary files /dev/null and b/docs/umlclass.vsdx differ diff --git a/docs/urs.docx b/docs/urs.docx index d8aa11f..12b3967 100644 Binary files a/docs/urs.docx and b/docs/urs.docx differ diff --git a/docs/urs.pdf b/docs/urs.pdf index dfdad48..c305a50 100644 Binary files a/docs/urs.pdf and b/docs/urs.pdf differ