Wally.CleanArchitecture.Template 1.3.3181

dotnet new install Wally.CleanArchitecture.Template::1.3.3181
                    
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.3181 211 6/13/2025
1.3.3174 141 6/4/2025
1.3.3172 128 6/4/2025
1.3.3159 112 4/12/2025
1.3.3146 281 3/23/2025
1.3.3087 147 2/2/2025
1.3.3083 128 1/30/2025
1.3.3074 122 1/25/2025
1.3.3064 99 1/24/2025
1.3.3047 120 1/17/2025
1.3.3022 110 1/11/2025
1.3.2945 155 12/13/2024
1.3.2943 128 12/12/2024
1.3.2901 125 11/28/2024
1.3.2900 123 11/25/2024
1.3.2894 136 11/23/2024
1.3.2884 128 11/17/2024
1.3.2872 137 11/16/2024
1.3.2866 131 11/9/2024
1.3.2865 126 11/9/2024
1.3.2862 118 11/8/2024
1.3.2860 125 11/7/2024
1.3.2829 136 10/24/2024
1.3.2783 121 10/23/2024
1.3.2746 150 10/18/2024
1.3.2735 127 10/18/2024
1.3.2721 135 10/18/2024
1.3.2720 113 10/17/2024
1.3.2710 134 10/10/2024
1.3.2704 121 10/9/2024
1.3.2680 119 10/2/2024
1.3.2674 134 9/25/2024
1.3.2665 131 9/13/2024
1.3.2654 135 8/26/2024
1.3.2652 138 8/5/2024
1.3.2650 108 7/30/2024
1.3.2638 155 7/11/2024
1.3.2634 134 7/10/2024
1.3.2621 165 7/6/2024
1.3.2615 161 6/27/2024
1.3.2584 265 5/26/2024
1.3.2579 171 5/25/2024
1.3.2575 134 5/25/2024
1.3.2571 136 5/25/2024
1.3.2570 172 5/24/2024
1.3.2563 170 5/23/2024
1.3.2562 123 5/23/2024
1.3.2560 149 5/22/2024
1.3.2557 159 5/21/2024
1.3.2554 131 5/21/2024
1.3.2551 158 5/20/2024
1.3.2547 195 5/17/2024
1.3.2537 135 5/16/2024
1.3.2536 121 5/16/2024
1.3.2535 279 5/9/2024
1.3.2527 136 4/26/2024
1.3.2510 139 4/24/2024
1.3.2490 190 4/13/2024
1.3.2473 188 4/8/2024
1.3.2471 193 4/8/2024
1.3.2431 205 4/4/2024
1.3.2404 354 3/22/2024
1.3.2401 201 3/21/2024
1.3.2366 1,071 2/21/2024
1.3.2365 410 2/21/2024
1.3.2347 743 2/9/2024
1.3.2248 2,266 12/6/2023
1.3.2243 579 12/5/2023
1.3.2227 959 11/26/2023
1.3.2222 700 11/26/2023
1.3.2212 838 11/18/2023
1.3.2209 552 11/17/2023
1.3.2172 1,116 11/1/2023
1.3.2166 782 10/30/2023
1.3.2163 741 10/29/2023
1.3.2149 1,007 10/18/2023
1.3.2137 1,158 10/3/2023
1.3.2108 782 9/25/2023
1.3.2093 811 9/17/2023
1.3.2086 844 8/27/2023
1.3.2085 914 8/27/2023
1.3.2042 1,007 6/23/2023
1.3.2023 897 6/15/2023
1.3.1982 978 5/28/2023
1.3.1974 830 5/26/2023
1.3.1954 855 5/20/2023
1.3.1948 886 5/18/2023
1.3.1947 732 5/18/2023
1.3.1941 919 5/17/2023
1.3.1933 975 5/15/2023
1.3.1913 891 5/12/2023
1.3.1912 1,011 5/12/2023
1.3.1861 1,163 3/24/2023
1.3.1860 1,036 3/24/2023
1.3.1850 915 3/18/2023
1.3.1847 1,039 3/15/2023
1.3.1846 971 3/14/2023
1.3.1844 1,046 3/14/2023
1.3.1835 845 3/9/2023
1.3.1834 881 3/9/2023
1.3.1832 831 3/9/2023
1.3.1829 916 3/9/2023
1.3.1817 997 3/3/2023
1.2.1814 1,267 2/27/2023
1.2.1811 1,113 2/20/2023
1.2.1767 1,192 1/18/2023
1.2.1760 1,218 1/14/2023
1.2.1743 1,296 12/25/2022
1.2.1701 1,277 11/23/2022
1.2.1690 1,274 11/14/2022
1.2.1689 1,283 11/14/2022
1.2.1687 1,271 11/14/2022
1.2.1685 1,250 11/11/2022
1.2.8 1,262 11/1/2022
1.2.7 1,073 11/1/2022
1.2.6 1,299 11/1/2022
1.2.5 1,414 10/4/2022
1.2.4 1,402 9/9/2022
1.2.3 1,494 6/9/2022
1.2.2 1,299 6/9/2022
1.2.1 1,302 4/17/2022
1.2.0 1,488 4/17/2022
1.1.1553 1,429 6/10/2022
1.1.1516 1,286 4/17/2022
1.1.1515 1,494 4/17/2022
1.1.0 1,565 3/22/2022
0.1.1514 1,417 4/17/2022
0.1.1513 1,392 4/16/2022
0.1.1512 1,411 4/16/2022
0.1.1509 1,527 4/16/2022
0.1.1487 1,443 3/29/2022
0.1.1471 1,440 3/20/2022
0.1.1470 1,582 3/20/2022
0.1.1463 1,494 3/20/2022
0.1.1461 1,423 3/19/2022
0.1.1454 1,541 3/19/2022
0.1.1452 1,562 3/19/2022
0.1.1437 1,432 3/13/2022
0.1.1433 1,629 2/15/2022
0.1.1426 1,699 2/10/2022
0.1.1422 1,615 2/10/2022
0.1.1398 1,543 1/22/2022
0.1.1393 1,384 1/16/2022
0.1.1391 1,589 1/16/2022
0.1.1388 1,665 1/16/2022