Wally.CleanArchitecture.Template 1.3.3159

dotnet new install Wally.CleanArchitecture.Template::1.3.3159
                    
This package contains a .NET Template Package you can call from the shell/command line.

Wally.CleanArchitecture

Installation

dotnet new install Wally.CleanArchitecture.Template

Usage

dotnet new wally.cleanarchitecture --output . --name MyCompanyName.MyAppName --serviceName MyServiceName -proxy=true -service=true -frontend=true -storybook=true

Details

Architecture

classDiagram
    class IEntity {
        +Id: Guid
    }
    
    class User {
        +Id: Guid
        +Name: string
        +Email: string
    }
    
    class IRepository {
        +GetById(id: Guid)
        +Add(entity)
    }

    class IUserRepository {
        +GetByEmail(email: string): User
    }
    
    class IUseCase {
        +Execute()
    }
    
    class RegisterUserUseCase {
        +Execute(request: RegisterUserRequest)
    }
    
    class RegisterUserRequest {
        +Name: string
        +Email: string
    }
    
    class EfUserRepository {
        +GetByEmail(email: string): User
    }
    
    class UserController {
        +Register(request: RegisterUserRequest)
    }
    
    User --> IEntity
    IUserRepository <|-- EfUserRepository
    IRepository <|-- IUserRepository
    RegisterUserUseCase --> IUserRepository
    UserController --> RegisterUserUseCase
  • .Net 8 WebApi ReverseProxy
    • YARP
  • .Net 8 WebApi MicroService
    • AppSettings
    • CORS
    • FluentValidation
    • OAuth2
  • Swagger
  • Serilog
  • HealthChecks
    • UI
    • MicroService endpoint
  • MediatR
    • LogBehavior
    • TransactionBehavior
    • ValidatorBehavior (IComamnd, IQuery)
    • DomainEventBehavior
    • NotificationBehavior
    • UpdateMetadataBehavior
    • SoftDeleteBehavior
  • MassTransit
    • Azure ServiceBus
    • RabbitMQ
    • Kafka
  • Scrutor github
  • OData
  • HttpGlobalExceptionFilter
  • Entity Framework
    • MySql
    • MS Sql
    • PostgreSQL
    • SQLite
    • InMemoryDb
    • Optimistic Concurrency
    • Generic Repository + Specific Repository
  • xUnit
    • ApprovalTests
    • IntegrationTests
    • UnitTests
    • ConventionTests
    • Verify github
    • [-] FluentAssertions github
    • Shouldly github
  • AppInsights Metrics
  • OpenTelemetry
  • IaC
    • Terraform
    • Bicep
  • Mapper
  • SignalR
  • GitHub
    • Workflow
  • Docker

Info

doc

