CloudNative.CleanArchitecture.Template 1.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet new install CloudNative.CleanArchitecture.Template::1.0.2
                    
This package contains a .NET Template Package you can call from the shell/command line.

CI / CD Template

cn-ca build

Cloud Native - Clean Architecture template, ideal for

  1. Web API
  2. Pub / Sub
  3. Schedulers

Clean Architecture

  • CQRS - with EF Core - In Memory
  • MediatR

Test Automation

  • Unit Tests - xUnit and NSubstitute
  • Functional Tests - In Memory API Testing WebApplicationFactory using Testcontainers
  • Mutation Tests - Stryker recommended for local only
  • Architecture Tests - NetArchTest.Rules
  • Code Coverage

Orchestration

  • Docker compose
    • RDBMS - PostgreSQL
    • NoSQL - MongoDB
    • Distributed Cache - Redis
    • Aspire Dashboard
    • Jaeger

Health Checks

  • Self
  • PostgreSQL Database
  • Redis
  • MongoDB

Observability

  • Logging - Aspire
  • Metrics - Aspire
  • Distributed Tracing - Aspire & Jaeger
  • Aspire Dashboard

DAPR

  • Pub / Sub - Redis Streams
    • Code Tour
  • Service Invocation
  • State Management - Redis
    • Save state
    • Read state
    • Delete state
  • Secrets Management - Json File Based
  • Configurations Store
  • Bindings
    • Input: Cron
      • Code Tour

Misc

  • Git ignore
  • Editor config
  • Build props
  • Code Analysis
  • Tool manifest
  • Automapper
  • Validation Fluent Validation

Build

  • Local build - Notebook
  • GitHub Action
    • Clean
    • Restore
    • Build
    • Test
    • Publish Coverage Report
    • Publish (nuget package)
  • Package as Template
    • Template Config
    • Publish as Nuget package

Deployment

  • Install Dependencies
    • Redis
    • Postgresql
    • Aspire Dashboard
  • Dapr Components
    • State store
    • Pub / Sub
    • Secret store
    • Configuration store
  • Deploy API

Performance

  • Benchmarking - using Benchmark.NET
  • Load Testing - using K6

This package has no dependencies.

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
2025.4.21.39385 0 4/21/2025
2025.4.15.41512 141 4/15/2025
2025.4.14.74201 201 4/14/2025
2025.4.14.73086 179 4/14/2025
2025.4.14.73071 168 4/14/2025
2025.4.8.26883 143 4/8/2025
2025.3.27.52288 129 3/27/2025
2025.3.14.45707 99 3/14/2025
2025.3.13.25576 137 3/13/2025
2025.3.7.63224 207 3/7/2025
2025.3.6.44290 205 3/6/2025
2025.3.6.44241 200 3/6/2025
2025.3.6.44191 204 3/6/2025
2025.3.6.44176 200 3/6/2025
2025.3.5.61548 205 3/5/2025
2025.3.5.59699 197 3/5/2025
2025.2.27.31621 93 2/27/2025
2025.2.27.31536 89 2/27/2025
2025.2.22.61128 91 2/22/2025
2025.2.20.60950 102 2/20/2025
2025.2.20.60944 93 2/20/2025
2025.2.20.60937 94 2/20/2025
2025.2.16.40479 93 2/16/2025
2025.2.13.61306 103 2/13/2025
2025.2.13.61293 112 2/13/2025
2025.2.13.61271 99 2/13/2025
2025.2.13.61213 108 2/13/2025
2025.2.13.61201 96 2/13/2025
2025.2.11.63529 108 2/11/2025
2025.2.11.63176 107 2/11/2025
2025.2.11.62054 103 2/11/2025
2025.2.11.59821 108 2/11/2025
2025.2.11.33815 107 2/11/2025
2025.2.11.33796 102 2/11/2025
2025.2.11.33753 105 2/11/2025
2025.2.5.43661 103 2/5/2025
2025.1.31.69226 101 1/31/2025
2025.1.31.69219 89 1/31/2025
2025.1.31.22415 91 1/31/2025
2025.1.31.22294 94 1/31/2025
2025.1.31.22203 95 1/31/2025
2025.1.31.22193 98 1/31/2025
2025.1.31.22175 93 1/31/2025
2025.1.21.25896 96 1/21/2025
2025.1.20.56710 98 1/20/2025
2025.1.20.48517 86 1/20/2025
2025.1.20.41597 87 1/20/2025
2025.1.20.37908 87 1/20/2025
2025.1.20.37666 82 1/20/2025
2025.1.20.34527 91 1/20/2025
2025.1.20.34506 87 1/20/2025
2025.1.20.34481 91 1/20/2025
2025.1.20.34472 85 1/20/2025
2025.1.17.25865 93 1/17/2025
2025.1.17.25368 92 1/17/2025
2025.1.17.23815 88 1/17/2025
2025.1.17.23811 85 1/17/2025
2025.1.17.23805 83 1/17/2025
2025.1.17.23791 84 1/17/2025
2025.1.17.23760 89 1/17/2025
2025.1.15.29208 73 1/15/2025
2025.1.15.29157 64 1/15/2025
2025.1.15.29132 65 1/15/2025
2025.1.15.29118 64 1/15/2025
2025.1.15.29102 66 1/15/2025
2024.12.30.46441 106 12/30/2024
2024.12.30.46249 91 12/30/2024
2024.12.30.46182 94 12/30/2024
2024.12.30.46161 88 12/30/2024
2024.12.30.46145 91 12/30/2024
2024.12.26.27228 102 12/26/2024
2024.12.26.27220 91 12/26/2024
2024.12.26.27200 96 12/26/2024
2024.12.26.27180 101 12/26/2024
2024.12.26.27164 100 12/26/2024
2024.12.24.24727 103 12/24/2024
2024.12.24.24500 97 12/24/2024
2024.12.24.24490 96 12/24/2024
2024.12.24.24437 97 12/24/2024
2024.12.24.24395 99 12/24/2024
2024.11.27.26514 104 11/27/2024
2024.11.27.26454 89 11/27/2024
2024.11.27.25788 93 11/27/2024
2024.11.27.25748 92 11/27/2024
2024.11.27.25590 93 11/27/2024
2024.11.27.25484 103 11/27/2024
2024.11.26.64634 96 11/26/2024
2024.11.26.47264 98 11/26/2024
2024.11.26.47166 98 11/26/2024
2024.11.24.59935 115 11/24/2024
2024.11.24.59829 95 11/24/2024
2024.11.24.59364 99 11/24/2024
2024.11.23.66194 113 11/23/2024
2024.11.23.64795 111 11/23/2024
2024.11.22.77308 106 11/22/2024
2024.11.22.24 116 11/22/2024
2024.11.22.23 99 11/22/2024
2024.11.22.22 103 11/22/2024
2024.11.22.21 107 11/22/2024
2024.10.30.20 103 10/30/2024
2024.8.15.17 141 8/15/2024
2024.8.15.16 132 8/15/2024
2024.8.11.15 138 8/11/2024
2024.8.7.14 116 8/7/2024
2024.8.6.13 107 8/6/2024
2024.8.6.12 97 8/6/2024
2024.8.6.11 103 8/6/2024
2024.8.6.10 97 8/6/2024
2024.8.6.9 95 8/6/2024
1.0.3.8 95 8/6/2024
1.0.3.7 83 8/5/2024
1.0.3.6 81 8/3/2024
1.0.3.5 89 8/3/2024
1.0.2 78 8/3/2024
1.0.1 74 8/3/2024
1.0.0 82 8/3/2024