Skip to content

Hoai-Phong/CleanArchitecture_BaseCodeAutoServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project : Clean Architecture BaseCode

I'd like to share my experience in adopting the current .NET 8 standard. I've worked on numerous projects ranging from .NET 6 to .NET 7.

Following the Clean Architecture model, the technologies utilized include:

Unit tests:

Note:

1. I've established a base code template, handling:

Regarding the project structure, it includes the following layers: Application Domain Infrastructure

2. Concerning the UI project structure:

  • Blazor Server (WebUi)
  • Blazor Client (WebUi.Client)
  • Shared

3. Regarding the Unit test project structure:

  • Application.IntegrationTests
  • Application.UnitTests
  • Domain.UnitTests
  • WebUi.AcceptanceTests

To run the project, follow these steps:

  • Open cmd project.
  • Navigate to src\Infrastructure.
  • Run dotnet ef migrations add "Initial" --startup-project ..\WebUi\WebUi --context ApplicationDbContext --output-dir Data\Migrations.

Basic functionalities include:

  • User management: user registration, user authorization, role-based authorization, group-based authorization, and displaying detailed user information using Microsoft.AspNetCore.Identity library.
  • Todo list creation.
  • Loading weather information. For technical details, feel free to explore the code, and if there are any questions or uncertainties, don't hesitate to discuss with me.

Thank you for reading my sharing.

Developed by HoaiPhong

Web http://phongsharing.com/.

Contact And Support

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published