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 148 8/18/2025
1.3.3203 521 7/22/2025
1.3.3199 93 7/19/2025
1.3.3198 140 7/18/2025
1.3.3187 131 6/28/2025
1.3.3181 300 6/13/2025
1.3.3174 191 6/4/2025
1.3.3172 179 6/4/2025
1.3.3159 174 4/12/2025
1.3.3146 332 3/23/2025
1.3.3087 197 2/2/2025
1.3.3083 173 1/30/2025
1.3.3074 175 1/25/2025
1.3.3064 151 1/24/2025
1.3.3047 175 1/17/2025
1.3.3022 162 1/11/2025
1.3.2945 206 12/13/2024
1.3.2943 176 12/12/2024
1.3.2901 179 11/28/2024
1.3.2900 174 11/25/2024
1.3.2894 183 11/23/2024
1.3.2884 181 11/17/2024
1.3.2872 193 11/16/2024
1.3.2866 184 11/9/2024
1.3.2865 177 11/9/2024
1.3.2862 170 11/8/2024
1.3.2860 171 11/7/2024
1.3.2829 182 10/24/2024
1.3.2783 177 10/23/2024
1.3.2746 195 10/18/2024
1.3.2735 175 10/18/2024
1.3.2721 186 10/18/2024
1.3.2720 155 10/17/2024
1.3.2710 191 10/10/2024
1.3.2704 167 10/9/2024
1.3.2680 170 10/2/2024
1.3.2674 195 9/25/2024
1.3.2665 191 9/13/2024
1.3.2654 190 8/26/2024
1.3.2652 188 8/5/2024
1.3.2650 168 7/30/2024
1.3.2638 208 7/11/2024
1.3.2634 218 7/10/2024
1.3.2621 211 7/6/2024
1.3.2615 218 6/27/2024
1.3.2584 320 5/26/2024
1.3.2579 227 5/25/2024
1.3.2575 192 5/25/2024
1.3.2571 183 5/25/2024
1.3.2570 233 5/24/2024
1.3.2563 216 5/23/2024
1.3.2562 168 5/23/2024
1.3.2560 199 5/22/2024
1.3.2557 218 5/21/2024
1.3.2554 185 5/21/2024
1.3.2551 209 5/20/2024
1.3.2547 241 5/17/2024
1.3.2537 192 5/16/2024
1.3.2536 175 5/16/2024
1.3.2535 329 5/9/2024
1.3.2527 188 4/26/2024
1.3.2510 189 4/24/2024
1.3.2490 237 4/13/2024
1.3.2473 240 4/8/2024
1.3.2471 245 4/8/2024
1.3.2431 254 4/4/2024
1.3.2404 402 3/22/2024
1.3.2401 249 3/21/2024
1.3.2366 1,119 2/21/2024
1.3.2365 458 2/21/2024
1.3.2347 791 2/9/2024
1.3.2248 2,305 12/6/2023
1.3.2243 626 12/5/2023
1.3.2227 1,000 11/26/2023
1.3.2222 743 11/26/2023
1.3.2212 873 11/18/2023
1.3.2209 585 11/17/2023
1.3.2172 1,158 11/1/2023
1.3.2166 837 10/30/2023
1.3.2163 780 10/29/2023
1.3.2149 1,051 10/18/2023
1.3.2137 1,203 10/3/2023
1.3.2108 835 9/25/2023
1.3.2093 854 9/17/2023
1.3.2086 904 8/27/2023
1.3.2085 964 8/27/2023
1.3.2042 1,062 6/23/2023
1.3.2023 959 6/15/2023
1.3.1982 1,036 5/28/2023
1.3.1974 886 5/26/2023
1.3.1954 915 5/20/2023
1.3.1948 941 5/18/2023
1.3.1947 796 5/18/2023
1.3.1941 975 5/17/2023
1.3.1933 1,042 5/15/2023
1.3.1913 945 5/12/2023
1.3.1912 1,069 5/12/2023
1.3.1861 1,235 3/24/2023
1.3.1860 1,094 3/24/2023
1.3.1850 971 3/18/2023
1.3.1847 1,112 3/15/2023
1.3.1846 1,032 3/14/2023
1.3.1844 1,103 3/14/2023
1.3.1835 915 3/9/2023
1.3.1834 941 3/9/2023
1.3.1832 894 3/9/2023
1.3.1829 986 3/9/2023
1.3.1817 1,057 3/3/2023
1.2.1814 1,322 2/27/2023
1.2.1811 1,178 2/20/2023
1.2.1767 1,251 1/18/2023
1.2.1760 1,276 1/14/2023
1.2.1743 1,355 12/25/2022
1.2.1701 1,337 11/23/2022
1.2.1690 1,342 11/14/2022
1.2.1689 1,346 11/14/2022
1.2.1687 1,333 11/14/2022
1.2.1685 1,303 11/11/2022
1.2.8 1,318 11/1/2022
1.2.7 1,138 11/1/2022
1.2.6 1,372 11/1/2022
1.2.5 1,472 10/4/2022
1.2.4 1,460 9/9/2022
1.2.3 1,555 6/9/2022
1.2.2 1,384 6/9/2022
1.2.1 1,386 4/17/2022
1.2.0 1,551 4/17/2022
1.1.1553 1,496 6/10/2022
1.1.1516 1,344 4/17/2022
1.1.1515 1,554 4/17/2022
1.1.0 1,638 3/22/2022
0.1.1514 1,485 4/17/2022
0.1.1513 1,448 4/16/2022
0.1.1512 1,478 4/16/2022
0.1.1509 1,596 4/16/2022
0.1.1487 1,510 3/29/2022
0.1.1471 1,501 3/20/2022
0.1.1470 1,654 3/20/2022
0.1.1463 1,566 3/20/2022
0.1.1461 1,481 3/19/2022
0.1.1454 1,604 3/19/2022
0.1.1452 1,620 3/19/2022
0.1.1437 1,496 3/13/2022
0.1.1433 1,700 2/15/2022
0.1.1426 1,757 2/10/2022
0.1.1422 1,672 2/10/2022
0.1.1398 1,611 1/22/2022
0.1.1393 1,451 1/16/2022
0.1.1391 1,657 1/16/2022
0.1.1388 1,723 1/16/2022