Templator.CoreWebApi.Template 1.0.0

The owner has unlisted this package. This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet new install Templator.CoreWebApi.Template@1.0.0
                    
This package contains a .NET Template Package you can call from the shell/command line.

Templator.CoreWebApi

NuGet Version NuGet Downloads License GitHub Issues GitHub Stars GitHub Forks Contributions Welcome

Overview

This .NET Web API template implements Clean Architecture principles (inspired by amantiband/clean-architecture). It comes pre-configured with Routing Convention, Logging with Serilog, middleware integration for exception & logging handler, object mapping with Mapperly, and API versioning.

Key Features

  • Routing Convention: Use kebab-case routing convention.
  • Robust Logging: Powered by Serilog.
  • Integrated Middleware: Streamlined for handling exceptions and logging.
  • Object Mapping: Efficiently managed with Mapperly.
  • API Versioning: Enabling smooth API evolution.

Installation

Install the abstractions package via NuGet:

Package Manager Console:

Install-Package Templator.CoreWebApi

.NET CLI

dotnet add package Templator.CoreWebApi

Usage

Install Template

Go to <root>\src\CoreWebApi\src.

dotnet new install ./

Uninstall Template

Go to <root>\src\CoreWebApi\src.

dotnet new uninstall ./

Library Used In This Template

This template leverages a set of robust libraries and frameworks to implement Clean Architecture and other best practices.

Package Version License
SingleScope.Persistence 3.2.0 MIT
MediatR 12.5.0 Apache-2.0
ErrorOr 2.0.1 MIT
SmartEnum 8.2.0 MIT
Serilog 4.2.0 Apache-2.0
FluentValidation 12.0.0 Apache-2.0
Mapperly 4.2.1 Apache-2.0
ApiExplorer 8.1.0 MIT

Contributions

Contributions are welcome! If you encounter a bug, have a suggestion, or want to contribute code, please follow these steps:

  1. Check the GitHub Issues to see if your issue or idea has already been reported.
  2. If not, open a new issue to describe the bug or feature request.
  3. For code contributions:
    • Fork the Project repository.
    • Create your Feature Branch (git checkout -b feature/YourAmazingFeature).
    • Commit your Changes (git commit -m 'Add YourAmazingFeature'). Adhere to conventional commit messages if possible.
    • Push to the Branch (git push origin feature/YourAmazingFeature).
    • Open a Pull Request against the main branch of the original repository.
  4. Please try to follow the existing coding style and include unit tests for new or modified functionality.

License

Distributed under the MIT License. See the LICENSE file in the repository for more information.

Contact

@muhirwanto-dev

Project link: https://github.com/muhirwanto-dev/templator/tree/main/src/CoreWebApi

  • net8.0

    • 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