Location>code7788 >text

NET 8 + Blazor multi-tenant, modular, DDD framework, out-of-the-box

Popularity:490 ℃/2024-08-09 10:44:50

preamble

NET 8 based open source project , mainly using WebAPI + Blazor support multi-tenant and modular design , DDD build. Can help us easily build a fully functional Web application . In addition to help you quickly build applications , the project can also be used as learning materials . We can learn about multi-tenancy, CQRS, DDD architecture, cloud deployment, Docker containerization and other cutting-edge technologies.

Project Profile

dotnet-starter-kit NET 8 is an open source project based on .NET 8 , it uses Clean Architecture principles , support for multi-tenant and modular design . This project is an out-of-the-box solution , ideal for rapid development of Web applications .

Database support

  • PostgreSQL
  • MySQL
  • MSSQL
  • Oracle

Project Technology Stack

  • multi-tenant architecture

  • CQRS (Command Query Responsibility Segregation)

  • DDD Architecture

  • Clean coding standards

  • Terraform to AWS Cloud Deployment

  • Docker Concepts

  • CI/CD pipelines and workflows

  • Core 8

  • Entity Framework Core 8

  • Blazor

  • MediatR (for CQRS model)

  • PostgreSQL (Database)

  • Redis (caching)

  • FluentValidation (Data Validation)

Operation and deployment

1、Download project

git clone https:///fullstackhero/

2. Open the project

Open with Visual Studio./src/ Documentation.

The structure of the project is shown in the figure below:

3. Project structure

activate (a plan) solution, which consists of the following three items:

  • Aspire Dashboard (default project)
  • Web API
  • Blazor

4. Modify the connection string

exist./src/api/server/ Modify in the fileDatabaseOptions (used form a nominal expression)ConnectionString String concatenation.

5. Launching the project

Start the project separately:

  • Aspire Dashboard: Launched by default, accessed athttps://localhost:7200/
  • Web API: access addresshttps://localhost:7000/swagger/
  • Blazor: Visit Addresshttps://localhost:7100/

6. Deployment

  • Docker: The project supports Docker for easy containerized deployment.
  • AWS: The project provides guidelines for deploying to AWS.

Project Showcase

Project Address

  • Github /fullstackhero/
  • Gitee /xie-bing/dotnet-starter-kit

ultimate

If you found this article helpful, why not support it with a like? Your support is what keeps me motivated to continue sharing my knowledge. Feel free to leave a comment if you have any questions or need further help.

You can also join WeChat [DotNet Technician] community to share ideas and grow with other tech-loving peers!