Genocs.WebApiTemplate 1.0.2

There is a newer version of this package available.
See the version list below for details.

Requires NuGet 5.10.0 or higher.

dotnet new install Genocs.WebApiTemplate::1.0.2                
This package contains a .NET Template Package you can call from the shell/command line.

WebApi Template .NET Microservice WebApi Template by Genocs

This is an WebApi Template that help you create LOB applications. It follows the Microservice Architecture and built on Domain-Driven-Design. This is a useful tool to increase productivity on developing your next microservices solution.

How to create a project

Create, build, test and run:

dotnet new install Genocs.WebApiTemplate::{version]
dotnet new gnx-webapi -n {CompanyName.ProjectName.ServiceName}
cd {CompanyName.ProjectName.ServiceName}
dotnet build src/{CompanyName.ProjectName.ServiceName}.WebApi

dotnet test
cd src/{CompanyName.ProjectName.ServiceName}.WebApi
dotnet run src/{CompanyName.ProjectName.ServiceName}.WebApi

How to build the package

To build the package run the following commands:

Official Link

cd .\src
.\nuget.exe pack -OutputDirectory nupkgs -NoDefaultExcludes -Version 1.0.{version}
dotnet new -u Genocs.WebApiTemplate
dotnet new install Genocs.WebApiTemplate.1.0.{version}.nupkg
dotnet new gnx-webapi --help
dotnet new gnx-webapi --name {CompanyName.ProjectName.ServiceName}

Sample application

Run dotnet new -i Genocs.WebApiTemplate then try the following commands.

# Complete suite of use cases.
dotnet new gnx-webapi --use-cases full

# Register account and get customer details.
dotnet new gnx-webapi --use-cases basic

# Read only use cases
dotnet new gnx-webapi --use-cases readonly

Miscellaneous

How to get the list of installed templates

dotnet new -u
dotnet --list

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
1.0.4 7,002 9/1/2023
1.0.3 1,911 7/23/2023
1.0.2 1,850 7/17/2023
1.0.1 2,045 7/17/2023
1.0.0 2,069 7/17/2023

- Relesase 1.0.0:
 Added list of events
 
- Clean Architecture Principles Documentation
- .NET Core 6.0
- Swashbuckle 5
- Entity Framework Core 5
- Enterprice Service Bus