CCF.Clean.Dotnet.WebAPI 3.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet new install CCF.Clean.Dotnet.WebAPI::3.1.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 6.0
  • .NET 7.0
  • .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.3.0 111 8/30/2024
4.2.0 88 7/24/2024
4.1.0 95 6/3/2024
4.0.0 155 4/16/2024
3.1.0 2,799 12/7/2023
3.0.0 297 12/3/2023
2.0.0 521 11/27/2023
1.0.1 374 11/23/2023
1.0.0 260 11/22/2023

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