Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
TheDayIsMyEnemy committed Jul 19, 2024
1 parent b36ed17 commit e371eb9
Show file tree
Hide file tree
Showing 52 changed files with 256 additions and 209 deletions.
35 changes: 7 additions & 28 deletions BlazorTemplate.sln
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,9 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.0.31903.59
MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{D3CD4876-66D9-4D29-9F37-703465F4418D}"
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{80F695EB-98CA-42E7-823E-9ACCD5AF4935}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BlazorTemplate.Application", "src\BlazorTemplate.Application\BlazorTemplate.Application.csproj", "{23FE68B1-1083-4DBD-908B-E65B4CEB6A57}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BlazorTemplate.Domain", "src\BlazorTemplate.Domain\BlazorTemplate.Domain.csproj", "{724D3813-5F33-4106-B7F4-14BE6C2782EC}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BlazorTemplate.Infrastructure", "src\BlazorTemplate.Infrastructure\BlazorTemplate.Infrastructure.csproj", "{7C72D97C-B4AE-4B7B-9A02-1ABB5B67DD0C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BlazorTemplate.Web", "src\BlazorTemplate.Web\BlazorTemplate.Web.csproj", "{5974CEA8-69AE-49AA-AD53-0748B7E6FA5D}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "BlazorTemplate.Web", "src\BlazorTemplate.Web\BlazorTemplate.Web.csproj", "{F0931CE2-D1C0-44CD-8D72-4B8D8CF1A993}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -22,27 +16,12 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{23FE68B1-1083-4DBD-908B-E65B4CEB6A57}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{23FE68B1-1083-4DBD-908B-E65B4CEB6A57}.Debug|Any CPU.Build.0 = Debug|Any CPU
{23FE68B1-1083-4DBD-908B-E65B4CEB6A57}.Release|Any CPU.ActiveCfg = Release|Any CPU
{23FE68B1-1083-4DBD-908B-E65B4CEB6A57}.Release|Any CPU.Build.0 = Release|Any CPU
{724D3813-5F33-4106-B7F4-14BE6C2782EC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{724D3813-5F33-4106-B7F4-14BE6C2782EC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{724D3813-5F33-4106-B7F4-14BE6C2782EC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{724D3813-5F33-4106-B7F4-14BE6C2782EC}.Release|Any CPU.Build.0 = Release|Any CPU
{7C72D97C-B4AE-4B7B-9A02-1ABB5B67DD0C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{7C72D97C-B4AE-4B7B-9A02-1ABB5B67DD0C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{7C72D97C-B4AE-4B7B-9A02-1ABB5B67DD0C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{7C72D97C-B4AE-4B7B-9A02-1ABB5B67DD0C}.Release|Any CPU.Build.0 = Release|Any CPU
{5974CEA8-69AE-49AA-AD53-0748B7E6FA5D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5974CEA8-69AE-49AA-AD53-0748B7E6FA5D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5974CEA8-69AE-49AA-AD53-0748B7E6FA5D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5974CEA8-69AE-49AA-AD53-0748B7E6FA5D}.Release|Any CPU.Build.0 = Release|Any CPU
{F0931CE2-D1C0-44CD-8D72-4B8D8CF1A993}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F0931CE2-D1C0-44CD-8D72-4B8D8CF1A993}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F0931CE2-D1C0-44CD-8D72-4B8D8CF1A993}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F0931CE2-D1C0-44CD-8D72-4B8D8CF1A993}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{23FE68B1-1083-4DBD-908B-E65B4CEB6A57} = {D3CD4876-66D9-4D29-9F37-703465F4418D}
{724D3813-5F33-4106-B7F4-14BE6C2782EC} = {D3CD4876-66D9-4D29-9F37-703465F4418D}
{7C72D97C-B4AE-4B7B-9A02-1ABB5B67DD0C} = {D3CD4876-66D9-4D29-9F37-703465F4418D}
{5974CEA8-69AE-49AA-AD53-0748B7E6FA5D} = {D3CD4876-66D9-4D29-9F37-703465F4418D}
{F0931CE2-D1C0-44CD-8D72-4B8D8CF1A993} = {80F695EB-98CA-42E7-823E-9ACCD5AF4935}
EndGlobalSection
EndGlobal
14 changes: 0 additions & 14 deletions src/BlazorTemplate.Application/BlazorTemplate.Application.csproj

This file was deleted.

9 changes: 0 additions & 9 deletions src/BlazorTemplate.Domain/BlazorTemplate.Domain.csproj

This file was deleted.

7 changes: 0 additions & 7 deletions src/BlazorTemplate.Domain/Entities/BaseEntity.cs

This file was deleted.

This file was deleted.

19 changes: 0 additions & 19 deletions src/BlazorTemplate.Infrastructure/Data/AppDbContext.cs

This file was deleted.

17 changes: 0 additions & 17 deletions src/BlazorTemplate.Infrastructure/Data/AppDbContextSeed.cs

This file was deleted.

9 changes: 3 additions & 6 deletions src/BlazorTemplate.Web/BlazorTemplate.Web.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,9 @@
<PackageReference Include="MudBlazor" Version="7.*" />
<PackageReference Include="Extensions.MudBlazor.StaticInput" Version="2.*" />
<PackageReference Include="Serilog.AspNetCore" Version="8.0.1" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\BlazorTemplate.Application\BlazorTemplate.Application.csproj" />
<ProjectReference Include="..\BlazorTemplate.Domain\BlazorTemplate.Domain.csproj" />
<ProjectReference Include="..\BlazorTemplate.Infrastructure\BlazorTemplate.Infrastructure.csproj" />
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="8.0.2" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.2" />
<PackageReference Include="Pomelo.EntityFrameworkCore.MySql" Version="8.0.0" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Security.Claims;
using System.Text.Json;
using BlazorTemplate.Infrastructure.Identity;
using BlazorTemplate.Web.Identity;
using BlazorTemplate.Web.Components.Account.Pages;
using BlazorTemplate.Web.Components.Account.Pages.Manage;
using Microsoft.AspNetCore.Authentication;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Identity.UI.Services;
using BlazorTemplate.Infrastructure.Identity;
using BlazorTemplate.Web.Identity;

namespace BlazorTemplate.Web.Components.Account;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Microsoft.AspNetCore.Components.Server;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Options;
using BlazorTemplate.Infrastructure.Identity;
using BlazorTemplate.Web.Identity;

namespace BlazorTemplate.Web.Components.Account;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Microsoft.AspNetCore.Identity;
using BlazorTemplate.Infrastructure.Identity;
using BlazorTemplate.Web.Identity;

namespace BlazorTemplate.Web.Components.Account;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
@using System.Text
@using Microsoft.AspNetCore.Identity
@using Microsoft.AspNetCore.WebUtilities
@using BlazorTemplate.Infrastructure.Identity
@using BlazorTemplate.Web.Identity

@inject UserManager<User> UserManager
@inject IdentityRedirectManager RedirectManager
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
@using System.Text
@using Microsoft.AspNetCore.Identity
@using Microsoft.AspNetCore.WebUtilities
@using BlazorTemplate.Infrastructure.Identity
@using BlazorTemplate.Web.Identity

@inject UserManager<User> UserManager
@inject SignInManager<User> SignInManager
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
@using System.Text.Encodings.Web
@using Microsoft.AspNetCore.Identity
@using Microsoft.AspNetCore.WebUtilities
@using BlazorTemplate.Infrastructure.Identity
@using BlazorTemplate.Web.Identity

@inject SignInManager<User> SignInManager
@inject UserManager<User> UserManager
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@using System.Text.Encodings.Web
@using Microsoft.AspNetCore.Identity
@using Microsoft.AspNetCore.WebUtilities
@using BlazorTemplate.Infrastructure.Identity
@using BlazorTemplate.Web.Identity

@inject UserManager<User> UserManager
@inject IEmailSender<User> EmailSender
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
@using System.ComponentModel.DataAnnotations
@using Microsoft.AspNetCore.Authentication
@using Microsoft.AspNetCore.Identity
@using BlazorTemplate.Infrastructure.Identity
@using BlazorTemplate.Web.Identity

@inject SignInManager<User> SignInManager
@inject ILogger<Login> Logger
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

@using System.ComponentModel.DataAnnotations
@using Microsoft.AspNetCore.Identity
@using BlazorTemplate.Infrastructure.Identity
@using BlazorTemplate.Web.Identity

@inject SignInManager<User> SignInManager
@inject UserManager<User> UserManager
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

@using System.ComponentModel.DataAnnotations
@using Microsoft.AspNetCore.Identity
@using BlazorTemplate.Infrastructure.Identity
@using BlazorTemplate.Web.Identity

@inject SignInManager<User> SignInManager
@inject UserManager<User> UserManager
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

@using System.ComponentModel.DataAnnotations
@using BlazorTemplate.Web.Components.Account@using Microsoft.AspNetCore.Identity
@using BlazorTemplate.Infrastructure.Identity
@using BlazorTemplate.Web.Identity

@inject UserManager<User> UserManager
@inject SignInManager<User> SignInManager
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

@using System.ComponentModel.DataAnnotations
@using Microsoft.AspNetCore.Identity
@using BlazorTemplate.Infrastructure.Identity
@using BlazorTemplate.Web.Identity

@inject UserManager<User> UserManager
@inject SignInManager<User> SignInManager
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@page "/Account/Manage/Disable2fa"

@using Microsoft.AspNetCore.Identity
@using BlazorTemplate.Infrastructure.Identity
@using BlazorTemplate.Web.Identity
@using BlazorTemplate.Web.Components.Account
@inject UserManager<User> UserManager
@inject IdentityUserAccessor UserAccessor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@using System.Text.Encodings.Web
@using Microsoft.AspNetCore.Identity
@using Microsoft.AspNetCore.WebUtilities
@using BlazorTemplate.Infrastructure.Identity
@using BlazorTemplate.Web.Identity

@inject UserManager<User> UserManager
@inject IEmailSender<User> EmailSender
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@using System.Text
@using System.Text.Encodings.Web
@using BlazorTemplate.Web.Components.Account@using Microsoft.AspNetCore.Identity
@using BlazorTemplate.Infrastructure.Identity
@using BlazorTemplate.Web.Identity

@inject UserManager<User> UserManager
@inject IdentityUserAccessor UserAccessor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

@using Microsoft.AspNetCore.Authentication
@using Microsoft.AspNetCore.Identity
@using BlazorTemplate.Infrastructure.Identity
@using BlazorTemplate.Web.Identity

@inject UserManager<User> UserManager
@inject SignInManager<User> SignInManager
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@page "/Account/Manage/GenerateRecoveryCodes"

@using Microsoft.AspNetCore.Identity
@using BlazorTemplate.Infrastructure.Identity
@using BlazorTemplate.Web.Identity

@inject UserManager<User> UserManager
@inject IdentityUserAccessor UserAccessor
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

@using System.ComponentModel.DataAnnotations
@using Microsoft.AspNetCore.Identity
@using BlazorTemplate.Infrastructure.Identity
@using BlazorTemplate.Web.Identity

@inject UserManager<User> UserManager
@inject SignInManager<User> SignInManager
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@page "/Account/Manage/ResetAuthenticator"

@using Microsoft.AspNetCore.Identity
@using BlazorTemplate.Infrastructure.Identity
@using BlazorTemplate.Web.Identity

@inject UserManager<User> UserManager
@inject SignInManager<User> SignInManager
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

@using System.ComponentModel.DataAnnotations
@using Microsoft.AspNetCore.Identity
@using BlazorTemplate.Infrastructure.Identity
@using BlazorTemplate.Web.Identity

@inject UserManager<User> UserManager
@inject SignInManager<User> SignInManager
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

@using Microsoft.AspNetCore.Http.Features
@using Microsoft.AspNetCore.Identity
@using BlazorTemplate.Infrastructure.Identity
@using BlazorTemplate.Web.Identity

@inject UserManager<User> UserManager
@inject SignInManager<User> SignInManager
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@using System.Text.Encodings.Web
@using Microsoft.AspNetCore.Identity
@using Microsoft.AspNetCore.WebUtilities
@using BlazorTemplate.Infrastructure.Identity
@using BlazorTemplate.Web.Identity

@inject UserManager<User> UserManager
@inject IUserStore<User> UserStore
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
@using System.Text
@using Microsoft.AspNetCore.Identity
@using Microsoft.AspNetCore.WebUtilities
@using BlazorTemplate.Infrastructure.Identity
@using BlazorTemplate.Web.Identity

@inject UserManager<User> UserManager
@inject IEmailSender<User> EmailSender
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
@using System.Text.Encodings.Web
@using Microsoft.AspNetCore.Identity
@using Microsoft.AspNetCore.WebUtilities
@using BlazorTemplate.Infrastructure.Identity
@using BlazorTemplate.Web.Identity

@inject UserManager<User> UserManager
@inject IEmailSender<User> EmailSender
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
@using System.Text
@using Microsoft.AspNetCore.Identity
@using Microsoft.AspNetCore.WebUtilities
@using BlazorTemplate.Infrastructure.Identity
@using BlazorTemplate.Web.Identity

@inject IdentityRedirectManager RedirectManager
@inject UserManager<User> UserManager
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@using MudBlazor
@using BlazorTemplate.Web.Components.Account
@using BlazorTemplate.Web.Components.Account.Shared
@using BlazorTemplate.Infrastructure.Identity
@using BlazorTemplate.Web.Identity

@layout AccountLayout
Loading

0 comments on commit e371eb9

Please sign in to comment.