Wally.CleanArchitecture.Template 1.3.3187

dotnet new install Wally.CleanArchitecture.Template::1.3.3187
                    
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.3187 83 6/28/2025
1.3.3181 254 6/13/2025
1.3.3174 150 6/4/2025
1.3.3172 138 6/4/2025
1.3.3159 135 4/12/2025
1.3.3146 292 3/23/2025
1.3.3087 156 2/2/2025
1.3.3083 136 1/30/2025
1.3.3074 136 1/25/2025
1.3.3064 110 1/24/2025
1.3.3047 136 1/17/2025
1.3.3022 124 1/11/2025
1.3.2945 168 12/13/2024
1.3.2943 137 12/12/2024
1.3.2901 140 11/28/2024
1.3.2900 135 11/25/2024
1.3.2894 146 11/23/2024
1.3.2884 145 11/17/2024
1.3.2872 152 11/16/2024
1.3.2866 145 11/9/2024
1.3.2865 140 11/9/2024
1.3.2862 132 11/8/2024
1.3.2860 134 11/7/2024
1.3.2829 146 10/24/2024
1.3.2783 137 10/23/2024
1.3.2746 158 10/18/2024
1.3.2735 136 10/18/2024
1.3.2721 147 10/18/2024
1.3.2720 119 10/17/2024
1.3.2710 151 10/10/2024
1.3.2704 130 10/9/2024
1.3.2680 133 10/2/2024
1.3.2674 149 9/25/2024
1.3.2665 146 9/13/2024
1.3.2654 147 8/26/2024
1.3.2652 150 8/5/2024
1.3.2650 126 7/30/2024
1.3.2638 164 7/11/2024
1.3.2634 174 7/10/2024
1.3.2621 174 7/6/2024
1.3.2615 171 6/27/2024
1.3.2584 280 5/26/2024
1.3.2579 186 5/25/2024
1.3.2575 147 5/25/2024
1.3.2571 147 5/25/2024
1.3.2570 187 5/24/2024
1.3.2563 177 5/23/2024
1.3.2562 130 5/23/2024
1.3.2560 159 5/22/2024
1.3.2557 179 5/21/2024
1.3.2554 142 5/21/2024
1.3.2551 171 5/20/2024
1.3.2547 203 5/17/2024
1.3.2537 152 5/16/2024
1.3.2536 130 5/16/2024
1.3.2535 291 5/9/2024
1.3.2527 145 4/26/2024
1.3.2510 152 4/24/2024
1.3.2490 199 4/13/2024
1.3.2473 201 4/8/2024
1.3.2471 206 4/8/2024
1.3.2431 215 4/4/2024
1.3.2404 362 3/22/2024
1.3.2401 210 3/21/2024
1.3.2366 1,079 2/21/2024
1.3.2365 421 2/21/2024
1.3.2347 752 2/9/2024
1.3.2248 2,273 12/6/2023
1.3.2243 590 12/5/2023
1.3.2227 969 11/26/2023
1.3.2222 709 11/26/2023
1.3.2212 844 11/18/2023
1.3.2209 556 11/17/2023
1.3.2172 1,125 11/1/2023
1.3.2166 799 10/30/2023
1.3.2163 747 10/29/2023
1.3.2149 1,017 10/18/2023
1.3.2137 1,170 10/3/2023
1.3.2108 801 9/25/2023
1.3.2093 822 9/17/2023
1.3.2086 857 8/27/2023
1.3.2085 925 8/27/2023
1.3.2042 1,019 6/23/2023
1.3.2023 912 6/15/2023
1.3.1982 989 5/28/2023
1.3.1974 842 5/26/2023
1.3.1954 867 5/20/2023
1.3.1948 898 5/18/2023
1.3.1947 751 5/18/2023
1.3.1941 931 5/17/2023
1.3.1933 993 5/15/2023
1.3.1913 901 5/12/2023
1.3.1912 1,024 5/12/2023
1.3.1861 1,185 3/24/2023
1.3.1860 1,050 3/24/2023
1.3.1850 925 3/18/2023
1.3.1847 1,062 3/15/2023
1.3.1846 986 3/14/2023
1.3.1844 1,059 3/14/2023
1.3.1835 866 3/9/2023
1.3.1834 894 3/9/2023
1.3.1832 845 3/9/2023
1.3.1829 934 3/9/2023
1.3.1817 1,010 3/3/2023
1.2.1814 1,276 2/27/2023
1.2.1811 1,133 2/20/2023
1.2.1767 1,205 1/18/2023
1.2.1760 1,230 1/14/2023
1.2.1743 1,309 12/25/2022
1.2.1701 1,290 11/23/2022
1.2.1690 1,292 11/14/2022
1.2.1689 1,299 11/14/2022
1.2.1687 1,285 11/14/2022
1.2.1685 1,259 11/11/2022
1.2.8 1,274 11/1/2022
1.2.7 1,088 11/1/2022
1.2.6 1,319 11/1/2022
1.2.5 1,424 10/4/2022
1.2.4 1,414 9/9/2022
1.2.3 1,506 6/9/2022
1.2.2 1,330 6/9/2022
1.2.1 1,334 4/17/2022
1.2.0 1,502 4/17/2022
1.1.1553 1,443 6/10/2022
1.1.1516 1,295 4/17/2022
1.1.1515 1,504 4/17/2022
1.1.0 1,583 3/22/2022
0.1.1514 1,435 4/17/2022
0.1.1513 1,401 4/16/2022
0.1.1512 1,424 4/16/2022
0.1.1509 1,542 4/16/2022
0.1.1487 1,457 3/29/2022
0.1.1471 1,454 3/20/2022
0.1.1470 1,601 3/20/2022
0.1.1463 1,512 3/20/2022
0.1.1461 1,434 3/19/2022
0.1.1454 1,553 3/19/2022
0.1.1452 1,572 3/19/2022
0.1.1437 1,446 3/13/2022
0.1.1433 1,651 2/15/2022
0.1.1426 1,709 2/10/2022
0.1.1422 1,624 2/10/2022
0.1.1398 1,557 1/22/2022
0.1.1393 1,399 1/16/2022
0.1.1391 1,609 1/16/2022
0.1.1388 1,675 1/16/2022