Wally.CleanArchitecture.Template 1.3.3208

dotnet new install Wally.CleanArchitecture.Template::1.3.3208
                    
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.3208 128 8/18/2025
1.3.3203 505 7/22/2025
1.3.3199 37 7/19/2025
1.3.3198 101 7/18/2025
1.3.3187 112 6/28/2025
1.3.3181 279 6/13/2025
1.3.3174 175 6/4/2025
1.3.3172 163 6/4/2025
1.3.3159 158 4/12/2025
1.3.3146 317 3/23/2025
1.3.3087 182 2/2/2025
1.3.3083 158 1/30/2025
1.3.3074 159 1/25/2025
1.3.3064 136 1/24/2025
1.3.3047 159 1/17/2025
1.3.3022 147 1/11/2025
1.3.2945 190 12/13/2024
1.3.2943 158 12/12/2024
1.3.2901 164 11/28/2024
1.3.2900 158 11/25/2024
1.3.2894 168 11/23/2024
1.3.2884 166 11/17/2024
1.3.2872 178 11/16/2024
1.3.2866 168 11/9/2024
1.3.2865 161 11/9/2024
1.3.2862 154 11/8/2024
1.3.2860 156 11/7/2024
1.3.2829 167 10/24/2024
1.3.2783 161 10/23/2024
1.3.2746 180 10/18/2024
1.3.2735 160 10/18/2024
1.3.2721 171 10/18/2024
1.3.2720 140 10/17/2024
1.3.2710 175 10/10/2024
1.3.2704 152 10/9/2024
1.3.2680 155 10/2/2024
1.3.2674 179 9/25/2024
1.3.2665 174 9/13/2024
1.3.2654 173 8/26/2024
1.3.2652 171 8/5/2024
1.3.2650 149 7/30/2024
1.3.2638 188 7/11/2024
1.3.2634 200 7/10/2024
1.3.2621 195 7/6/2024
1.3.2615 199 6/27/2024
1.3.2584 304 5/26/2024
1.3.2579 211 5/25/2024
1.3.2575 172 5/25/2024
1.3.2571 168 5/25/2024
1.3.2570 213 5/24/2024
1.3.2563 200 5/23/2024
1.3.2562 151 5/23/2024
1.3.2560 183 5/22/2024
1.3.2557 200 5/21/2024
1.3.2554 165 5/21/2024
1.3.2551 193 5/20/2024
1.3.2547 225 5/17/2024
1.3.2537 176 5/16/2024
1.3.2536 155 5/16/2024
1.3.2535 313 5/9/2024
1.3.2527 169 4/26/2024
1.3.2510 173 4/24/2024
1.3.2490 221 4/13/2024
1.3.2473 224 4/8/2024
1.3.2471 229 4/8/2024
1.3.2431 238 4/4/2024
1.3.2404 386 3/22/2024
1.3.2401 233 3/21/2024
1.3.2366 1,102 2/21/2024
1.3.2365 442 2/21/2024
1.3.2347 773 2/9/2024
1.3.2248 2,294 12/6/2023
1.3.2243 611 12/5/2023
1.3.2227 989 11/26/2023
1.3.2222 730 11/26/2023
1.3.2212 863 11/18/2023
1.3.2209 575 11/17/2023
1.3.2172 1,146 11/1/2023
1.3.2166 824 10/30/2023
1.3.2163 770 10/29/2023
1.3.2149 1,041 10/18/2023
1.3.2137 1,194 10/3/2023
1.3.2108 823 9/25/2023
1.3.2093 844 9/17/2023
1.3.2086 888 8/27/2023
1.3.2085 952 8/27/2023
1.3.2042 1,050 6/23/2023
1.3.2023 944 6/15/2023
1.3.1982 1,022 5/28/2023
1.3.1974 873 5/26/2023
1.3.1954 899 5/20/2023
1.3.1948 928 5/18/2023
1.3.1947 782 5/18/2023
1.3.1941 962 5/17/2023
1.3.1933 1,026 5/15/2023
1.3.1913 932 5/12/2023
1.3.1912 1,056 5/12/2023
1.3.1861 1,219 3/24/2023
1.3.1860 1,081 3/24/2023
1.3.1850 958 3/18/2023
1.3.1847 1,096 3/15/2023
1.3.1846 1,018 3/14/2023
1.3.1844 1,090 3/14/2023
1.3.1835 899 3/9/2023
1.3.1834 926 3/9/2023
1.3.1832 879 3/9/2023
1.3.1829 969 3/9/2023
1.3.1817 1,041 3/3/2023
1.2.1814 1,307 2/27/2023
1.2.1811 1,164 2/20/2023
1.2.1767 1,237 1/18/2023
1.2.1760 1,262 1/14/2023
1.2.1743 1,340 12/25/2022
1.2.1701 1,321 11/23/2022
1.2.1690 1,324 11/14/2022
1.2.1689 1,330 11/14/2022
1.2.1687 1,316 11/14/2022
1.2.1685 1,289 11/11/2022
1.2.8 1,304 11/1/2022
1.2.7 1,122 11/1/2022
1.2.6 1,356 11/1/2022
1.2.5 1,458 10/4/2022
1.2.4 1,446 9/9/2022
1.2.3 1,541 6/9/2022
1.2.2 1,368 6/9/2022
1.2.1 1,371 4/17/2022
1.2.0 1,536 4/17/2022
1.1.1553 1,481 6/10/2022
1.1.1516 1,330 4/17/2022
1.1.1515 1,540 4/17/2022
1.1.0 1,623 3/22/2022
0.1.1514 1,471 4/17/2022
0.1.1513 1,434 4/16/2022
0.1.1512 1,463 4/16/2022
0.1.1509 1,579 4/16/2022
0.1.1487 1,494 3/29/2022
0.1.1471 1,487 3/20/2022
0.1.1470 1,638 3/20/2022
0.1.1463 1,550 3/20/2022
0.1.1461 1,467 3/19/2022
0.1.1454 1,590 3/19/2022
0.1.1452 1,606 3/19/2022
0.1.1437 1,482 3/13/2022
0.1.1433 1,686 2/15/2022
0.1.1426 1,743 2/10/2022
0.1.1422 1,658 2/10/2022
0.1.1398 1,594 1/22/2022
0.1.1393 1,435 1/16/2022
0.1.1391 1,642 1/16/2022
0.1.1388 1,709 1/16/2022