CCF.Clean.Dotnet.WebAPI 4.0.0

dotnet new install CCF.Clean.Dotnet.WebAPI::4.0.0
This package contains a .NET Template Package you can call from the shell/command line.

Build license nuget nuget

CCF Clean WebAPI DotnetCore Template

CCF Clean Web API nuget template is ready-to-use project template for creating dotnet core minimal api using Clean Architecture, leveraging ccf clean web api features.

Key features

  • Clean Architecture
    • CQRS
    • MediatR
    • Repositories (Generic Repositories)
    • Model Mapping (Automapper)
    • Validation (FluentValidation)
    • Memory Caching
  • Dotnet Core Minimal API
  • Entity Framework Core (Database)
  • Swagger
  • API Versioning
  • Global Exception Handling
  • Logging (NLog)
  • Dependency Injection
  • Generic API Http Client Handler
  • Authentication Support
  • Option Pattern

Supported Versions

  • .NET 8.0

Getting started

  1. Install CCF Clean Web API Template

    dotnet new install CCF.Clean.Dotnet.WebAPI 
    

    NOTE: The template only needs to be installed once. Running this command again will update your version of the template. Specify the version to get specific version of template.

  2. Create a new directory

    mkdir CCFDemoWebApp
    cd CCFDemoWebApp
    
  3. Create a new solution

    dotnet new CCFClean.WebApi --name {{SolutionName}} --output .\
    

    NOTE: Specify {{SolutionName}}, this will be used as the solution name and project namespaces.

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
4.0.0 127 4/16/2024
3.1.0 2,757 12/7/2023
3.0.0 256 12/3/2023
2.0.0 447 11/27/2023
1.0.1 323 11/23/2023
1.0.0 211 11/22/2023

Added option pattern support, generic response handling, generic DI handling, supports version and specific endpoint deprecation using attributes