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 98 4/12/2025
1.3.3146 275 3/23/2025
1.3.3087 141 2/2/2025
1.3.3083 122 1/30/2025
1.3.3074 116 1/25/2025
1.3.3064 93 1/24/2025
1.3.3047 113 1/17/2025
1.3.3022 104 1/11/2025
1.3.2945 150 12/13/2024
1.3.2943 122 12/12/2024
1.3.2901 119 11/28/2024
1.3.2900 116 11/25/2024
1.3.2894 129 11/23/2024
1.3.2884 122 11/17/2024
1.3.2872 127 11/16/2024
1.3.2866 120 11/9/2024
1.3.2865 119 11/9/2024
1.3.2862 111 11/8/2024
1.3.2860 115 11/7/2024
1.3.2829 124 10/24/2024
1.3.2783 115 10/23/2024
1.3.2746 144 10/18/2024
1.3.2735 120 10/18/2024
1.3.2721 128 10/18/2024
1.3.2720 106 10/17/2024
1.3.2710 126 10/10/2024
1.3.2704 114 10/9/2024
1.3.2680 112 10/2/2024
1.3.2674 127 9/25/2024
1.3.2665 125 9/13/2024
1.3.2654 127 8/26/2024
1.3.2652 130 8/5/2024
1.3.2650 102 7/30/2024
1.3.2638 149 7/11/2024
1.3.2634 128 7/10/2024
1.3.2621 155 7/6/2024
1.3.2615 153 6/27/2024
1.3.2584 258 5/26/2024
1.3.2579 165 5/25/2024
1.3.2575 128 5/25/2024
1.3.2571 128 5/25/2024
1.3.2570 162 5/24/2024
1.3.2563 162 5/23/2024
1.3.2562 115 5/23/2024
1.3.2560 141 5/22/2024
1.3.2557 152 5/21/2024
1.3.2554 120 5/21/2024
1.3.2551 152 5/20/2024
1.3.2547 189 5/17/2024
1.3.2537 129 5/16/2024
1.3.2536 114 5/16/2024
1.3.2535 273 5/9/2024
1.3.2527 126 4/26/2024
1.3.2510 133 4/24/2024
1.3.2490 183 4/13/2024
1.3.2473 181 4/8/2024
1.3.2471 187 4/8/2024
1.3.2431 199 4/4/2024
1.3.2404 344 3/22/2024
1.3.2401 195 3/21/2024
1.3.2366 1,064 2/21/2024
1.3.2365 404 2/21/2024
1.3.2347 732 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 838 8/27/2023
1.3.2085 909 8/27/2023
1.3.2042 1,002 6/23/2023
1.3.2023 892 6/15/2023
1.3.1982 971 5/28/2023
1.3.1974 826 5/26/2023
1.3.1954 850 5/20/2023
1.3.1948 882 5/18/2023
1.3.1947 728 5/18/2023
1.3.1941 915 5/17/2023
1.3.1933 971 5/15/2023
1.3.1913 887 5/12/2023
1.3.1912 1,007 5/12/2023
1.3.1861 1,159 3/24/2023
1.3.1860 1,032 3/24/2023
1.3.1850 911 3/18/2023
1.3.1847 1,035 3/15/2023
1.3.1846 965 3/14/2023
1.3.1844 1,042 3/14/2023
1.3.1835 839 3/9/2023
1.3.1834 876 3/9/2023
1.3.1832 827 3/9/2023
1.3.1829 912 3/9/2023
1.3.1817 992 3/3/2023
1.2.1814 1,263 2/27/2023
1.2.1811 1,109 2/20/2023
1.2.1767 1,188 1/18/2023
1.2.1760 1,214 1/14/2023
1.2.1743 1,292 12/25/2022
1.2.1701 1,271 11/23/2022
1.2.1690 1,269 11/14/2022
1.2.1689 1,279 11/14/2022
1.2.1687 1,267 11/14/2022
1.2.1685 1,245 11/11/2022
1.2.8 1,258 11/1/2022
1.2.7 1,069 11/1/2022
1.2.6 1,295 11/1/2022
1.2.5 1,410 10/4/2022
1.2.4 1,398 9/9/2022
1.2.3 1,485 6/9/2022
1.2.2 1,290 6/9/2022
1.2.1 1,291 4/17/2022
1.2.0 1,478 4/17/2022
1.1.1553 1,420 6/10/2022
1.1.1516 1,276 4/17/2022
1.1.1515 1,483 4/17/2022
1.1.0 1,554 3/22/2022
0.1.1514 1,407 4/17/2022
0.1.1513 1,381 4/16/2022
0.1.1512 1,400 4/16/2022
0.1.1509 1,515 4/16/2022
0.1.1487 1,432 3/29/2022
0.1.1471 1,429 3/20/2022
0.1.1470 1,569 3/20/2022
0.1.1463 1,482 3/20/2022
0.1.1461 1,412 3/19/2022
0.1.1454 1,530 3/19/2022
0.1.1452 1,551 3/19/2022
0.1.1437 1,420 3/13/2022
0.1.1433 1,618 2/15/2022
0.1.1426 1,688 2/10/2022
0.1.1422 1,604 2/10/2022
0.1.1398 1,530 1/22/2022
0.1.1393 1,372 1/16/2022
0.1.1391 1,575 1/16/2022
0.1.1388 1,654 1/16/2022