CloudNative.CleanArchitecture.Template 1.0.3.5

There is a newer version of this package available.
See the version list below for details.
dotnet new install CloudNative.CleanArchitecture.Template::1.0.3.5
                    
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.6.30.42706 122 6/30/2025
2025.6.25.39873 133 6/25/2025
2025.6.19.41744 140 6/19/2025
2025.6.18.23868 133 6/18/2025
2025.6.14.50683 125 6/14/2025
2025.6.14.50614 114 6/14/2025
2025.6.11.57476 279 6/11/2025
2025.6.9.27496 222 6/9/2025
2025.6.6.36734 106 6/6/2025
2025.6.6.25393 114 6/6/2025
2025.6.3.28571 142 6/3/2025
2025.5.27.59957 143 5/27/2025
2025.5.23.72638 82 5/23/2025
2025.5.11.65444 141 5/11/2025
2025.5.11.61499 131 5/11/2025
2025.5.11.61330 128 5/11/2025
2025.5.7.69359 145 5/7/2025
2025.5.7.67705 143 5/7/2025
2025.5.7.62555 144 5/7/2025
2025.5.7.22519 142 5/7/2025
2025.5.7.19912 142 5/7/2025
2025.5.7.15076 141 5/7/2025
2025.5.7.13422 140 5/7/2025
2025.5.7.13406 138 5/7/2025
2025.5.7.13338 139 5/7/2025
2025.4.28.24628 166 4/28/2025
2025.4.28.24618 153 4/28/2025
2025.4.25.77525 95 4/25/2025
2025.4.25.65865 100 4/25/2025
2025.4.21.39385 155 4/21/2025
2025.4.15.41512 196 4/15/2025
2025.4.14.74201 229 4/14/2025
2025.4.14.73086 198 4/14/2025
2025.4.14.73071 193 4/14/2025
2025.4.8.26883 164 4/8/2025
2025.3.27.52288 145 3/27/2025
2025.3.14.45707 118 3/14/2025
2025.3.13.25576 151 3/13/2025
2025.3.7.63224 223 3/7/2025
2025.3.6.44290 222 3/6/2025
2025.3.6.44241 218 3/6/2025
2025.3.6.44191 228 3/6/2025
2025.3.6.44176 216 3/6/2025
2025.3.5.61548 224 3/5/2025
2025.3.5.59699 216 3/5/2025
2025.2.27.31621 109 2/27/2025
2025.2.27.31536 110 2/27/2025
2025.2.22.61128 111 2/22/2025
2025.2.20.60950 118 2/20/2025
2025.2.20.60944 112 2/20/2025
2025.2.20.60937 113 2/20/2025
2025.2.16.40479 108 2/16/2025
2025.2.13.61306 122 2/13/2025
2025.2.13.61293 129 2/13/2025
2025.2.13.61271 121 2/13/2025
2025.2.13.61213 130 2/13/2025
2025.2.13.61201 120 2/13/2025
2025.2.11.63529 126 2/11/2025
2025.2.11.63176 124 2/11/2025
2025.2.11.62054 125 2/11/2025
2025.2.11.59821 126 2/11/2025
2025.2.11.33815 122 2/11/2025
2025.2.11.33796 124 2/11/2025
2025.2.11.33753 125 2/11/2025
2025.2.5.43661 115 2/5/2025
2025.1.31.69226 117 1/31/2025
2025.1.31.69219 104 1/31/2025
2025.1.31.22415 111 1/31/2025
2025.1.31.22294 113 1/31/2025
2025.1.31.22203 109 1/31/2025
2025.1.31.22193 114 1/31/2025
2025.1.31.22175 109 1/31/2025
2025.1.21.25896 110 1/21/2025
2025.1.20.56710 114 1/20/2025
2025.1.20.48517 99 1/20/2025
2025.1.20.41597 108 1/20/2025
2025.1.20.37908 100 1/20/2025
2025.1.20.37666 101 1/20/2025
2025.1.20.34527 107 1/20/2025
2025.1.20.34506 103 1/20/2025
2025.1.20.34481 109 1/20/2025
2025.1.20.34472 99 1/20/2025
2025.1.17.25865 106 1/17/2025
2025.1.17.25368 107 1/17/2025
2025.1.17.23815 100 1/17/2025
2025.1.17.23811 100 1/17/2025
2025.1.17.23805 100 1/17/2025
2025.1.17.23791 99 1/17/2025
2025.1.17.23760 107 1/17/2025
2025.1.15.29208 84 1/15/2025
2025.1.15.29157 81 1/15/2025
2025.1.15.29132 76 1/15/2025
2025.1.15.29118 80 1/15/2025
2025.1.15.29102 77 1/15/2025
2024.12.30.46441 121 12/30/2024
2024.12.30.46249 109 12/30/2024
2024.12.30.46182 109 12/30/2024
2024.12.30.46161 101 12/30/2024
2024.12.30.46145 106 12/30/2024
2024.12.26.27228 114 12/26/2024
2024.12.26.27220 104 12/26/2024
2024.12.26.27200 110 12/26/2024
2024.12.26.27180 116 12/26/2024
2024.12.26.27164 112 12/26/2024
2024.12.24.24727 115 12/24/2024
2024.12.24.24500 108 12/24/2024
2024.12.24.24490 108 12/24/2024
2024.12.24.24437 113 12/24/2024
2024.12.24.24395 112 12/24/2024
2024.11.27.26514 120 11/27/2024
2024.11.27.26454 101 11/27/2024
2024.11.27.25788 111 11/27/2024
2024.11.27.25748 109 11/27/2024
2024.11.27.25590 111 11/27/2024
2024.11.27.25484 123 11/27/2024
2024.11.26.64634 117 11/26/2024
2024.11.26.47264 114 11/26/2024
2024.11.26.47166 110 11/26/2024
2024.11.24.59935 129 11/24/2024
2024.11.24.59829 109 11/24/2024
2024.11.24.59364 112 11/24/2024
2024.11.23.66194 130 11/23/2024
2024.11.23.64795 123 11/23/2024
2024.11.22.77308 123 11/22/2024
2024.11.22.24 129 11/22/2024
2024.11.22.23 117 11/22/2024
2024.11.22.22 115 11/22/2024
2024.11.22.21 120 11/22/2024
2024.10.30.20 115 10/30/2024
2024.8.15.17 152 8/15/2024
2024.8.15.16 151 8/15/2024
2024.8.11.15 152 8/11/2024
2024.8.7.14 127 8/7/2024
2024.8.6.13 118 8/6/2024
2024.8.6.12 111 8/6/2024
2024.8.6.11 120 8/6/2024
2024.8.6.10 109 8/6/2024
2024.8.6.9 109 8/6/2024
1.0.3.8 110 8/6/2024
1.0.3.7 99 8/5/2024
1.0.3.6 96 8/3/2024
1.0.3.5 103 8/3/2024
1.0.2 95 8/3/2024
1.0.1 88 8/3/2024
1.0.0 99 8/3/2024