diff --git a/docker-compose.dcproj b/docker-compose.dcproj
index 7a1657f92..caaff1ac8 100644
--- a/docker-compose.dcproj
+++ b/docker-compose.dcproj
@@ -27,4 +27,7 @@
+
+
+
\ No newline at end of file
diff --git a/src/Application/Application.csproj b/src/Application/Application.csproj
index b04918fe2..18c239501 100644
--- a/src/Application/Application.csproj
+++ b/src/Application/Application.csproj
@@ -17,8 +17,6 @@
-
-
diff --git a/src/Application/Common/Behaviours/ValidationBehaviour.cs b/src/Application/Common/Behaviours/ValidationBehaviour.cs
index 424bd23c9..cfbe6bb9d 100644
--- a/src/Application/Common/Behaviours/ValidationBehaviour.cs
+++ b/src/Application/Common/Behaviours/ValidationBehaviour.cs
@@ -1,9 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
-using Fluxor;
-using System;
-
namespace CleanArchitecture.Blazor.Application.Common.Behaviours;
public class ValidationBehaviour : IPipelineBehavior
diff --git a/src/Application/DependencyInjection.cs b/src/Application/DependencyInjection.cs
index 4638f4141..14446b9ec 100644
--- a/src/Application/DependencyInjection.cs
+++ b/src/Application/DependencyInjection.cs
@@ -33,10 +33,6 @@ public static IServiceCollection AddApplicationServices(this IServiceCollection
});
- services.AddFluxor(options => {
- options.ScanAssemblies(Assembly.GetExecutingAssembly());
- options.UseReduxDevTools();
- });
services.AddLazyCache();
services.AddScoped();
services.AddScoped(sp => {
diff --git a/src/Application/Features/Fluxor/Reducers.cs b/src/Application/Features/Fluxor/Reducers.cs
deleted file mode 100644
index af59c2ec2..000000000
--- a/src/Application/Features/Fluxor/Reducers.cs
+++ /dev/null
@@ -1,12 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace CleanArchitecture.Blazor.Application.Features.Fluxor;
-public static class Reducers
-{
- [ReducerMethod]
- public static UserProfileState ReduceUserProfileUpdateAction(UserProfileState state, UserProfileUpdateAction action) => new(action.UserProfile);
-}
diff --git a/src/Application/Features/Fluxor/UserProfileState.cs b/src/Application/Features/Fluxor/UserProfileState.cs
deleted file mode 100644
index 26ae15f88..000000000
--- a/src/Application/Features/Fluxor/UserProfileState.cs
+++ /dev/null
@@ -1,40 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-using CleanArchitecture.Blazor.Application.Features.Identity.Dto;
-
-namespace CleanArchitecture.Blazor.Application.Features.Fluxor;
-[FeatureState]
-public class UserProfileState
-{
- public UserProfile UserProfile { get; }
- public UserProfileState()
- {
- UserProfile = new() { Email= string.Empty, UserId=string.Empty,UserName= string.Empty };
- }
- public UserProfileState(UserProfile userProfile)
- {
- UserProfile = userProfile;
- }
- public UserProfileState(ApplicationUserDto dto)
- {
- UserProfile = new UserProfile()
- {
- UserId = dto.Id,
- ProfilePictureDataUrl = dto.ProfilePictureDataUrl,
- Email = dto.Email,
- PhoneNumber = dto.PhoneNumber,
- DisplayName = dto.DisplayName,
- Provider = dto.Provider,
- UserName = dto.UserName,
- TenantId = dto.TenantId,
- TenantName = dto.TenantName,
- SuperiorId = dto.SuperiorId,
- SuperiorName = dto.SuperiorName,
- AssignedRoles = dto.AssignedRoles,
- DefaultRole = dto.DefaultRole
- };
- }
-}
diff --git a/src/Application/Features/Fluxor/UserProfileUpdateAction.cs b/src/Application/Features/Fluxor/UserProfileUpdateAction.cs
deleted file mode 100644
index b7b22843c..000000000
--- a/src/Application/Features/Fluxor/UserProfileUpdateAction.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-using System;
-using System.Collections.Generic;
-using System.Linq;
-using System.Text;
-using System.Threading.Tasks;
-
-namespace CleanArchitecture.Blazor.Application.Features.Fluxor;
-public class UserProfileUpdateAction
-{
- public required UserProfile UserProfile { get; set; }
-}
diff --git a/src/Application/Features/Identity/Notification/UpdateUserProfileCommand.cs b/src/Application/Features/Identity/Notification/UpdateUserProfileCommand.cs
new file mode 100644
index 000000000..6cb7fa00a
--- /dev/null
+++ b/src/Application/Features/Identity/Notification/UpdateUserProfileCommand.cs
@@ -0,0 +1,15 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace CleanArchitecture.Blazor.Application.Features.Identity.Notification;
+public class UpdateUserProfileCommand:INotification
+{
+ public UserProfile UserProfile { get; set; } = null!;
+}
+public class UpdateUserProfileEventArgs : EventArgs
+{
+ public UserProfile UserProfile { get; set; } = null!;
+}
diff --git a/src/Application/_Imports.cs b/src/Application/_Imports.cs
index 9c3046cc6..ba057e1a9 100644
--- a/src/Application/_Imports.cs
+++ b/src/Application/_Imports.cs
@@ -1,5 +1,4 @@
global using MediatR;
-global using Fluxor;
global using MediatR.Pipeline;
global using LazyCache;
global using Microsoft.Extensions.Localization;
diff --git a/src/Blazor.Server.UI/App.razor b/src/Blazor.Server.UI/App.razor
index 247a224c4..961969357 100644
--- a/src/Blazor.Server.UI/App.razor
+++ b/src/Blazor.Server.UI/App.razor
@@ -1,7 +1,6 @@
@inject IStringLocalizer L
-
diff --git a/src/Blazor.Server.UI/Components/Shared/SideMenu.razor b/src/Blazor.Server.UI/Components/Shared/SideMenu.razor
index 915a59d47..da2136d28 100644
--- a/src/Blazor.Server.UI/Components/Shared/SideMenu.razor
+++ b/src/Blazor.Server.UI/Components/Shared/SideMenu.razor
@@ -1,7 +1,6 @@
@using Blazor.Server.UI.Models.SideMenu
@inject IStringLocalizer L
-@inherits FluxorComponent