DevInsightForge.Templates.Api 3.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet new install DevInsightForge.Templates.Api::3.0.1
                    
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
  • 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,606 12/24/2023
3.0.1 470 12/16/2023
3.0.0 277 12/15/2023
2.0.1 955 11/17/2023
2.0.0 219 11/16/2023
1.0.4 179 11/16/2023
1.0.3 417 11/7/2023
1.0.2 216 11/7/2023
1.0.1 301 11/3/2023
1.0.0 196 11/3/2023

Simplified domain model and authentication APIs