Skip to content

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

Notifications You must be signed in to change notification settings

DevInsightForge/DotNetDevForgeTemplate

Repository files navigation

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]

About

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

Topics

Resources

Stars

Watchers

Forks

Languages