Wally.CleanArchitecture.Template 1.10.3765

dotnet new install Wally.CleanArchitecture.Template::1.10.3765
                    
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

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 Framework 10
  • WebApi ReverseProxy
    • YARP
  • 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
  • Wolverine
  • Scrutor github
  • OData
  • HttpGlobalExceptionFilter
  • Entity Framework
    • MySql
    • MS Sql
    • PostgreSQL
    • SQLite
    • InMemoryDb
    • Optimistic Concurrency
    • Generic Repository + Specific Repository
  • xUnit
    • ApprovalTests

    • IntegrationTests

    • UnitTests

      • NetArchTest

        Issue Description Status
        License [https://raw.githubusercontent.com/BenMorris/NetArchTest/refs/heads/master/LICENSE] MIT
        Popularity [https://github.com/BenMorris/NetArchTest/stargazers] >1.5k stars
        . [https://github.com/BenMorris/NetArchTest/forks] >85 forks
        Activity [https://github.com/BenMorris/NetArchTest/activity] last commit 7 months ago
        Issues [https://github.com/BenMorris/NetArchTest/issues] 21 Open, 52 Closed
        Frameworks [https://www.nuget.org/packages/NetArchTest.Rules/#supportedframeworks-body-tab] net8.0, net9.0
        Vulnerabilities [https://secure.software/nuget/packages/NetArchTest.Rules/vulnerabilities] 0
      • ArchUnitNET

        Issue Description Status
        License [https://github.com/TNG/ArchUnitNET/tree/main#Apache-2.0-1-ov-file] Apache-2.0
        Popularity [https://github.com/TNG/ArchUnitNET/stargazers] >990 stars
        . [https://github.com/TNG/ArchUnitNET/forks] >61 forks
        Activity [https://github.com/TNG/ArchUnitNET/activity] last commit 12 min ago
        Issues [https://github.com/TNG/ArchUnitNET/issues] 30 Open, 69 Closed
        Frameworks [https://www.nuget.org/packages/TngTech.ArchUnitNET/#supportedframeworks-body-tab] netstandard2.0, netstandard2.1, net8.0, net9.0
        Vulnerabilities [https://secure.software/nuget/packages/TngTech.ArchUnitNET/vulnerabilities] 0
    • ConventionTests

    • Verify github

    • [-] FluentAssertions github

    • Shouldly github

  • AppInsights Metrics
  • OpenTelemetry
  • IaC
    • Terraform
    • Bicep
  • Mapper
    • [-] Mapster github
    • AutoMapper github
      • Validation
      • Profiles
    • Mapster
    • Mapperly
  • SignalR
  • GitHub
    • Workflow
  • Docker

Info

doc

TODO

  • More build-in Domain Model examples - Task, Parameter
  • Support for Wolverine as alternative for MassTransit
  • Inbox and Outbox pattern
  • Fix [CS1591] Missing XML comment warnings
  • Move CORS settings to ApiGateway
  • Authentication in ApiGateway
  • Authorization in MicroService
  • SignalR Hub Service
  • StrongTypingId YT
  • Entity Framework Repository GH
  • Multitenancy GH
  • IRequestContext with CorrelationId + SeriLog.Enrich.CorrelationId
  • Graceful Shutdown post
  • Documentation

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.10.3765 38 5/15/2026
1.10.3764 74 5/12/2026
1.10.3756 118 5/2/2026
1.10.3743 138 4/24/2026
1.10.3735 124 4/19/2026
1.10.3733 119 4/18/2026
1.10.3731 126 4/18/2026
1.10.3724 127 4/12/2026
1.10.3722 135 4/11/2026
1.10.3721 145 4/11/2026
1.10.3711 168 3/29/2026
1.10.3702 207 3/28/2026
1.10.3691 144 3/26/2026
1.10.3682 161 3/14/2026
1.10.3666 189 2/21/2026
1.10.3664 185 2/21/2026
1.10.3656 207 2/14/2026
1.10.3638 206 1/28/2026
1.10.3559 307 12/12/2025
1.10.3553 449 12/7/2025
Loading failed