Skip to content

Latest commit

 

History

History
52 lines (39 loc) · 2.11 KB

README.md

File metadata and controls

52 lines (39 loc) · 2.11 KB

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.