Skip to content

JiteshSonkusare/dotnetcore-clean-api-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

dotnetcore clean api template

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages