DevInsightForge.Templates.Api 3.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet new install DevInsightForge.Templates.Api::3.0.0
                    
This package contains a .NET Template Package you can call from the shell/command line.

DevInsightForge Web API Template

Overview

This template provides a foundation for building a DevInsightForge Web API project using C#.

  • Identity: DevInsightForge.Templates.Api
  • Version: 1.0.0
  • License: MIT

Description

This template serves as a starting point for a DevInsightForge Web API project. It includes essential structures and configurations to kickstart your development process.

Features

  • ASP.NET Core Web API project
  • Clean architecture pattern
  • EFCore with SqlServer
  • Domain Driven Design
  • Repository pattern
  • JWT Authentication
  • Fluent Validation
  • Mapster

Prerequisites

Installation

To install the DevInsightForge Web API Template, use the following command:

dotnet new install DevInsightForge.Templates.Api

Create Solution Using Template

To create a new solution using the DevInsightForge Web API Template, use the following command:

dotnet new devforgeapi -n YourSolutionNameHere

Manage Migrations

To execute migration commands, select [YourProjectName].Infrastructure project in Package Manager Console first.

Run this to apply migrations first time.

Update-Database

If runs into any error even with infra as selected project, remove Migration directory from Infrastructure and execute add new migration command.

Add-Migration [Your-Migration-Name]

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
3.0.2 2,599 12/24/2023
3.0.1 464 12/16/2023
3.0.0 272 12/15/2023
2.0.1 950 11/17/2023
2.0.0 214 11/16/2023
1.0.4 174 11/16/2023
1.0.3 412 11/7/2023
1.0.2 211 11/7/2023
1.0.1 296 11/3/2023
1.0.0 191 11/3/2023

Cleanup and optimized for best use case