TODO

  • Fix [CS1591] Missing XML comment warnings
  • Move CORS settings to ApiGateway
  • Authentication in ApiGateway
  • Authorization in MicroService
  • SignalR Hub Service
  • Move Application.Contracts to Presentation layer
  • EntityId YT
  • Entity Framework Repository GH
  • Multitenancy GH
  • IRequestContext with CorrelationId + SeriLog.Enrich.CorrelationId 1. 2.
  • Graceful Shutdown post

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.3.3159 94 4/12/2025
1.3.3146 272 3/23/2025
1.3.3087 138 2/2/2025
1.3.3083 119 1/30/2025
1.3.3074 114 1/25/2025
1.3.3064 91 1/24/2025
1.3.3047 111 1/17/2025
1.3.3022 101 1/11/2025
1.3.2945 147 12/13/2024
1.3.2943 120 12/12/2024
1.3.2901 117 11/28/2024
1.3.2900 114 11/25/2024
1.3.2894 127 11/23/2024
1.3.2884 119 11/17/2024
1.3.2872 125 11/16/2024
1.3.2866 118 11/9/2024
1.3.2865 117 11/9/2024
1.3.2862 109 11/8/2024
1.3.2860 113 11/7/2024
1.3.2829 122 10/24/2024
1.3.2783 113 10/23/2024
1.3.2746 142 10/18/2024
1.3.2735 118 10/18/2024
1.3.2721 126 10/18/2024
1.3.2720 104 10/17/2024
1.3.2710 124 10/10/2024
1.3.2704 112 10/9/2024
1.3.2680 109 10/2/2024
1.3.2674 125 9/25/2024
1.3.2665 123 9/13/2024
1.3.2654 125 8/26/2024
1.3.2652 128 8/5/2024
1.3.2650 100 7/30/2024
1.3.2638 147 7/11/2024
1.3.2634 126 7/10/2024
1.3.2621 153 7/6/2024
1.3.2615 151 6/27/2024
1.3.2584 256 5/26/2024
1.3.2579 163 5/25/2024
1.3.2575 125 5/25/2024
1.3.2571 126 5/25/2024
1.3.2570 160 5/24/2024
1.3.2563 160 5/23/2024
1.3.2562 113 5/23/2024
1.3.2560 139 5/22/2024
1.3.2557 150 5/21/2024
1.3.2554 118 5/21/2024
1.3.2551 150 5/20/2024
1.3.2547 187 5/17/2024
1.3.2537 127 5/16/2024
1.3.2536 112 5/16/2024
1.3.2535 271 5/9/2024
1.3.2527 124 4/26/2024
1.3.2510 131 4/24/2024
1.3.2490 181 4/13/2024
1.3.2473 178 4/8/2024
1.3.2471 185 4/8/2024
1.3.2431 197 4/4/2024
1.3.2404 341 3/22/2024
1.3.2401 192 3/21/2024
1.3.2366 1,062 2/21/2024
1.3.2365 402 2/21/2024
1.3.2347 730 2/9/2024
1.3.2248 2,262 12/6/2023
1.3.2243 575 12/5/2023
1.3.2227 955 11/26/2023
1.3.2222 696 11/26/2023
1.3.2212 832 11/18/2023
1.3.2209 547 11/17/2023
1.3.2172 1,111 11/1/2023
1.3.2166 778 10/30/2023
1.3.2163 737 10/29/2023
1.3.2149 1,003 10/18/2023
1.3.2137 1,154 10/3/2023
1.3.2108 775 9/25/2023
1.3.2093 805 9/17/2023
1.3.2086 836 8/27/2023
1.3.2085 907 8/27/2023
1.3.2042 999 6/23/2023
1.3.2023 888 6/15/2023
1.3.1982 967 5/28/2023
1.3.1974 822 5/26/2023
1.3.1954 846 5/20/2023
1.3.1948 878 5/18/2023
1.3.1947 724 5/18/2023
1.3.1941 911 5/17/2023
1.3.1933 967 5/15/2023
1.3.1913 883 5/12/2023
1.3.1912 1,003 5/12/2023
1.3.1861 1,155 3/24/2023
1.3.1860 1,028 3/24/2023
1.3.1850 907 3/18/2023
1.3.1847 1,031 3/15/2023
1.3.1846 961 3/14/2023
1.3.1844 1,038 3/14/2023
1.3.1835 835 3/9/2023
1.3.1834 871 3/9/2023
1.3.1832 823 3/9/2023
1.3.1829 908 3/9/2023
1.3.1817 988 3/3/2023
1.2.1814 1,259 2/27/2023
1.2.1811 1,105 2/20/2023
1.2.1767 1,184 1/18/2023
1.2.1760 1,210 1/14/2023
1.2.1743 1,288 12/25/2022
1.2.1701 1,267 11/23/2022
1.2.1690 1,265 11/14/2022
1.2.1689 1,274 11/14/2022
1.2.1687 1,263 11/14/2022
1.2.1685 1,241 11/11/2022
1.2.8 1,254 11/1/2022
1.2.7 1,065 11/1/2022
1.2.6 1,291 11/1/2022
1.2.5 1,406 10/4/2022
1.2.4 1,394 9/9/2022
1.2.3 1,481 6/9/2022
1.2.2 1,285 6/9/2022
1.2.1 1,287 4/17/2022
1.2.0 1,474 4/17/2022
1.1.1553 1,416 6/10/2022
1.1.1516 1,272 4/17/2022
1.1.1515 1,479 4/17/2022
1.1.0 1,550 3/22/2022
0.1.1514 1,403 4/17/2022
0.1.1513 1,377 4/16/2022
0.1.1512 1,396 4/16/2022
0.1.1509 1,511 4/16/2022
0.1.1487 1,428 3/29/2022
0.1.1471 1,425 3/20/2022
0.1.1470 1,565 3/20/2022
0.1.1463 1,477 3/20/2022
0.1.1461 1,408 3/19/2022
0.1.1454 1,526 3/19/2022
0.1.1452 1,547 3/19/2022
0.1.1437 1,416 3/13/2022
0.1.1433 1,614 2/15/2022
0.1.1426 1,684 2/10/2022
0.1.1422 1,600 2/10/2022
0.1.1398 1,526 1/22/2022
0.1.1393 1,368 1/16/2022
0.1.1391 1,571 1/16/2022
0.1.1388 1,650 1/16/2022