Skip to content

Migrate project (branch RoleManager) net5.0 to net8.0#2

Open
AngeloDotNet wants to merge 10 commits intoBrightSoul:RoleManagerfrom
AngeloDotNet:RoleManager
Open

Migrate project (branch RoleManager) net5.0 to net8.0#2
AngeloDotNet wants to merge 10 commits intoBrightSoul:RoleManagerfrom
AngeloDotNet:RoleManager

Conversation

@AngeloDotNet
Copy link
Contributor

No description provided.

@BrightSoul
Copy link
Owner

Ciao e grazie per la PR! Occhio, c'è il tuo nome e indirizzo email nel db, meglio rimuoverlo.
Casomai elimina e rigenera il db usando le migration, poi farò il merge.

@AngeloDotNet
Copy link
Contributor Author

This pull request includes several changes to modernize the codebase by adopting file-scoped namespaces and updating the target framework. The most important changes include refactoring namespaces, updating the target framework, and cleaning up the code formatting.

Refactoring namespaces:

  • Converted to file-scoped namespaces across multiple files for cleaner and more concise code. (Data/ApplicationDbContext.cs, Models/Authorization/PermissionAuthorizationHandler.cs, Models/Authorization/PermissionPolicyProvider.cs, Models/Authorization/PermissionRequirement.cs, Models/Entities/ApplicationRole.cs, Models/Entities/ApplicationUser.cs, Models/Enums/Permission.cs, Models/InputModels/EditClaimInputModel.cs, Models/InputModels/EditRoleInputModel.cs, Models/InputModels/RoleCreateInputModel.cs, Models/InputModels/RoleEditInfoInputModel.cs, Models/InputModels/UserCreateInputModel.cs, Models/InputModels/UserEditProfileInputModel.cs, Models/ViewModels/UserListViewModel.cs, Program.cs, Startup.cs) [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16]

Updating target framework:

  • Updated the target framework from .NET 5.0 to .NET 8.0 in the project file. (UserManagementUiDemo.csproj)
  • Updated the README to reflect the new target framework version. (README.md)

Code formatting improvements:

  • Cleaned up and reformatted code for better readability and maintainability. (Startup.cs, Program.cs, Models/InputModels/UserCreateInputModel.cs) [1] [2] [3]

@AngeloDotNet AngeloDotNet changed the title Migrate project (branch RoleManager) from net5.0 to net8.0 Migrate project (branch RoleManager) net5.0 to net8.0 Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants