DevInsightForge.Templates.Api
3.0.2
dotnet new install DevInsightForge.Templates.Api::3.0.2
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.
Add audit support from persistence