Genocs.WebApiTemplate
1.0.2
See the version list below for details.
Requires NuGet 5.10.0 or higher.
dotnet new install Genocs.WebApiTemplate::1.0.2
.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:
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.
- 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