NWheels.Template
0.1.0-0.dev.344
This is a prerelease version of NWheels.Template.
dotnet new install NWheels.Template::0.1.0-0.dev.344
This package contains a .NET Template Package you can call from the shell/command line.
NWheels microservice template
How to install
dotnet new --install NWheels.Template::0.1.0-0.dev.344
How to create microservice project
Once installed, follow these steps to create a new microservice:
- Create a new directory for the project, e.g. named MyCompany.CoolApp.SuperService
- CD to that directory
- Run
dotnet new
as follows:
Replace SuperService with the name of the service you want. This will also become the name of the executable, e.g. SuperService.exe.dotnet new nwheels --service SuperService
How to build and run the microservice
$ dotnet restore
$ dotnet build
$ dotnet run
The last dotnet run
command will print supported CLI commands of the microservice. To run as a daemon:
dotnet run -- run
To stop the microservice, press CTRL+C in the console.
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 |
---|---|---|
0.1.0-0.dev.344 | 1,947 | 10/1/2017 |